Part Number: AM2612
Tool/software:
Hi experts,
For the AM2612, is there a method to identify the corresponding illegal memory value when a software exception occurs, such as accessing an illegal memory address?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: AM2612
Tool/software:
Hi experts,
For the AM2612, is there a method to identify the corresponding illegal memory value when a software exception occurs, such as accessing an illegal memory address?
Hi,
This is certainly possible, fully depends on the exception type (prefetch abort, data abort etc) and on what you want to do with the information. For an example on data abort adress, I'd recommend having a look at function 'HwiP_data_abort_handler_c' in your SDK in location: C:\xxx\mcu_plus_sdk_am263px_10_01_00_31\source\kernel\freertos\dpl\r5\HwiP_armv7r_handlers_freertos.c. This shows example for a data abort.

For more info on exception handling, I'd recommend this post: [FAQ] TMS570LC4357: Troubleshooting the Abort Exceptions on Hercules Devices