[ECOS] GDB Problem

Andrew Lunn andrew@lunn.ch
Tue Nov 1 07:47:00 GMT 2005


On Mon, Oct 31, 2005 at 09:58:12PM -0800, Henry Yu wrote:
> Andrew
>     Thank you so much for taking the time to reply me, follow you direction, I use serial port to connect boards, in gdb mode I type:
> "(gdb) set remotebaud 115200"
> "(gdb) target remote com1"
> but some error show me:
> "Remote debugging using com1"
> "couldn't establish connection to remote target"
> "cannot access memory at address 0xcca7cd2a"

Does your serial cable work OK? 

try doing

set remotedebug on

and see if there is any communication between the host and the target.

        Andrew

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



More information about the Ecos-discuss mailing list