- 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.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1216164651
|