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]
Other format: [Raw text]

Re: Debugging using serial port


Nikhil R. wrote:
Hi All,

We tried to debug an application thru the serial cable. We connected our
i386-pc target's COM1 to our Linux host's COM1(/dev/ttyS0).

We have used i386-elf-gdb. We ran the commands:
(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0

Remote debugging using /dev/ttyS0
Remote packet too long: ..  |
Ethernet recv:
000246FC: FF FF FF FF FF FF 00 09  6B C4 05 FE 08 00        |........k.....
[snip]

Is this a newly built redboot? You presumably have some eth driver included either in redboot or the application - which eth driver?

Does redboot work fine over the net normally?

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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