This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Port to XScale board
- To: Gary Thomas <gthomas at redhat dot com>
- Subject: RE: [ECOS] Port to XScale board
- From: Cristiano Ligieri Pereira <cpereira at ics dot uci dot edu>
- Date: Sun, 19 Aug 2001 15:29:46 -0700 (PDT)
- cc: ecos-discuss at sourceware dot cygnus dot com
> First of all, you can load programs using RedBoot's "load" command as
> well.
When I use the 'load' command, how should I proceed? I'm using 'kermit' as
my terminal. After issuing 'load', I should close the connection and
transmit the file? I tried this but it didn't work. I have only one serial
port on the board.
> Try turning on GDB's remote debug facility which will display something
> about what's going on on the communications line. Note: it will be running
> at the same speed that RedBoot was using, most likely 38400 unless you've
> set it up to run otherwise.
That's all I get with the debug messages:
[
r <Timeout: 2 seconds>][<Timeout: 2 seconds>][<Timeout: 2
seconds>][<Timeout: 2 seconds>][<Timeout: 2 seconds>][<Timeout: 2
seconds>][<Timeout: 2 seconds>]Ignoring packet error, continuing...
[<Timeout: 2 seconds>][<Timeout: 2 seconds>][<Timeout: 2
seconds>][<Timeout: 2 seconds>][<Timeout: 2 seconds>][<Timeout: 2
seconds>][<Timeout: 2 seconds>]Ignoring packet error, continuing...
[<Timeout: 2 seconds>][<Timeout: 2 seconds>][<Timeout: 2
seconds>][<Timeout: 2 seconds>][<Timeout: 2 seconds>][<Timeout: 2
seconds>][<Timeout: 2 seconds>]Ignoring packet error, continuing...
target_terminal_ours ()
Couldn't establish connection to remote target
Malformed response to offset query, timeout
target_close (0)
gdb_config:5: Error in sourced command file:
You can't do that when your target is `exec'
It's timing out! I'm setting the baud rate to the proper value - 57600 -
(in the GDB prompt) before trying to download the file.
Thanks,
Cristiano.