Problem flashing nRF52840-DK board through VS code

I have downloaded nRF connect setup V5.1.0 and nRF command line tools V10.24.2.

downloaded nRF connect extension , SDK pack and tool chain in VS code.

I added the build configuration as per the nRF video to setup VS code.

Code is compiling, but when I try to flash it into nRF 52840-DK board it giving me an error.

I am assuming that I have done something wrong during setup. Please help me understand and correct my mistake.

If you need more details, please let me know so I can share it here.

Parents Reply
  • Hi,

    Thankyou, I manually installed the nrfutil.exe and placed it in a folder and copied the folder path. then I added the location of the folder in environment variables , variable named "PATH". it is working now.  after flashing from VS code no error generated but board did not behave as I programmed. after that I tried to flash the merged .hex file through nrf programmer and it worked. it was a sample blink program. I did not understood why flashing with VS code didn't change the hardware behavior of the board.

    regards,

    Mortal

Children
No Data
Related