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.


On Mon, Jan 14, 2008 at 02:53:02PM +0100, Paul Chavent wrote:
> Andrew Lunn wrote:
>> 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
>>
>>
>
> Damned ! It reboots !

So look in packages/redboot/current/main.c. Put in some diag_printf()
before the HAL_THREAD_INIT_CONTEXT and HAL_THREAD_SWITCH_CONTEX calls.
Check the values of workspace_end, breakpoint, trampoline etc. 

      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]