This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

xrdc2

Overview

The xrdc2 example shows how to control the memory slot, memory region, and peripheral access policy using XRDC2.

In this example, the memory slot, memory region, and peripheral are set to unaccessible. Then access to them triggers hardfault or bus fault. In the exception handler, theses resources are set to accessible, then the previous access continues and success.

Supported Boards