cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F1 - Writing pages 0-3 when readout protection enabled.

slawek
Associate III
Posted on July 22, 2013 at 22:23

I would like to write pages 0-3 when I have enabled readout protection and not to loose other pages in mean time. Is there any possibility to do it?

#readout-protection #read-write-protection
2 REPLIES 2
Nickname12657_O
Associate III
Posted on July 23, 2013 at 23:23

This is not possible when Read Out protection is active. the 4 Kbytes of the memory : 4 pages for low and medium densities and 2 pages for high, connectivity and XL densities, are automatically write protected by hardware and there is no means to change their contents.The purpose of this feature, is to protect the user bootloade code which is put by default in the first pages to be overwritten by a malicieus application code and then read back the remaining contents of the flash.

Cheers,

STOne-32

slawek
Associate III
Posted on July 26, 2013 at 12:37

Thank you for the response. In that case I did small bootcode to omit those first pages and keep functionality :).