cancel
Showing results for 
Search instead for 
Did you mean: 

Method to disable Write Protection

shinnlin
Associate II
Posted on December 01, 2004 at 03:59

Method to disable Write Protection

3 REPLIES 3
shinnlin
Associate II
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

shinnlin
Associate II
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.

smartpocket
Associate II
Posted on December 01, 2004 at 03:59

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

by

smart