Hello,
I am dealing with some faults on an ARM Cortex-A8 chip on Beaglebone Black (the faults are expected to happen, I'm running some tests that intentionally fault the processor). However, I am interested in writing/using a fault handler to catch and handle these faults and continue processing, rather than the entire system getting hung up.
I have found a number of articles referring to writing fault handlers for ARM Cortex-M chips, like the one below. However, I have been unable to find any articles or guidance on how to compose fault handler(s) for ARM Cortex-A chips. Is there assistance or references on how to go about doing this? Can it be done in a manner similar to those written for a Cortex-M chip? Thanks so much for any help you can offer.
Cortex-M Example Link: https://blog.feabhas.com/2013/02/developing-a-generic-hard-fault-handler-for-arm-cortex-m3cortex-m4/
Check: DEN0013D (cortex_a_series_PG)
There are some examples in armDS installed directory, you might download the the armDS and find the’ ‘startup_Cortex-A8‘ example. https://developer.arm.com/tools-and-software/embedded/arm-development-studio