cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ''boot from SRAM'' ?

knielsen
Associate II
Posted on August 23, 2015 at 09:12

Some STM32 MCUs have the ability to boot from SRAM. Eg STM32L4x6, pulling BOOT0 and BOOT1 high, the MCU will boot from SRAM1 mapped at address 0x00000000.

Does anyone know what the use-cases for this are? The SRAM should be blank after a power-reset, so how can the device ever come up in such a configuration?

I can think of maybe having external circuitry to control BOOT0/BOOT1, or of loading the SRAM via a debugger at power-on, but I still cannot really think of an application where this would be useful?
2 REPLIES 2
Posted on August 23, 2015 at 10:22

I suspect one of the primary drivers would be production testing, and then firmware update where the entire part is erased and secured.

Debugging, and bootstrapping off external memory.

Is it important to understand how you might use it, or that it opens up some opportunities for others sufficient? 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
knielsen
Associate II
Posted on August 23, 2015 at 10:59

Thanks. It is not important, just curiosity.