This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Failed to connect Insight(GDB) to serial port
- From: "Stanley Zhang\(Zhang Shengqi\)" <shengqi dot zhang at cirrus dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 24 Mar 2004 18:36:03 +0800
- Subject: [ECOS] Failed to connect Insight(GDB) to serial port
Hi,everyone:
I tried to use GDB over the serial port as the following steps:
(1)configure "eCos HAL->Source-level debugging support->Include GDB stubs in HAL".
(2) set startup type "romram" ;
(3) insert a call to breakpoint() in my main function;
(4) build the program;
(5) load the binary file into target board;
(6) run insight;
(7) set the baud rate "set remotebaud 115200"
(8) set the target type "target remote /dev/ttyS0"
But i failed to connect to the target. Error information is
"Error: Couldn't establish connection to remote target Malformed response to offset query timeout"
Anyone can give me some advice to solve this problem?
Thanks a lot