cancel
Showing results for 
Search instead for 
Did you mean: 

Flash readout protection...

wywrotj
Associate II
Posted on February 23, 2009 at 07:26

Flash readout protection...

4 REPLIES 4
wywrotj
Associate II
Posted on May 17, 2011 at 13:04

Hi everyone.

Could you give some example of proper read protection enable/disable operations.

I need to enable/disable this protection from my code.

Regards!!

Posted on January 12, 2018 at 17:32

You can enable RDP from within your code by writing to the option bytes (see the Flash Programming Manual for your MCU series for the bit assignments.)

As for DISabling RDP, 'fuggedabouddit.' Transitioning from RDP 1 to RDP 0 mass-erases the flash by design. Transitioning from RDP 2 to RDP 1 or 0 is supposed to be impossible, it's a one-way trip that permanently disables JTAG.

Posted on January 12, 2018 at 18:11

A post from 9 years ago likely refers to the F1 implementation, where RDP 2 doesn't exist, and JTAG isn't locked.

The 7 year date of the second post reflects the date the forum previously melted down, the top level post date reflects the true age. Can we please not resurrect zombie threads unless there is some strong reason to do so.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 12, 2018 at 18:24

Sorry about that; I saw a very recent post on F1 RDP vulnerabilities, and didn't notice the year on this posting.