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

There is a problem with debugging nrf52840 dongle.

Hello

I'm using sdk v17.0.2 and I'm going to program using nrf52840 dongle.

I used nrf52DK because I didn't have nrf52840DK. And I'm going to upload the source code that I made using this to nrf52840 dongle.

The nrf52840 dongle is associated with Jlink for debugging.

The connection with Jlink is good, but debugging makes it strange.

When debugging starts, it must stop at main(), but it does not stop.  It doesn't stop at the breakpoint, it doesn't seem to run any code.

When debugging is paused, the following are displayed on the Disassembly screen.

I've uploaded several sample sources through Jlink, but nothing's working.   (Uploading from the nrf connect app works well)

The pins that I connected with Jlink are as follows.  

VDD - Vtref (Jlink)

Gnd - Gnd

SWDIO - SWDIO

SWCLK - SWCLK

Could you tell me about this problem?

Thank you.

Parents
  • Hi

    Due to the summer vacation period we are currently understaffed, so delayed replies must be expected. I am sorry about any inconvenience this might cause.

    When flashing a custom board (like the dongle) you need to connect the DK like this, unless you have soldered on a 10 pin header onto your Dongle so that you can flash it with a 10 pin J-Link cable. 

    Best regards,

    Simon

Reply
  • Hi

    Due to the summer vacation period we are currently understaffed, so delayed replies must be expected. I am sorry about any inconvenience this might cause.

    When flashing a custom board (like the dongle) you need to connect the DK like this, unless you have soldered on a 10 pin header onto your Dongle so that you can flash it with a 10 pin J-Link cable. 

    Best regards,

    Simon

Children
Related