Skip to main content
wywrotj
Associate II
February 23, 2009
Question

Flash readout protection...

  • February 23, 2009
  • 4 replies
  • 3478 views
Posted on February 23, 2009 at 07:26

Flash readout protection...

    This topic has been closed for replies.

    4 replies

    wywrotj
    wywrotjAuthor
    Associate II
    May 17, 2011
    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!!

    Steve H
    Associate III
    January 12, 2018
    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.

    Tesla DeLorean
    Guru
    January 12, 2018
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..