A region of flash DATA bank can be
configured for read-write protection - either reads or writes or both types of accesses
can be blocked. CPU, DMA and debugger accesses are all treated the same way. This is
configured by writing to the SYSCTL.SECCFG.FWPROTMAINDATA register. Only the first 4KB
of the DATA bank can be protected at a sector (1KB) granularity. Each sector can be
configured as below:
- 0b00: Both Read/Write allowed.
- 0b01: Read Only.
- 0b10: No Read No Write.
- 0b11: No Read No Write - Not Used.
Table 5-1 FWPROTMAINDATA Field Descriptions
| Bit |
Field |
Type |
Reset |
Description |
| 31-8 |
RESERVED |
R |
0h |
|
| 7-6 |
DATA |
R/W |
0h |
Sector 3 protection configuration |
| 5-4 |
DATA |
R/W |
0h |
Sector 2 protection configuration |
| 3-2 |
DATA |
R/W |
0h |
Sector 1 protection configuration |
| 1-0 |
DATA |
R/W |
0h |
Sector 0 protection configuration |