Flash nrf52840 DK using VS code

Hello,

I am using the nrf52840-dk development board. I want to make a setup to run different applications. I am trying with the blinky code to get started. I have followed the steps provided in the nrf Connect SDK Fundamentals. I am using the following tools:

OS : Ubuntu 16.04

Using nrfutil-device version: 2.0.3

Using nrf-device-lib version: 0.17.3

Using nrfjprog DLL version: 10.23.1

Using JLink version: JLink_V7.88j

These details are shown in the nrfConnect application. In the visual code studio, I am not able to detect the device properly. I can build the code successfully, But while I am trying to flash it into the board I am getting the following Error logs.

Please help me to flash the code in the nrf52840-dk.

Thanks and regards,

Shantanu

Parents
  • Hello Shantanu,

    The crash log suggests that there is a communication issue between the PC and the on-board J-link debugger. I would recommend you try the following to help narrow down the problem:

    - If possible, try to program the board from another PC

    - Try with a different USB cable

    - If using a USB hub, try to connect the USB directly to one of the PC's port instead.

    Best regards,

    Vidar

Reply
  • Hello Shantanu,

    The crash log suggests that there is a communication issue between the PC and the on-board J-link debugger. I would recommend you try the following to help narrow down the problem:

    - If possible, try to program the board from another PC

    - Try with a different USB cable

    - If using a USB hub, try to connect the USB directly to one of the PC's port instead.

    Best regards,

    Vidar

Children
Related