cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030 Read protect

Posted on November 21, 2016 at 09:49

Hi Support,

I would like to confirm that by setting register OB->RDP = 0x11; in my source code will stop read action ONLY from being performed when using the RS232 bootloader. If i needed to do firmware updates using the RS232 bootloader in the future this is possible but i would need to erase the memory before doing a write. Can you confirm this statement is true.

Thanks
1 REPLY 1
ST Renegade
Senior
Posted on November 21, 2016 at 22:34

Hello Andrew,

you can find the details about read out protection in the STM32F030 reference manual, section 3.3.1.

In general, when you set the device into read out protection Level 1, you can't do much with the device except mass erase (+ some additional commands of the system bootloader), but no reading, writing! This applies to all system boot loaders of STM32 devices.

You can find the details about system bootloader in AN2606 and:

–

AN3154: CAN protocol used in the STM32 bootloader

–

AN3155: USART protocol used in the STM32 bootloader

–

AN3156: USB DFU protocol used in the STM32 bootloader

–

AN4221: I2C protocol used in the STM32 bootloader

–

AN4286: SPI protocol used in the STM32 bootloader

Hope my answer helps you to move forward!

Have a nice day,

Renegade