This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ERROR: Serial number of connected device (20090928) does not match the expected serial number 123456. VS Code

Hi, I'm trying to run samples provided by Nordic but I fail. My problem is west can not find my Jlink.

I can flash the chip (nrf52840 custom board) using nrfjprog

but in vs code I fail. I also flashed the chip in segger embedded studio and it worded.

OS Windows 10

nrf connect SDK V1.8

nrf connect for vs code v2021.12.137

west version 0.12.0

nrfjprog version: 10.15.0 external

JLinkARM.dll version 7.56a

TNX

Parents
  • Hi,

    If you are able to build the sample in segger, you should also be able to build the sample in VS Code. Did you install all the necessary extensions in VS Code? Are you able to find the device in the connected devices list in VS Code.? What is the path of the folder that you are building the sample? Also, make sure that you selected the correct board in the "Add Build Configuration". Due to the holiday season, we are a bit understaffed, so please expect a delay.

    Regards,

    Swathy

Reply
  • Hi,

    If you are able to build the sample in segger, you should also be able to build the sample in VS Code. Did you install all the necessary extensions in VS Code? Are you able to find the device in the connected devices list in VS Code.? What is the path of the folder that you are building the sample? Also, make sure that you selected the correct board in the "Add Build Configuration". Due to the holiday season, we are a bit understaffed, so please expect a delay.

    Regards,

    Swathy

Children
  • For installation:

    1. I installed nRF Connect for Desktop v3.9.1.

    2. Installed Toolchain Manager.

    3. Installed nRF Connect SDK v1.8.0. After it finished I clicked on "Open VS Code" it checked every thing was missed and installed them.

    No, I can't find the device in connected devices list.

    I followed tutorial Nordic tutorial.

    I also tried KEIL and it also worked.

    Have fun in your holiday :)))

  • Hi,

    Yes you indeed need to install VS Code separately. You also need to add all the necessary extensions for the VS Code. Please also make sure that you have installed the nRF Connect Extension pack. 

      

    Also, did you open the VS Code from nRF Connect for Desktop.? Could you try generating support information as mentioned in this post and paste the replies here.

    Regards,

    Swathy

  • The problem was the debugger firmware's. It was too old, after testing with newer firmware it solved.

    TNX

Related