Skip to main content
Visitor II
December 1, 2004
Question

Method to disable Write Protection

  • December 1, 2004
  • 3 replies
  • 956 views
Posted on December 01, 2004 at 03:59

Method to disable Write Protection

    This topic has been closed for replies.

    3 replies

    shinnlinAuthor
    Visitor II
    November 30, 2004
    Posted on November 30, 2004 at 06:17

    Flash Write Protection can be disabled temporarily or permanently.

    Is the following the right way to do that ?

    Temporarily:

    Just set the WyRx of FNVWPAR to 1.

    Permanently:

    use FLASH_WritePrConfig() to disable

    shinnlinAuthor
    Visitor II
    November 30, 2004
    Posted on November 30, 2004 at 22:04

    As Reference Manual v4.0 page 64 states :

    2.5.0.3 Temporary Unprotection

    The Flash module enables to temporary unprotect a protected sector (write protect), or protected resources (debug access protect).

    A write protected sector can be temporarily unprotected by executing the set protection

    operation and writing 1 in the associated WyPx bits of FLASH_NVWPAR.

    Visitor II
    December 1, 2004
    Posted on December 01, 2004 at 03:59

    NOTE: temporariliy unprotect is possible only executing from FLASH. . . .

    by

    smart