connect external custom board programming and debugging result error

Hi supporter

     SDK version:v2.5.2  IDE: VSCODE computer platform:window10 64 bits

    I try to connect nRF5340-DK or nRF7002-DK to extenal board(nRF7002 and nRF5340 combo modules) from P20, programming and debug was failed as below.I check the VEXT>nRF switch on board is OFF and make sure the external board power is ON.SWDIO connection as below picture as user guide provide, there is no GND DETECT pin on nRF5340-DK board, I use NC pin to instead, why was flash programming failed? what I miss any config for this issue?

[error] [ Client] - Encountered error -102:
Command select_coprocessor executed for 143 milliseconds with result -102
ERROR: Failed when selecting coprocessor APPLICATION
[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
'c:\ncs\v2.5.2\zephyr\samples\drivers\uart\echo_bot\build_UART12\zephyr\zephyr.hex'
--sectorerase --verify -f NRF53 --coprocessor CP_APPLICATION --snr 1050050568

Best Regards

   Tina

Parents
  • Okay, but please note that the nRF5340 DK runs on 3.0V, so try set the external board to run at 3.0V as well. But this might not be the issue and I suspect HW issues on the custom board is the root issue here. Can you create a private ticket where you upload the schematics and gerber files of your custom board so we can do a HW review to make sure everything is okay on that end.

    Best regards,

    Simon

Reply
  • Okay, but please note that the nRF5340 DK runs on 3.0V, so try set the external board to run at 3.0V as well. But this might not be the issue and I suspect HW issues on the custom board is the root issue here. Can you create a private ticket where you upload the schematics and gerber files of your custom board so we can do a HW review to make sure everything is okay on that end.

    Best regards,

    Simon

Children
Related