Memory writing problem of STM32L452RE
Hello fellow seniors:
I am still in the learning stage and currently use the part of writing to the memory (Flash Memory). I have encountered a problem and would like to ask for advice:
From the picture (instruction manual) of [[Figure 1]], we can see that the blocks that can be written in the memory are 0x08000000~0x08080000
For the following questions, please refer to [https://youtu.be/iMChxrvMNG0]
Because I opened the memory to see that some user variables used the previous memory. I was afraid of being overwritten and changed it to 0x8020000 to start writing. However, after writing, I found that the memory will be cleared as long as it is restarted. Have you tried it? I tried to set the Initial break point, but found that it will be cleared as soon as the computer is turned on.
If it is written to 0x0807F800 (the last segment), the memory will not be cleared. However, I looked through the manual and did not see which memory block will be used by the system. I would like to ask why this is?
