2020-04-07 11:44 PM
Hi everyone,
There is a section in Flash that I don't want to be written or erased, and I applied write protection for this section. The size of this partition is 10kB. So I set the WRP values to WRP1A_STRT = 0 and WRP1A_END = 4. Write protection worked correctly on the pages I wanted with these values. However, when I try to write from this section to another unprotected part of the flash, I always get an error and cannot write. My question is, isn't it possible for us to write to another part of the flash from a part that has write protection enabled? Or am I doing something wrong? By the way, the processor I use is STM32G474RCT6.
Thank you!