Firewall Exception Log Example
Introduction
Firewall exceptions occur when an initiator tries to access memory locations which are firewalled against access from it. Whenever firewall exceptions take place, corrsponding interrupt for various cores are asserted. This example demonstrates how to handle firewall exceptions.
Supported Combinations
Parameter |
Value |
|---|---|
CPU + OS |
wkup-r5fss0-0 freertos |
Toolchain |
ti-arm-clang |
Boards |
am62px-sk |
Example folder |
examples/security/fwl_exception_trigger |
Steps to Run the Example
When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
Launch a CCS debug session and run the executable, see CCS Launch, Load and Run
Sample Output
Shown below is a sample output when the application is run,
FWL Exception logging example!
Registered handler for DMSC firewall exception interrupt!
Registered handler for CMBN firewall exception!
Waiting for DMSC firewall exceptions...
Waiting for CMBN firewall exceptions...
Combined Firewall Exception Occured!! Check TIFS logs for more details
Combined Firewall Exception Occured!! Check TIFS logs for more details
All tests have passed!!