I am not expert on Cortex-M3. I recently test the memory handle
using mbed LPC1768. It is strange that the debugger cannot jump into
the hardfault_handler function. But the exceptional code execuated
when it run in non-debug mode.
The code was exported from mbed online compiler and then opened by
Keil uvision 5. I rewrite the HardFault_Handler function to capture
an exception. The debugger is set as CMSIS-DAP. When I compile the
code and load to the chip. It will flash LEDs after fe
↧