Flashing and debugging an external nrf52840 board with the nRF52840 DK different to those covered in forum

I have read the other threads regarding this, but doesn't appear to work.

I have noticed on my nRF52840 DK that P20 has a different pinout 

So I have tried an assortment of connections to this board to the SWDIO,SWDCLK,SWO and VDD.

I am unsure whether the idea is to ground my board to the dev board seperately and wire the GND of my connector to the SELECT pin.

No matter what I do the Programmer tools always sees the onboard device.  

I close and reopen the programmer each time, as I don't know if it auto-updates dynamically.

Parents
  • Hi

    Yes, P20 on the DKs has had some naming changes (VTG is now called SWD SEL) since the last revision, as we now have an nRF5340 as the debugger MCU. What has changed is that GND is used to detect an external board instead of the voltage like on older revisions. However, the board should be okay to connect as before. See picture below for how the setup should look.

    As for the nRF Connect Programmer app, the device to connect to should still be the nRF52840 DK, but it should detect the external board instead of the onboard one if it is connected correctly, and let you program that one.

    Best regards,

    Simon

Reply
  • Hi

    Yes, P20 on the DKs has had some naming changes (VTG is now called SWD SEL) since the last revision, as we now have an nRF5340 as the debugger MCU. What has changed is that GND is used to detect an external board instead of the voltage like on older revisions. However, the board should be okay to connect as before. See picture below for how the setup should look.

    As for the nRF Connect Programmer app, the device to connect to should still be the nRF52840 DK, but it should detect the external board instead of the onboard one if it is connected correctly, and let you program that one.

    Best regards,

    Simon

Children
Related