AnsweredAssumed Answered

Using flash Sector 0 for application memory

Question asked by Voss.Sam.001 on Jan 23, 2017
Latest reply on Jan 27, 2017 by Clive One

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!

Outcomes