This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.


>> 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
>> CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS?
>>
>>           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 ?

Lets try something simple. Connect to RedBoot over the serial
port. Send it a $ character. Does it crash and reboot, or does it just
go silent?

$ is the magic character that tells RedBoot to send characters to the
stub.

If it does not reboot, reboot it and send

$m0,10#2a

which i think is a valid command to read 10 bytes from address 0. Any
response or a reboot?

         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


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