cancel
Showing results for 
Search instead for 
Did you mean: 

Using flash Sector 0 for application memory

Sam V
Associate II
Posted on January 23, 2017 at 23:54

I have been trying to use Sector 0 on the STM32F415 chip to allow me to only consume 16K of the memory as I don't even need to persist half of that. 

Unfortunately, even after setting Vector offset (and testing if FLASH offset helped), I can only run my program in DEBUG mode. For some reason, debug works as expected, but the second I try to run it on its own (just flashing to the board) it gets hung up somewhere and ST-LINK Utility says that it is halted and cannot be ran.

I can solve my issue by using Sector-11, but that consumes a whopping 128K whereas 16K is already way more than I need, and I cannot use the EEPROM due to being given a board that cannot have hardware modifications.

Any help would be appreciated!

#flash #vector-offset
22 REPLIES 22
Posted on January 27, 2017 at 22:52

On the forum here somewhere.. I'd have to mine through the old/ported content.. Search on 'CAN Filter/Filtering'

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 27, 2017 at 23:00

https://community.st.com/0D50X00009XkfSlSAJ

 

This is a concise one, but there are others predating that

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 27, 2017 at 23:21

https://community.st.com/0D50X00009Xkb6ySAB

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..