Re: redboot on STM3240G-EVAL board

Oleg Uzenkov <[email protected]> Wed, 15 Oct 2014 14:50:32 +0300
Newsgroups gmane.os.ecos.general
Message-ID <[email protected]>
Hi Everyone,

>
> For binaries you have to know the first LMA address (rom_vectors
> address) to specify that address on a command line.
>
> For binary image
>
>    load -m x -r -b <LMA>
>    fis create -b <LMA> <name>
Please, let me know what do you think of this:

1) I have built app.elf and app.bin for *RAM* startup 
(SECTION_rom_vectors: LMA == 0x64008000 )
(memory layout is mlt_cortexm_stm32x0g_eval_ram.ldi)

2) I can successfuly run app.elf under redboot (i.e. >load -m x; >go)

3) When I load app.bin like this:
 >load -m x -r -b 0x64008000
 >go 0x64008000
or
 >go

I get rubbish ($T080f:00800064;0d:e8cf1b64;)
(i also tried to create fis and load and run image from fis, same 
result, i.e. >fis create -b 0x64008000 app; >fis load app; >go)

any ideas where I am wrong?

Did anyone manage to execute .bin file from Redboot?

Thanks.
Oleg




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