Cannot Program BMD-340 with nRF52DK

Hi,

I referred to this doc for hardware setup

However, in the programmer in nRF Desktop, I got the following log:

17:37:36.199
Error: Failed with exit code 1. Failed to device info one or more devices: * 1050383532: [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Operation device-info failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
17:37:37.357
Reading readback protection status for Application core
17:37:37.357
Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1)
17:37:37.569
Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
If I try the command tool, I got the following error:
>nrfjprog -f nrf52 --recover
Recovering device. This operation might take 30s.
[error] [ Client] - Encountered error -21: Command recover executed for 123 milliseconds with result -21
[error] [ Worker] - An unknown error.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
Could you help me with this problem? Thank you!
Parents Reply Children
No Data
Related