anchao opened a new pull request #4957:
URL: https://github.com/apache/incubator-nuttx/pull/4957


   ## Summary
   
   cortex-m/hardfault: add bus-fault handler
   cortex-m/hardfault: add usage-fault handler
   cortex-m/hardfault: enhance the dump information of mem/hard-fault
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ```
   [ EMERG] [ap] arm_usagefault: PANIC!!! Usage Fault:
   [ EMERG] [ap] arm_usagefault:       IRQ: 6 regs: 0x3c321a78
   [ EMERG] [ap] arm_usagefault:       BASEPRI: 000000e0 PRIMASK: 00000000 
IPSR: 00000006 CONTROL: 00000004
   [ EMERG] [ap] arm_usagefault:       CFSR: 01000000 HFSR: 00000000 DFSR: 
00000000 BFAR: 40181000 AFSR: 00000000
   [ EMERG] [ap] arm_usagefault: Usage Fault Reason:
   [ EMERG] [ap] arm_usagefault:       Unaligned access
   [ EMERG] [ap] up_assert: Assertion failed at file:armv8-m/arm_usagefault.c 
line: 113 task: init
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to