[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
  • Hi Jonathan !
    Pin connection diagram from P19 nrf52840 via DEBUG board to customboard J2 :

    Pin 1 VREF (P19) -> pin1 Vin->Vin=2.8V (J2)
    Pin 2: SWDIO (P19) -> pin2 -> pin2: SWDIO (J2)
    Pin 4: SWDCLK (P19) -> pin3 -> pin4: SWCLK (J2)
    Pin5: GND (P19) -> pin 6 -> Pin 5: GND (J2)
    Pin 10: RESET (P19) -> pin4 -> pin3: NRST_nRF (J2)

    My custom board uses nrf52840 chip and has J2 port to communicate with nrf52840 board

    P19(nRF52840-DK) -> Board DEBUG -> J2 (Custom board)
    and I use TC2030-MCP-NL wire to communicate from DEBUG board to my Custom board


Children
Related