cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Readout Protection on STM32F4 Discovery

z_
Associate
Posted on January 22, 2016 at 07:43

I cant connect my board because of readout protection is activated (Level 1) and I cant set it back to level 0 in Option Bytes menu on ST-Link Utility. How can I disable Readout Protection  please explain in an easy way.

thank you
3 REPLIES 3
Posted on January 22, 2016 at 14:50

Did you enable the readout protection? Or are you just having connectivity issues?

Try strapping BOOT[0] to VDD

Alternatively you could use the System Loader to walk the part out via the USART, I believe I've covered the technique here before.

The easy way is to provide a method in your own code to undo the protection. ie you code a method in and out

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
z_
Associate
Posted on January 23, 2016 at 09:59

it's automatic level up to 1 and i dont know why.

i tried connect Boot0 to Vdd and Boot1 to GND, USART was connected, and used flash loader demon before but it wasn't work. it cant connect to the board. 

Posted on January 23, 2016 at 18:46

Ok, lets start with the basics. Make sure you are using a good USB cable, and that you have current versions of the drivers, ST-LINK Utilities, and firmware on the ST-LINK

Try connectivity on a different USB port, a different PC, a different cable

What version of Windows are you using here.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..