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

Keil debug disabled/greyed out run button

Hi,

I am trying to debug on nRF52840 dongle using JLink debugger and Keil uVision V5.18.0 

What I have been through is here:https://devzone.nordicsemi.com/f/nordic-q-a/50579/nrf52840-dongle-dfu-bootloader-and-reset-problem

I am now able to flash the code to the dongle. You can see in the picture that it says application is running. However the application does not run. It runs the program which was previously flashed. I tried it for both sd and non-sd examples, nothing different. When in debug the code however the run button and others are disabled/greyed out. I am using exactly the same set up to debug my custom board with ISP1507 which is nRF52832 based. 

I have read some posts; one was suggesting checking the simulator option under debug tab in target for options which I did. It is not that either. 

Another observation of mine is; when I run eraseall command from nrfjprog, in Keil debug the run and the other buttons are not disabled however they do not work. When I flash the bootloader they are disabled again. 

Any ideas are appreciated. 

Parents
  • I am still working on it and wanted to add one more thing;

    I noticed that I cannot flash applications in to it with nrfjprog. I tried to flash the blinky example with --verify. It says verified however the application does not work after reset command or physically powering it down and up again. Whatever is left in it works however not the newly flashed application.

    So it can flash the bootloader but not application. The only way I have to flash the applications is nrf connect.

    What am I missing?

Reply
  • I am still working on it and wanted to add one more thing;

    I noticed that I cannot flash applications in to it with nrfjprog. I tried to flash the blinky example with --verify. It says verified however the application does not work after reset command or physically powering it down and up again. Whatever is left in it works however not the newly flashed application.

    So it can flash the bootloader but not application. The only way I have to flash the applications is nrf connect.

    What am I missing?

Children
No Data
Related