Using nRF52833-DK as JLINK programmer : JLinkARM DLL error

Hello,

I'm trying to use a nRF52833-DK board to program external nRF5340. I connected P20 of the DK and shorted SB47 as described here unfortunately i get the following error when using the command:

west -flash --erase -r nrfjprog

C:\NRF_FW\HC-FW>west flash --erase -r nrfjprog
-- west flash: rebuilding
[0/4] Performing build step for 'hci_rpmsg_subimage'
ninja: no work to do.
[3/3] Completed 'hci_rpmsg_subimage'
-- west flash: using runner nrfjprog
-- runners.nrfjprog: mass erase requested
Using board 685323809
-- runners.nrfjprog: Flashing file: C:\NRF_FW\HC-FW\build\zephyr\merged_domains.hex
-- runners.nrfjprog: C:\NRF_FW\HC-FW\build\zephyr\merged_domains.hex targets both nRF53 coprocessors; splitting it into: C:\NRF_FW\HC-FW\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and C:\NRF_FW\HC-FW\build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex        
[error] [ Client] - Encountered error -102: Command enable_coprocessor executed for 171 milliseconds with result -102
Failed to enable coprocessor with unknown error.
[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:\NRF_FW\HC-FW\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex' --chiperase --verify -f NRF53 --snr 685323809 --coprocessor CP_NETWORK

So I'm assuming my Jlink is missing some DLL but I cannot find information about which or where I could find them.

Do yu have any idea of what I'm doing wrong or what could be made to be able to program external nRF using the nRF52833-DK ?

Thank you,
Regards

Parents
  • The nRF52833 DK comes in two flavors, one with a large debugger chip, a SAM4U, and one with a small debugger chip, nRF5340. The older version with the large debugger only supports the ARM V7M so can't program the nRF5340 as this is ARM V8M. The newer boards with the small debugger does support both V7M and V8M. Should be easy to see which board you have as the large is a 10*10 or so TQFP package if I recall correctly while the small one is much smaller.

Reply
  • The nRF52833 DK comes in two flavors, one with a large debugger chip, a SAM4U, and one with a small debugger chip, nRF5340. The older version with the large debugger only supports the ARM V7M so can't program the nRF5340 as this is ARM V8M. The newer boards with the small debugger does support both V7M and V8M. Should be easy to see which board you have as the large is a 10*10 or so TQFP package if I recall correctly while the small one is much smaller.

Children
Related