Download STR7 family Flash programming
Transcript
UM0116 Flash memory protection Protection up to a maximum of 16 times. PENn can be programmed to 0 only if PDSn has been already programmed to 0. PDSn can be programmed to 0 only if PDSn-1/PENn-1 have been already programmed to 0. Note: You can not permanently unprotect a write protected sector. 3.4 Register description 3.4.1 Flash non volatile write protection register (FLASH_NVWPAR) Address offset: 0x10 DFB0h Delivery value: 0xFFFF FFFF 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 W1P[1:0]1) Reserved rw 15 14 13 12 11 10 9 8 7 6 Reserved 5 4 3 2 1 0 W0P[7:0] rw 1) Not available in STR73x. Bit 31:18 Reserved, must be kept at reset value (1). Bit 17-16 W1P1-0: Write Protection Bank 1 sectors 1-0. These bits, if programmed to 0, disable any writes to the sectors of bank 1. The sectors corresponding to bits set to ‘0’ are Write protected. Bit 15:8 Reserved, must be kept at reset value (1). Bit 7:0 W0P(7:0): Write Protection Bank 0 sectors 7-0. These bits, if programmed to 0, disable any writes to the respective sectors of bank 0. The sectors corresponding to bits set to ‘0’ are Write protected. 21/27