[error] [ Client] - Encountered error -102: Command read_device_info executed for 132 milliseconds with result -102

Hi everyone ! I am having trouble trying to flash a custom firmware to a nrf52840 board connected to another custom board using P19 debug out I am flashing the code directly using the IMCU USB port on the nrf52840 board. SB19 is soldered to the on-board J-Link to route the signal to the Debug OUT port Hope you guys can help me solve this problem as it has taken me too long ! Thanks averyone, have a nice day !

Executing task: nRF Connect: Flash: sid_end_device/build_lora (active)

Flashing build_lora to 1050202191
west flash -d /opt/nordic/ncs/v2.9.1/sidewalk/samples/sid_end_device/build_lora --dev-id 1050202191

-- west flash: rebuilding
[0/11] Performing build step for 'mcuboot'
ninja: no work to do.
[1/11] Performing build step for 'sid_end_device'
ninja: no work to do.
[4/11] cd /opt/nordic/ncs/v2.9.1/sidewalk/samples/sid_end_device/build_lora/_sysbuild && /opt/nordic/ncs/toolchains/b8efef2ad5/Cellar/cmake/3.21.0/bin/cmake -E true
[6/11] No install step for 'sid_end_device'
[7/11] Completed 'sid_end_device'
[8/11] cd /opt/nordic/ncs/v2.9.1/sidewalk/samples/sid_end_device/build_lora/_sysbuild && /opt/nordic/ncs/toolchains/b8efef2ad5/Cellar/cmake/3.21.0/bin/cmake -E true
[9/9] cd /opt/nordic/ncs/v2.9.1/sidewalk/samples/sid_end_device/build_lora/_sysbuild && /opt/nordic/ncs/toolchains/b8efef2ad5/opt/[email protected]/bin/python3.12 /opt/nordic/ncs/v2.9.1/nrf/scripts/bootloader/dfu_multi_image_tool.py @/opt/nordic/ncs/v2.9.1/sidewalk/samples/sid_end_device/build_lora/dfu_multi_image.bin.args
-- west flash: using runner nrfjprog
-- runners.nrfjprog: reset after flashing requested
-- runners.nrfjprog: Flashing file: /opt/nordic/ncs/v2.9.1/sidewalk/samples/sid_end_device/build_lora/merged.hex
[error] [ Client] - Encountered error -102: Command read_device_info executed for 132 milliseconds with result -102
[error] [ Worker] - An unknown error.
[error] [ Client] - Encountered error -102: Command read_memory_descriptors executed for 25 milliseconds with result -102
Failed to read device memories.
[error] [ Worker] - An unknown error.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 33: nrfjprog --program /opt/nordic/ncs/v2.9.1/sidewalk/samples/sid_end_device/build_lora/merged.hex --sectoranduicrerase --verify -f NRF52 --snr 1050202191

* The terminal process terminated with exit code: 33.
* Terminal will be reused by tasks, press any key to close it.

Parents Reply Children
  • Hi Jonathan !

    I'm having trouble with DEBUG and it doesn't show LOG on RTT after i flash successfully using P20 nRF52840-DK

    Can you help me fix it?
    Thanks !


    nRF52840DK (P20) ---> Custom board
    -------------------------------------------------
    VDD_nRF(P20) → SWD_SEL(P20) 
    VDD_nRF(P20) → Vin custom board 
    SWDIO/CLK → SWDIO/CLK custom board 
    GND → GND custom boardCustom board with separate power supply

  • Do you have a pin\LED on your custom board that you can toggle?

    Its often best to start simple with custom HW to make sure things are configured correctly. 

    You can also use the DK as a UART\Serial adapter. 


    Also are you building for the custom board or ar you using the board file of the DK when you make the project?
    Does it run ok on the DK if you test the app there?


    Regards,
    Jonathan
Related