[ECOS] Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.

Paul Chavent paul.chavent@free.fr
Sun Jan 13 08:18:00 GMT 2008

Andrew Lunn wrote:
> On Sat, Jan 12, 2008 at 11:52:34PM +0100, Paul Chavent wrote:
>> Hello.
>> I try to use redboot on a Game Boy Advance (arm). I use the latest release of ecos found on cvs with my own hal.
>> When i try to use gdb for running the twothreads example i have the following problem in gdb :
>> 8<----------------------------------------------------------
>> # arm-thumb-elf-gdb twothreads
>> GNU gdb 6.7.1
>> Copyright (C) 2007 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-thumb-elf"...
>> (gdb) set remotebaud 57600
>> (gdb) set debug remote 1
>> (gdb) set debug serial 1
>> (gdb) target remote /dev/ttyUSB0
>> Remote debugging using /dev/ttyUSB0
>> Sending packet: $qSupported#37...[
> The $ here should of made RedBoot drop into GDB stub mode. But it
> looks like it did not happen.
> Does your redboot image actually contain the GDB stub? RAM images
> generally don't have a GDB stub, ROM images do. However you can
> configure this either way... What is the value of
>           Andrew

Yes this value is 1. I attach the ecm.

It seems that my target reboot when i send the target remote command. Is it normal ?

Thank you.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: redboot.ecm
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20080113/9ebb8fea/attachment.ksh>
-------------- next part --------------
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