2019-11-07 01:34 AM
Hello,
i am going through the the technical reference manual of STM32L4R5 and i am bit confused about the Flash Protection feature, specifically write protection feature.
my product requirement is to avoid the modification of my executable ( bootloader ) once it is programmed in internal flash memory. so once bootloader is program in internal flash memory, it must not be overwritten, and that address space ( first 2 sector of internal flash memory ) must not be written and must be locked.
by going through the tech reference manual, i could not understand, if stm32l4r5, provides this kind feature, where an address space is marked as locked for write modification permanently.
section 3.5.3 WRP of manual tells about write protection where user can protect particular flash address against any unwanted write, but it seems it is not permanent and it can be reversed.
do anyone have any idea on above use case? your inputs are greatly appreciated.