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

Application won't run, unable debug

Hi, I'm unable to run any application on nrf51 DK (Keil used). When I start debug (no matter what application I load), program always cycles between 2 instructions:

0x000006CC BF20 WFE
0x000006CE E7FD B 0x000006CC

This happens even when blinky example is loaded.

Previously everything worked until I made a program which generated hard fault. After that I'm unable to run/debug any application. But I'm not sure whether that hardfault is the cause of the problem.

Parents
  • Wow. I used nrfgo studio with default settings to download softdevice and then to download application to nrf51 DK. It worked! Now I'm again able to download and debug all aplications from Keil. All applications except applications not using softdevice (e.g. blank blinky example). For non softdevice applications I get Erase error in Keil. To be able to download and debug non softdevice applications when there is softdevice application present in nrf51, I have to do Erase all from nrf go studio. Flash -> Erase option in Keil doesn't enable downloading, still getting Erase all error after that.

Reply
  • Wow. I used nrfgo studio with default settings to download softdevice and then to download application to nrf51 DK. It worked! Now I'm again able to download and debug all aplications from Keil. All applications except applications not using softdevice (e.g. blank blinky example). For non softdevice applications I get Erase error in Keil. To be able to download and debug non softdevice applications when there is softdevice application present in nrf51, I have to do Erase all from nrf go studio. Flash -> Erase option in Keil doesn't enable downloading, still getting Erase all error after that.

Children
No Data
Related