Question
How to protect one flash memory page from being erase during jtag programming?
Hello,
In a previous post I request how to reserved a memory area to store user parameters (like INFO memory inside MSP340 devices):
ST members suggested me to use the flash memory. This is ok but how can I prevent this memory area from being erased when I reprogram the STM32L4xx? (I use Atollic TrueStudio)
These parameter area contains :
- PCB unique number: must never be erased even if reprogramming operation
- application parameters: can be changed by uart application but not during reprogramming operation (no OTP area)
Do you have suggestions?
Best regards
Michel
