EasyManua.ls Logo

NXP Semiconductors PXN2020 - 12.3.2.10 PFlash Supervisor Access Control Register (PFSACC)

NXP Semiconductors PXN2020
1376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Flash Memory Array and Control
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor 12-21
12.3.2.10 PFlash Supervisor Access Control Register (PFSACC)
SHSACC[7:4]
Shadow Block Supervisor Access Control. This bit field defines supervisor/user mode access control for each
4 KB sector within the shadow block region of the flash array.
0 Shadow block sector n can be accessed in both user and supervisor mode.
1 Shadow block sector n can be accessed only in supervisor mode. An attempted user mode access is
terminated with an AHB error response. If the requesting bus master is the processor core, the ERROR
response typically generates an instruction abort or data abort exception.
This field is mapped into the shadow block (shadow_block = 0x00FF_C000) with sector base addresses of:
SHSACC[4] = shadow_block + 0x0000
SHSACC[5] = shadow_block + 0x1000
SHSACC[6] = shadow_block + 0x2000
SHSACC[7] = shadow_block + 0x3000
This field is initialized by hardware reset to the value contained in address 0x3E00 of the shadow block of the
flash array. An erased or unprogrammed flash sets this field to 0xFF. The contents of the PFAPR are combined
with the SHSACC field to determine the final flash attributes.
SHDACC[7:4] Shadow Block Data Access Control. This bit field defines code/data access control for each 4 KByte sector
within the shadow block region of the flash array.
0 Shadow block sector n can only be accessed as data. An attempted instruction fetch access is terminated
with an AHB error response. If the requesting bus master is the processor core, the ERROR response
typically generates an instruction abort or data abort exception.
1 Shadow block sector n can be accessed as either code or data.
This field is mapped into the shadow block using the same definition as the SHSACC field above.
This field is initialized by hardware reset to the value contained in address 0x3E00 of the shadow block of the
flash array. An erased or unprogrammed flash sets this field to 0xFF.
The contents of the PFAPR are combined with the SHDACC field to determine the final flash attributes.
Offset: FLASH_REGS_BASE + 0x0028 Access: User read/write
0123456789101112131415
R0
SACC[30:16]
W
Reset0000000011111111
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R
SACC[15:0]
W
Reset1111111000001000
Figure 12-12. PFlash Supervisor Access Control Register (PFSACC)
Table 12-12. PFlash Access Protection Register (PFAPR) Field Descriptions (continued)
Field Description

Table of Contents

Related product manuals