nrf5340 Audio Board programming and recovering fail

python buildprog.py -c both -b debug -d both -p to FALSH the nrf5340 Audio DK (ncs2.2.0, JLink V7.84a ), it reports error.

Based on the error info, searched from the https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/applications/nrf5340_audio/README.html, I tried to recover the board from Readback protection,

But still fails, below is the log doing recover with "nrfjprog --recover --coprocessor CP_NETWORK". Please help me do a kind check?

  • [ info]: --------------------------------------------------------------------------------
    [ info]: nrfjprog --recover --coprocessor CP_NETWORK --log
    [ info]: nrfjprog version 10.17.3 external
    [ info]: --------------------------------------------------------------------------------
    [ info]: Load library at /opt/nrf-command-line-tools/lib/libnrfjprogdll.so.
    [ info]: Library loaded, loading member functions.
    [ info]: Member functions succesfully loaded.
    [debug]: [ Client] - open
    [debug]: [ Client] - start
    [ info]: [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 2679b036-96ec-4fa1-8e88-f84672fce250.
    [debug]: [SeggerBackend] - Logger sink registered in Segger backend logger
    [debug]: [ JLink] - Logger sink registered in JLink logger
    [debug]: [ nRFXX] - open
    [debug]: [ nRFXX] - just_check_family
    [debug]: [SeggerBackend] - open_dll
    [debug]: [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [trace]: [ Client] - Command open executed for 2 milliseconds with result 0
    [debug]: [ Client] - config
    [trace]: [ Client] - Command config executed for 1 milliseconds with result 0
    [debug]: [ Client] - enum_emu_snr
    [ info]: [SeggerBackend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.
    [ info]: [SeggerBackend] - Library loaded, loading member functions.
    [ info]: [SeggerBackend] - Member functions succesfully loaded.
    [debug]: [SeggerBackend] - Set batch mode
    [debug]: [SeggerBackend] - dll_version
    [ info]: [SeggerBackend] - Segger dll version 7.84.a loaded.
    [trace]: [ Worker] - Command open executed for 1 milliseconds with result 0
    [debug]: [ nRFXX] - config
    [trace]: [ Worker] - Command config executed for 1 milliseconds with result 0

    [debug]: [ nRFXX] - enum_emu_con_info

    [debug]: [SeggerBackend] - is_connected_to_emu

    [debug]: [SeggerBackend] - enum_emu_con_info

    [trace]: [ Client] - Command enum_emu_con_info executed for 134 milliseconds with result 0
    [debug]: [ Client] - connect_to_emu_with_snr
    [debug]: [SeggerBackend] - is_connected_to_emu

    [trace]: [ Worker] - Command enum_emu_con_info executed for 134 milliseconds with result 0

    [debug]: [ nRFXX] - connect_to_emu_with_snr

    [debug]: [SeggerBackend] - is_connected_to_emu

    [debug]: [SeggerBackend] - connect_to_emu_with_snr

    [debug]: [SeggerBackend] - is_connected_to_emu

    [debug]: [SeggerBackend] - ---just_enum_emu_snr

    [debug]: [SeggerBackend] - ---just_get_num_emus

    [debug]: [SeggerBackend] - ---just_connect_to_emu_with_snr

    [debug]: [SeggerBackend] - ---just_connect_to_emu_without_snr

    [debug]: [SeggerBackend] - Segger logging enabled.

    [trace]: [ Client] - Command connect_to_emu_with_snr executed for 5403 milliseconds with result -105
    [trace]: [ JLink] - ***** Error:

    [trace]: [ JLink] - Cannot connect to J-Link.

    [trace]: [ JLink] - - 4990.623ms returns "Cannot connect to J-Link."

    [trace]: [ JLink] - JLINK_HasError()

    [error]: [SeggerBackend] - JLinkARM.dll Open returned error 'Cannot connect to J-Link.'

    [trace]: [ JLink] - JLINK_OpenEx(...)

    [trace]: [ JLink] - ***** Error:

    [trace]: [ JLink] - Cannot connect to J-Link.

    [trace]: [ JLink] - - 4.837ms returns "Cannot connect to J-Link."

    [trace]: [ JLink] - JLINK_HasError()

  • [error]: [SeggerBackend] - JLinkARM.dll Open returned error 'Cannot connect to J-Link.'

    [debug]: [SeggerBackend] - is_connected_to_emu

    [trace]: [ JLink] - JLINK_IsOpen()

    [trace]: [ JLink] - - 0.013ms returns 0x00

    [trace]: [ JLink] - JLINK_HasError()

    [trace]: [ Worker] - Command connect_to_emu_with_snr executed for 5403 milliseconds with result -105

    [debug]: [ nRFXX] - close

    [debug]: [SeggerBackend] - is_connected_to_emu

    [trace]: [ JLink] - JLINK_IsOpen()

    [trace]: [ JLink] - - 0.015ms returns 0x00

    [trace]: [ JLink] - JLINK_HasError()

    [debug]: [SeggerBackend] - close

    [debug]: [SeggerBackend] - disconnect_from_emu

    [debug]: [SeggerBackend] - is_connected_to_emu

    [trace]: [ JLink] - JLINK_IsOpen()

    [trace]: [ JLink] - - 0.012ms returns 0x00

    [trace]: [ JLink] - JLINK_HasError()

    [debug]: [SeggerBackend] - Segger Backend closed.

    [debug]: [ nRFXX] - nRF family DLL closed

    [trace]: [ Client] - Command close executed for 12 milliseconds with result 0
    [debug]: [ Client] - terminate
    [trace]: [ Client] - Command terminate executed for 0 milliseconds with result 0
    [trace]: [ Worker] - Command close executed for 12 milliseconds with result 0

    [trace]: [ Worker] - Command terminate executed for 0 milliseconds with result 0

    [trace]: [ Worker] - Executed 6 commands for 5551 milliseconds

    [debug]: [ Client] - Child process terminated with result 0
    [trace]: [ Client] - Executed 6 commands for 5552 milliseconds
    [debug]: [ Client] - terminate

  • Hello,

    I am looking into this. Thank you for your patience.

    Best Regards,
    Maria

  • Hi, 

    Sorry for the delay in response. Marie is away being sick. Did you have any progress in this issue ? If not, then I can request one of my colleague who also have good insights with Audio to help with this.

  • Anyway it has been worked again in my side (but I do not know exactly why). 

    It's not a block point in my side now. We can close this

Related