标题: [Nano130] Trace Hard Fault Cause [打印本页] 作者: admin 时间: 2022-8-19 12:14 标题: [Nano130] Trace Hard Fault Cause
Application: Find the sample code for the CPU to read the illegal address and cause the hardware hard fault
BSP Version: Nano100B Series BSP CMSIS v3.03.000
Hardware: NuTiny–EVB–NANO130_LQFP128 V1.2
When the microcontroller reads the memory through the 16-bit pointer, if the 16-bit pointer position does not meet the 2-byte alignment limit, the hardware will generate a fault and let the processor jump to the exception handler. It will demonstrate how to trace the cause of a hardware exception after a hard fault has occurred and jumped to hard fault handler.