VScode nrf connect plugin connected devices can not display the development board device serial number.

Hello Nordic Team!

I updated to version 5.0.0 of NRF Connect for Desktop and since then, when I try to program my development kit in VS Code, it can appear as connected but can't get the device serial number which lead to flash failed. The Toolchain Manager version is v2.6.0 and the NRF Connect SDK version is v2.6.0. I have tried refreshing the "connected devices", but the problem persists. I uesd nRF5340 audio DK.

Parents
  • Hello, 

    Can you please share more information on what is failing when trying to flash? Do you get any errors when trying to flash?

    What exact steps are you doing? This will help me reproduce the issue on my side.

    Thanks!

    Kind regards,
    Øyvind

  • Hello,

    the wrong log below is using  'programmer v4.4.0' in the 'nRF Connect for Desktop v5.0.0':

    2024-07-11T07:47:19.991Z INFO Getting serialport options from persistent store 000682603958.pc-nrfconnect-programmer
    2024-07-11T07:47:19.996Z DEBUG Sending event "programmer: device connected"
    2024-07-11T07:47:20.026Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:21.386Z ERROR Error: Failed with exit code 1.
    Failed to device info one or more devices:
    * 682603958: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
    2024-07-11T07:47:21.386Z INFO Auto Reconnecting Device SN: 000682603958
    2024-07-11T07:47:21.414Z INFO Getting serialport options from persistent store 000682603958.pc-nrfconnect-programmer
    2024-07-11T07:47:21.414Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:21.414Z DEBUG Sending event "programmer: device connected"
    2024-07-11T07:47:22.741Z ERROR Error: Failed with exit code 1.
    Failed to device info one or more devices:
    * 682603958: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
    2024-07-11T07:47:22.741Z INFO Using nrfutil device to communicate with target via JLink
    2024-07-11T07:47:22.772Z DEBUG Sending event "programmer: device selected"
    2024-07-11T07:47:22.772Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:23.033Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:24.288Z INFO Reading readback protection status for Application core
    2024-07-11T07:47:24.288Z ERROR Failed "reading readback protection status for application core". Error: code: 9, description: Nrfjlink, message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
    2024-07-11T07:47:24.461Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
    - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
    2024-07-11T07:47:24.461Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
    - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.

Reply
  • Hello,

    the wrong log below is using  'programmer v4.4.0' in the 'nRF Connect for Desktop v5.0.0':

    2024-07-11T07:47:19.991Z INFO Getting serialport options from persistent store 000682603958.pc-nrfconnect-programmer
    2024-07-11T07:47:19.996Z DEBUG Sending event "programmer: device connected"
    2024-07-11T07:47:20.026Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:21.386Z ERROR Error: Failed with exit code 1.
    Failed to device info one or more devices:
    * 682603958: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
    2024-07-11T07:47:21.386Z INFO Auto Reconnecting Device SN: 000682603958
    2024-07-11T07:47:21.414Z INFO Getting serialport options from persistent store 000682603958.pc-nrfconnect-programmer
    2024-07-11T07:47:21.414Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:21.414Z DEBUG Sending event "programmer: device connected"
    2024-07-11T07:47:22.741Z ERROR Error: Failed with exit code 1.
    Failed to device info one or more devices:
    * 682603958: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
    2024-07-11T07:47:22.741Z INFO Using nrfutil device to communicate with target via JLink
    2024-07-11T07:47:22.772Z DEBUG Sending event "programmer: device selected"
    2024-07-11T07:47:22.772Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:23.033Z DEBUG Sending event "programmer: running nrfutil device"
    2024-07-11T07:47:24.288Z INFO Reading readback protection status for Application core
    2024-07-11T07:47:24.288Z ERROR Failed "reading readback protection status for application core". Error: code: 9, description: Nrfjlink, message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
    2024-07-11T07:47:24.461Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
    - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
    2024-07-11T07:47:24.461Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
    - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink.
    Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.

Children
Related