Article How to handle Exceptions in ARM Core? Audit

Question:
How to handle Exceptions in ARM Core?

Answer:

Please find the attached sample project for handling exceptions in ARM core. This code has been tested in ADSP-SC573 Evaluation kit using CCES2.12.0. A user-defined handler function "Exception_Handler" is implemented using adi_rtl_register_dispatched_handler() API. Here a recursive function is called inside a main for simulating a stack overflow exception. When the exception occurs, the exception handler function "Exception_Handler" will be invoked.

For more information on Interrupt IDs for exceptions, navigating to the "#include <runtime\int\interrupt.h>" header file.

Exception_SC573.zip

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.