This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

eCos PCI problem and NEC vrc4373 build option.


> Jonathan Larmour wrote:
> >
> > I will send you the executable by private mail to see if it works on
your
> > board.
>
> Attached, gzipped. I kept the debug info in case it's useful, although the
> path names will be wrong of course.
>

Your code works pretty fine on my board. I remember I have something might
be different in my configuration. I usually can not straight forward use the
code generated by "ecosconfig new vrc4373", I usually modify two things, one
is to delete the "-O2" option for compiler, another is to set both the
serial port drive baud rate to 38400b/s. If I don't delete the -O2 option,
the gdb usually hang there after I type "cont" after successfully download
the code. This problem has been reported by Charles on this list, his work
around solution is not to optimize the code, I follow the suggestion and it
works. I tried several NEC board, the result is the same, I must delete
the -O2 option every time. Jifl, do you apply this usually? or everything
just works fine for your board? I think this option might bring some
differences for our pci1.exe code. But anyway, yours code just works fine on
my board, probably my toolchain is not as good as yours. :) I use
binutils2.10 and egcs20000313 snapshot, insight 5.0. (I follow Charles
suggestion on this list actually.), I am not sure if his pci test program
works fine or not.

Any good suggestion? Please kindly let me know. I will be grateful!

Regards,
-Ling


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]