This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: STM32, RedBoot and memory
Hi Carlo
Carlo Caione wrote:
> I configured again RedBoot disabling both CYGOPT_REDBOOT_FIS_REDBOOT and
> CYGOPT_REDBOOT_FIS_REDBOOT_POST, and it seems ok...
> Now I have:
>
> RedBoot> fis list
> Name FLASH addr Mem addr Length Entry point
> FIS directory 0x64FE0000 0x64FE0000 0x0001F000 0x00000000
> RedBoot config 0x64FFF000 0x64FFF000 0x00001000 0x00000000
>
> RedBoot> fis free
> 0x08000000 .. 0x0805FFFF
> 0x64000000 .. 0x64FDFFFF
>
> The only problem is that the available free space from 0x08000000 to 0x0805FFFF
> does not consider the RedBoot bootloader (that is in 0x08000000).
Ahh, yes. You will also need to inhibit management of the internal flash
by enabling CYGNUM_REDBOOT_FLASH_RESERVED_DEVICES with value "0x08000000".
If you can confirm correct behaviour with this additional configuration
change, I will update redboot_ROM.ecm accordingly.
John Dallaway
eCos maintainer
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss