Hi there,
I am having issues flashing boards using the nRF52840-DK using the Debug Out and SWD pins. When the nRF52840-DK is connected to the nRFConnect Program, the board is recognized, and I am able to read/write to the board as seen in the picture below.
However, when I connect a target board to the nRF52840-DK through the debug out, the device gets seen as a generic "J-Link", and is not able to be programmed. When I disconnect the debug out cable there are no issues and I can write firmware to my nRF52840-DK. However, I want to use my nRF52840-DK to write firmware to the external target board.
I get the following error:
I tried the following steps:
- Does the device show up in Device Manager on your computer? Please try to connect and disconnect the kit a few times. It might show up with unexpected names.
- Yes it does, it shows up as J-LINK
- Have you tried a different USB cable? Faulty cables are surprisingly often the problem.
- Yes, this hasn't made a difference.
- Have you tried using a different computer? If it works on a different computer we know that the kit is not broken and that it is probably a driver issue.
- Yes, this did not make a difference.
- Have you tried to press the IF BOOT/RESET button while power cycling the kit? It should then show up as a Removable Storage Device named "BOOTLOADER". Then you can drag-and-drop the J-LINK interface MCU firmware.
- I cannot get it into bootloader mode.
- Have you measured the supply voltage on the kit? It should be somewhere between 2.8V-3.3V. If it isn't, then the hardware is probably broken.
- Yes, board powers up and supply voltage is fine.
- Have you made sure that you are using the latest J-Link driver version? https://www.segger.com/downloads/jlink
- Yes
- Try using nrfjprog --recover
- This command works, and executes properly, but does not change anything.
I had no issues yesterday when flashing, the only thing that has changed is that I upgraded to nRFConnect Programmer to v3.0.8 today