This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

no source available for "0x0" in eclipse

Hello,

I caused a hardfault error and triggered the HardFault_Handler in "hardfault_handler_gcc.c". But instead seeint its source, I could only see the message no source available for "0x0" in eclipse.

What went wrong ?

Best regards,

Parents
  • The interrupts handler are declared as [weak] in the startup file, which means that you can re-declare it in your application. Then e.g. make a call to the NVIC_SystemReset function to make your program reset on hardfault. But, the default behavior is to run in infinite loops, which is usefully for debugging.

    See the hardfault_implementation.cfile located in SDK_folder\components\libraries\hardfault\hardfault_implementation.c

Reply
  • The interrupts handler are declared as [weak] in the startup file, which means that you can re-declare it in your application. Then e.g. make a call to the NVIC_SystemReset function to make your program reset on hardfault. But, the default behavior is to run in infinite loops, which is usefully for debugging.

    See the hardfault_implementation.cfile located in SDK_folder\components\libraries\hardfault\hardfault_implementation.c

Children
No Data
Related