Hello,
currently we are still updating to SDK 08.06 and I noticed that there was a rename in the abort-handlers from HwiP_data_abort_handler to HwiP_data_abort_handler_c.
I also saw the reason for this but did not quite completely understand. The abort_handlers asm-file now has a assembly-routine before and after calling HwiP_data_abort_handler_c. If I understood that right, this routine makes sure the -8 or -6 (thumb) is applied on the LR-register, like it is written in the arm-documentation.
We previously used our own abort-handlers in simply overwriting the ones in the SDK. Since this change was included I would say I just rename our abort-function to "HwiP_data_abort_handler_c" also and make sure it is linked.
Inside the abort-handlers I copied out LR and SP and stored them inside a NOINIT RAM-section to get the values after a warm reset. Do I need to care about something new now? As I understood the assembly is in thumb mode (at least according to the makefile compile-flags), that's why a -6 is applied to the LR I guess. Our abort-handler itself is not compiled in thumb. Could this bear some problems?
Best regards
Felix