The access permission of each region is configurable and defined through the MRM_PERMISSION_REGION_HIGH_j and MRM_PERMISSION_REGION_LOW_j registers (see Section 14.2.3.7.3.2, L3_MAIN Firewall Registers Overview).
Master NIU permissions:
- To give read access to the master NIU with 4-bit ConnID = n(1), set the MRM_PERMISSION_REGION_HIGH_j[n × 2] R bit.
- To give write access to the master NIU with 4-bit ConnID = n(1), set the MRM_PERMISSION_REGION_HIGH_j[n × 2 + 1] W bit.
(1) - n should be first converted from hex to decimal value
Debug permissions:
- To give privilege debug access, set the MRM_PERMISSION_REGION_LOW_j[15] DEBUG bit.
- To give user debug access, set the MRM_PERMISSION_REGION_LOW_j[14] DEBUG bit.
User, read, write, and executable permissions:
- To give privileged read access, set the MRM_PERMISSION_REGION_LOW_j[11] READ bit.
- To give privileged write access, set the MRM_PERMISSION_REGION_LOW_j[10] WRITE bit.
- To give privileged executable access, set the MRM_PERMISSION_REGION_LOW_j[9] EXE bit.
- To give user read access, set the MRM_PERMISSION_REGION_LOW_j[8] READ bit.
- To give user write access, set the MRM_PERMISSION_REGION_LOW_j[7] WRITE bit.
- To give user executable access, set the MRM_PERMISSION_REGION_LOW_j[6] EXE bit.
Example: To provide debug write privilege access to the master NIU with 4-bit ConnID = 0x7, set the following bits: