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]

Re: DBG Serial Init Problem with MBX based code


>>>>> "Ross" == Ross Wightman <rpw@velvet.microplex.com> writes:

Ross> Yup, it worked. The serial port gets initialized and GDB can
Ross> communicate with the board. Now I'm having issues loading
Ross> programs onto the board. No matter what baud rate I use (even
Ross> slowing it to 9600) the program download process downloads the
Ross> vectors at a good rate, then when it gets to .text the download
Ross> goes up in increments of 512bytes about every 30 seconds with
Ross> lots of packet error warnings in the gdb console. Sigh, the fun
Ross> never ceases.

Thanks, committed.

Sorry, no idea about the other problem. But try to force ASCII
download and enable debugging so you can see what's happening on the
line:

(gdb) set remotebinarydownload 0
(gdb) set remotedebug 1

If you see nothing weird, it could be a problem with the cable or the
board/PC connectors.

Also, you may want to try running GDB in CLI-mode (use -nx when
starting it) to see if that might make a difference (stranger things
have happened).

Jesper

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