[ECOS] RedBoot load problem

Jonathan Larmour jifl@eCosCentric.com
Fri May 23 01:00:00 GMT 2003


Martin Schoeberl wrote:
>>
>>The problem has changed: I enabled 'Validate RAM addresses duringload' for
>>RedBoot and got the message:
>>*** Abort! Attempt to load S-record to address: 0x00108000, which is not
> 
> in
> 
>>RAM
>>
>>version shows:
>>RAM: 0x00000000-0x000a0000, 0x0008ab30-0x000a0000 available
>>
>>But the pc has 24MB of ram. How can I change this that RedBoot recognizes
>>ram above 0x100000.

There's an outstanding bug that RedBoot can't deal with non-contiguous 
RAM. That's the only reason the validate RAM option even exists.

As you can see with the redboot .ecm files in the PC target, the option to 
validate RAM addresses is disabled for the PC for exactly this reason.

> Half a solution:
> I disabled 'validate RAM...' again and tried a different PC -> it works.
> Tried GDB -> also OK
> switched back to my old 486SX and loaded the program with GDB -> also OK!!!
> 
> What's the difference from downloading with hyperterm and with gdb?

With GDB it never checks the RAM addresses - it tries it and sees if the 
write works. Also GDB uses an entirely separate protocol.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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



More information about the Ecos-discuss mailing list