Hi,
Programmer can't read chip information after i download firmware with VSCode.
Before download, Programmer can read chip information.
Hi,
Programmer can't read chip information after i download firmware with VSCode.
Before download, Programmer can read chip information.
16:24:18.572 Selecting device with the serial number 001050050051 16:24:21.640 Error: Failed with exit code 1. Failed to device info one or more devices: * 1050050051: [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). 16:24:21.640 Selected device with the serial number 001050050051 16:24:21.641 Using nrfutil device to communicate with target via JLink 16:24:24.848 Reading readback protection status for Application core 16:24:24.848 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) 16:24:24.990 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). 16:24:24.990 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).
Hello,
Which version of NCS you are using?
You can check this Programming an external board.
After this if still the problem exists, you can disable the DCDC by setting CONFIG_BOARD_ENABLE_DCDC=n and can try to program to check if it works.
Hello,
Which version of NCS you are using?
You can check this Programming an external board.
After this if still the problem exists, you can disable the DCDC by setting CONFIG_BOARD_ENABLE_DCDC=n and can try to program to check if it works.
i solved this problem. my custom board not designed DCDC mode, but i set CONFIG_BOARD_ENABLE_DCDC=y. so i changed set to off the dcdc mode and on the ldo mode, it's working well
thanks.
Glad that it works. Thanks for sharing so we know the root cause.