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

No source available for " " in debug mode

im following (devzone.nordicsemi.com/.../) step to "Setting up a project for debugging in Eclipse"

i run the debug config and click suspend then get some problems

it shows

  • No source available for "HardFault_Handler() at 0x456"
  • No source available for "() at 0xfffffff9"
  • No source available for "__Vectors() at 0x0"

image description

how to solve it?

Parents
  • well no, ending up in the hardfault handler is not fine - it means basically that you crashed. However the entire source of the hardfault handler is that piece of assembler on the right hand side which does nothing but branch to itself forever. You don't need to fix the 'source' for the hardfault handler, but you do need to work out why you are there.

    You're not debugging bluetooth code, ie stuff where bluetooth is running, by trying to break and then resume are you, that won't work (although it doesn't usually hardfaul, it just stops in the softdevice)

Reply
  • well no, ending up in the hardfault handler is not fine - it means basically that you crashed. However the entire source of the hardfault handler is that piece of assembler on the right hand side which does nothing but branch to itself forever. You don't need to fix the 'source' for the hardfault handler, but you do need to work out why you are there.

    You're not debugging bluetooth code, ie stuff where bluetooth is running, by trying to break and then resume are you, that won't work (although it doesn't usually hardfaul, it just stops in the softdevice)

Children
No Data
Related