[Nano130] Trace Hard Fault Cause

Post Reply
chhsieh3
Posts: 271
Joined: 13 Mar 2020, 09:08

05 May 2020, 14:26

  • 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
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest