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