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: STM32, RedBoot and memory


Hi Carlo

Carlo Caione wrote:

> I have successfully installed RedBoot on the STM3210E EVAL Platform,
> using ROM as startup type.
> According to this discussion here: 
> http://www.mail-archive.com/ecos-discuss@ecos.sourceware.org/msg10335.html
> RedBoot is installed in internal flash at 0x8000000.
> The problem is that the result of _fis list_ in RedBoot is:
> 
> RedBoot> fis list
> Name              FLASH addr  Mem addr    Length      Entry point
> RedBoot           0x64000000  0x64000000  0x00020000  0x00000000
> FIS directory     0x64FE0000  0x64FE0000  0x0001F000  0x00000000
> RedBoot config    0x64FFF000  0x64FFF000  0x00001000  0x00000000
> RedBoot>
> 
> and
> 
> RedBoot> fis free
>   0x08000000 .. 0x0807FFFF
>   0x64020000 .. 0x64FDFFFF
> RedBoot> 
> 
> This means that RedBoot is installed in external flash at 0x64000000 and
> not in 0x8000000. This is quite strange since to install RedBoot I use
> the flash demonstrator program by ST that was instructed to write the
> redboot.bin file at location 0x8000000 and not in external flash.
> 
> My problem is: where is actually RedBoot? In internal flash 0x8000000 or
> external flash 0x64000000?
> And how can I manage to install RedBoot in internal flash?

RedBoot executes from the internal Flash on STM3210E-EVAL. The "RedBoot"
entry in the FIS directory is bogus. Try configuring RedBoot with
CYGOPT_REDBOOT_FIS_REDBOOT disabled and rebuilding.

Please let us know whether this resolves the issue for you.

John Dallaway
eCos maintainers

-- 
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]