cancel
Showing results for 
Search instead for 
Did you mean: 

RAM data xfer from bootloader to app

mykola
Associate II
Posted on November 06, 2008 at 21:57

RAM data xfer from bootloader to app

1 REPLY 1
mykola
Associate II
Posted on May 17, 2011 at 09:56

Hi,

I need to be able to transfer some data from bootloader to application (on STR912FAW44). Is this possible to do via RAM? That is, can I define an absolute RAM address that will be available in both bootloader and application?

I would prefer not to create a custom linker file. Also, it is safe to assume that I am not hitting the limits of memory, so I can use the ''top of a memory location''.

Background: On bootup, the bootloader can see both flash banks (as expected), but once the application is started, it cannot see the boot bank. This is a deliberate policy to guarantee a restart on an unexpected event (both banks need to be at address 0 to cope with a restart, so I need to disable the boot bank when running application).

regards,

Mykola