"Failed to read device memory" error while flashing the program on Visual Studio Code

Hi,

I've designed my own custom board. It has nRF52811 chip (product of RAYTAC, MDBT42Q-P192KL). I used zephyr>blinky project to test my custom board. I do everything but I got "Failed to read device memory" error on Visual Studio Code. How could I fix this problem?

Thanks and Regards

Parents
  • Hi

    Which version of NRF connect SDK are you using?

    Can you detect the device in VScode? 

    Can you run the build command with the additional log argument and post it for me? You can insert it into a code block using "Insert -> Code" 

    Regards

    Runar

  • I use nRF Connect SDK v1.9.1. VScode detects the device

     

    Sorry but I don't know how to build the command with the additional log. Can you explain

  • Hi

    Can you try the following command from the nRF Connect terminal "nrfjprog --recover -f NRF52 --log"

    Regards

    Runar

Reply Children