13.5 IDAU Programmable Regions
Enter a short description of your topic here (optional).
A Programmable region is considered secure or non-secure (i.e. exempt) based on a user programmable security attribute. Bus requests to an address that falls within a programmable region are rejected with a slave bus error under the following condition
• request is non-secure (NONSEC=1) and the region is programmed as secure RSTATUSBn.NONSEC= 0.
All other combinations are accepted.
For this type of region, the RSTATUSAn.Type=2 and RSTATUSBn.NONSEC reflects the security state of the region, where n is a value between from 1 to STATUS.NBRG. The lower address of the region is given by RSTATUSAn.ADDR[31:10] * 210 and the upper address by RSTATUSAn.ADDR[31:10] * 210 + 2RSTATUSAn.SIZE - 1, when RSTATUSAn.SIZE is greater than 0.
Program the security state through the RCTRL register by issuing the NONSEC or SEC command. This region is only active when CTRLA.ENABLE=1, otherwise it is treated as an exempt address range.