SLAU723A October 2017 – October 2018 MSP432E401Y , MSP432E411Y
Flash Memory Protection Program Enable 0 (FMPPE0), offset 0x400
Flash Memory Protection Program Enable 1 (FMPPE1), offset 0x404
Flash Memory Protection Program Enable 2 (FMPPE2), offset 0x408
Flash Memory Protection Program Enable 3 (FMPPE3), offset 0x40C
Flash Memory Protection Program Enable 4 (FMPPE4), offset 0x410
Flash Memory Protection Program Enable 5 (FMPPE5), offset 0x414
Flash Memory Protection Program Enable 6 (FMPPE6), offset 0x418
Flash Memory Protection Program Enable 7 (FMPPE7), offset 0x41C
Flash Memory Protection Program Enable 8 (FMPPE8), offset 0x420
Flash Memory Protection Program Enable 9 (FMPPE9), offset 0x424
Flash Memory Protection Program Enable 10 (FMPPE10), offset 0x428
Flash Memory Protection Program Enable 11 (FMPPE11), offset 0x42C
Flash Memory Protection Program Enable 12 (FMPPE12), offset 0x430
Flash Memory Protection Program Enable 13 (FMPPE13), offset 0x434
Flash Memory Protection Program Enable 14 (FMPPE14), offset 0x438
Flash Memory Protection Program Enable 15 (FMPPE15), offset 0x43C
This register stores the execute-only protection bits for each 2KB flash block (FMPREn stores the read-only protection bits). Since the memory is two-way interleaved and each bank individually is an 8KB sector, read-only protection must occur across a block size of 16KB. No smaller block size is supported. Note that the Flash Memory Protection Read (FMPREn) registers do allow read-protection of a block as small as 2KB, unlike the FMPPEn registers.
Thus, in order to execute-only protect a 16KB block, a user must program the entire eight bits of the byte to the same value. For example, to protect the first 16KB block, bits [7:0] of the FMPPE0 register need to be cleared to all 0s.
This register is loaded during the power-on reset sequence. The factory settings for the FMPREn and FMPPEn registers are a value of 1 for all implemented banks. This achieves a policy of open access and programmability. This register is RW0; the user can only change the protection byte from all 1s to all 0s (and may NOT change from all 0 to all 1). The changes are not permanent until the register is committed (saved), at which point the byte change is permanent. If a byte is changed from all 1s to all 0s and not committed, it may be restored by executing a power-on reset sequence. The reset value shown only applies to power-on reset; any other type of reset does not affect this register. Once committed, the only way to restore the factory default value of this register is to perform the "Recover Locked Device" sequence detailed in the JTAG chapter. For additional information, see Section 7.2.3.4.
Each FMPPEn register controls a 64K block. For additional information, see Section 7.2.3.4.
FMPPE is shown in Figure 7-46 and described in Table 7-48.
Return to Summary Table.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PROG_ENABLE | |||||||||||||||||||||||||||||||
R/W-0xFFFFFFFF | |||||||||||||||||||||||||||||||