This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: load problems
On Tue, Jul 19, 2005 at 04:51:10PM +0100, Matt Sartori wrote:
> Hi all,
>
> I am in the middle of porting Redboot/eCos to an STR71X board and have
> reached the point where I have the basic console working on the board, I
> can examine memory, etc. I am now attempting to load something
> (anything) into RAM on the board, using the command
>
> Load -m ymodem -r -b 0x20004000 test.txt
>
> but I am getting the error message
> "Specified address (0x20004000) is not believed to be in RAM - continue
> (y/n)?"
> This is confounding as it is, and if I choose yes it only ever
> successfully transfers the first packet (confirmed by subsequently doing
> a memory dump of the memory that was written to).
> The xxx_rom.h/xxx_rom.ldi correctly define the memory locations for the
> platform (RAM at 0x20000000, size 0x10000 and ROM at 0x40000000, size
> 0x40000).
> The diag output on reset is
>
> +
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version UNKNOWN - built 14:42:08, Jul 19 2005
>
> Platform: STM STR7X/STR710FZ2 (ARM7TDMI-S)
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>
> RAM: 0x20000000-0x20010000, [0x20006b88-0x20004000] available
^^^^^^^^^^^^^^^^^^^^^^
Take a closer look. The start is supposed to be below the end!
Take a look at cyg_start in redboot/current/src/main.c. Something is
wrong with your workspace_end.
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