Minimum connection for Jlink download

hello!

I want to use Jlink to download code to a NRF52840 chip as MCU development board, but the number of pins and pin spacing of my Jlink are different from it. So I had to connect it to my Jlink with some separate wires. I wonder what is the minimum connection pin for nrf52840? Is it only VDD, SWDIO, SWCLK and one of GND that must be connected to Jlink? Or do SWO and NREST also have to be connected to Jlink in order to download code to nrf52840? I tried a few combinations, but they didn't work. I don't know whether it is the wiring or the Jlink problem.

Can someone help me, please?

(This is the interface)

Parents
  • Hi

    What application have you flashed onto the target board here? Can you confirm that it is powered when you try again? This error is generally reported when the chip you're trying to program goes to system OFF or is in system OFF when you try to connect to it. First off I'd recommend trying using the nRF Command Line Tools and the nrfjprog --recover command to see if that lets you communicate with it.

    You can also try using the J-Link Configurator and update the firmware there to make sure you're able to communicate with the J-Link device, but that doesn't seem to be the issue.

    If this issue is only happening to one specific connected nRF52840 chip, it is most likely a wiring issue. I'm not sure I understood whether you had one or multiple devices you were working on?

    Best regards,

    Simon

Reply
  • Hi

    What application have you flashed onto the target board here? Can you confirm that it is powered when you try again? This error is generally reported when the chip you're trying to program goes to system OFF or is in system OFF when you try to connect to it. First off I'd recommend trying using the nRF Command Line Tools and the nrfjprog --recover command to see if that lets you communicate with it.

    You can also try using the J-Link Configurator and update the firmware there to make sure you're able to communicate with the J-Link device, but that doesn't seem to be the issue.

    If this issue is only happening to one specific connected nRF52840 chip, it is most likely a wiring issue. I'm not sure I understood whether you had one or multiple devices you were working on?

    Best regards,

    Simon

Children
No Data
Related