J-link and SWD programming for nrf52 vscode and segger

Hi All!

I am using nrf52833DK and able to program with segger studio and vs code studio extension of nrf connect sdk. Now the issue is that I have designed the custom board for nrf52833/20 and I am using SWCLK, SWDIO,GND, and VDD to load the program using nanoDap v2.3( for more detail please follow the link below)

https://github.com/wuxx/nanoDAP/blob/master/user_manual_en.md

I am able to debug and load the program using segger embedded studio with J-link connectivity option in the target drop-down menu

Now the issue is that when I load the program in vscode studio extension of nrf connect sdk using the same connections as mentioned above then i am unable to detect the device/nrf52833 

can you please help me in this regard? 

Thanks & Regards,

Muhammad Usman

Parents Reply
  • Hi,

    You should ensure that you do not have any active debug sessions opened, J-Link Viewer is not running, and all other IDEs that might interfere are closed.
    Did you try "west flash" command multiple times?
    Which version of J-Link do you use? Do you have multiple versions of J-Link?
    Which version of nrfjprog do you have?
    J-Link and nrfjprog versions can be checked using "nrfjprog --version" command.
    Have you tried using "west build" for building and nrfjprog directly for flashing?
    Does this issue appear only on one specific computer?

    Best regards,
    Dejan

Children
No Data
Related