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

Can not debug in SES

Hello,

I´m trying to connect the nRF9160-DK to the nRF cloud, using the asset tracker application. I was able to build and flash the application. But the DK can not connect and so LED 4 ever blinks. So maybe there is a problem with the asset tracker application. I had some problems with setting it up so i show you how I did it.

I opened a new nrf Connect SDK Project in SES. This could only be done without clicking on the checkbox "Clean Build Directory". As shown in the following screenshot. So I opened the project without clicking on "Clean Build Directory".

(The following error appears when I´m trying to open the project with clicking on "Clean Build Directory": Did not finish "cmake")

I was able to build and flash the application on the DK. But when i´m debuging there is a new problem. First this window pops up.

And if I´m pressing "Yes" or "No" the following error appears.

What could causing this?

I updated the firmware and the certificate. I´m using the ncs tag v1.2.0.

Parents
  • In Project Explorer right click on Project 'zephyr/merged.hex' and go to Options -- Debug/Debugger and change like that:

    Debug Symbols File [0] = $(ProjectDir)/mcuboot/zephyr/zephyr.elf
    Debug Symbols File [1] = $(ProjectDir)/spm/zephyr/zephyr.elf
    Debug Symbols File [2] = $(ProjectDir)/zephyr/zephyr.elf
    Debug Symbols File [3] = None

    Then in SES, "Build"--> "Build and Debug"

    If doesn`t work open CMD and use the command:

    nrfjprog -e

    And then "Build and Debug" again.

Reply
  • In Project Explorer right click on Project 'zephyr/merged.hex' and go to Options -- Debug/Debugger and change like that:

    Debug Symbols File [0] = $(ProjectDir)/mcuboot/zephyr/zephyr.elf
    Debug Symbols File [1] = $(ProjectDir)/spm/zephyr/zephyr.elf
    Debug Symbols File [2] = $(ProjectDir)/zephyr/zephyr.elf
    Debug Symbols File [3] = None

    Then in SES, "Build"--> "Build and Debug"

    If doesn`t work open CMD and use the command:

    nrfjprog -e

    And then "Build and Debug" again.

Children
No Data
Related