AnsweredAssumed Answered

Data in flash memory

Question asked by massimi.federico.001 on Mar 14, 2017
Latest reply on Mar 14, 2017 by Clive One

Good morning,
   I'm working on a project with a STM32L476RGT6.
I need to save data in the internal flash memory, I just have to memorize some words and I would use one of the last sectors of memory.
What I want to know is how can I be sure that location is not occupied by the code? is there a way to set the compiler to not use certain memory locations for code and reserve it for the data? there are locations dedicated to data in which the compiler will never put code?

Thanks in advance.
Federico.

Outcomes