nRF52 DK Flashing Issue PCA10040 3.0.4 (2024.34)

Hi,

I purchased nRF52 DK 2 PCs. PCB labeled

PCA10040 

3.0.4

2024.34

                    

boath board are new and box packed. from first time itself. I am not able to flash the board. both device got error below.

      

both dk Boards nRF Connect Programmer Log files. 

2025-07-12T17:18:29.467Z INFO Initialising the bundled nrfutil device
2025-07-12T17:18:29.479Z DEBUG Application data folder: /home/parths/.config/nrfconnect/pc-nrfconnect-programmer
2025-07-12T17:18:29.515Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:29.516Z DEBUG App pc-nrfconnect-programmer v4.6.1 (official)
2025-07-12T17:18:29.516Z DEBUG App path: /home/parths/.nrfconnect-apps/node_modules/pc-nrfconnect-programmer
2025-07-12T17:18:29.516Z DEBUG nRFConnect 5.2.0, required by the app is (>=5.2.0)
2025-07-12T17:18:29.516Z DEBUG nRFConnect path: /tmp/.mount_nrfconTZ2jUR/resources/app.asar
2025-07-12T17:18:29.516Z DEBUG HomeDir: /home/parths
2025-07-12T17:18:29.516Z DEBUG TmpDir: /tmp
2025-07-12T17:18:29.604Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:29.604Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:29.609Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:29.611Z INFO Using the bundled core version for nrfutil device: 8.0.0
2025-07-12T17:18:29.646Z INFO Getting serial port options from the persistent store for DCEECBD78924.pc-nrfconnect-programmer
2025-07-12T17:18:29.646Z INFO Getting serial port options from the persistent store for 001050359820.pc-nrfconnect-programmer
2025-07-12T17:18:29.646Z INFO Device connected with the serial number DCEECBD78924
2025-07-12T17:18:29.648Z DEBUG Sending event "programmer: device connected"
2025-07-12T17:18:29.648Z INFO Device connected with the serial number 001050359820
2025-07-12T17:18:29.648Z DEBUG Sending event "programmer: device connected"
2025-07-12T17:18:29.705Z INFO Using nrfutil-device version: 2.12.3
2025-07-12T17:18:29.706Z INFO Using nrf-device-lib version: 0.17.81
2025-07-12T17:18:29.706Z INFO Using nrf-probe version: 0.40.1
2025-07-12T17:18:29.706Z INFO Using JLink version: JLink_V8.18
2025-07-12T17:18:33.371Z INFO Parsing HEX file:  /home/parths/Desktop/github_261/SmartBottle/build/zephyr/old_release_SDK261.hex
2025-07-12T17:18:33.379Z INFO File was last modified at  02/07/2025, 01:31:04
2025-07-12T17:18:33.450Z INFO Update files regions according to Application core
2025-07-12T17:18:33.450Z INFO Parse memory regions for file
2025-07-12T17:18:36.118Z INFO Selecting device with the serial number 001050359820
2025-07-12T17:18:36.139Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:36.449Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050359820: Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).
   
   This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled (Generic)


Message: Operation device-info failed, Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).

This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled.
2025-07-12T17:18:36.450Z INFO Selected device with the serial number 001050359820
2025-07-12T17:18:36.451Z INFO Using nrfutil device to communicate with target via JLink
2025-07-12T17:18:36.459Z DEBUG Sending event "programmer: device selected"
2025-07-12T17:18:36.460Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:36.463Z INFO Update files regions according to Application core
2025-07-12T17:18:36.463Z INFO Parse memory regions for file
2025-07-12T17:18:36.577Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:36.750Z INFO Reading readback protection status for Application core
2025-07-12T17:18:36.752Z INFO Reading readback protection status for Application core 0%
2025-07-12T17:18:36.876Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).

This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled
2025-07-12T17:18:36.882Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050359820: Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).
   
   This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled (Generic)


Message: Batch task protection-get failed, Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).

This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled.
2025-07-12T17:18:36.882Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050359820: Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).
   
   This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled (Generic)


Message: Batch task protection-get failed, Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).

This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled.
2025-07-12T17:18:55.019Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:55.430Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050359820: Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).
   
   This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled (Generic)


Message: Operation device-info failed, Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).

This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled.
2025-07-12T17:18:55.441Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:55.558Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:18:55.731Z INFO Reading readback protection status for Application core
2025-07-12T17:18:55.732Z INFO Reading readback protection status for Application core 0%
2025-07-12T17:18:55.855Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).

This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled
2025-07-12T17:18:55.865Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050359820: Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).
   
   This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled (Generic)


Message: Batch task protection-get failed, Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).

This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn't disabled.
2025-07-12T17:19:37.648Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:37.852Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:37.855Z INFO Update files regions according to Application core
2025-07-12T17:19:37.855Z INFO Parse memory regions for file
2025-07-12T17:19:37.964Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:38.052Z INFO Reading readback protection status for Application core
2025-07-12T17:19:38.052Z INFO Reading readback protection status for Application core 0%
2025-07-12T17:19:38.054Z INFO Reading readback protection status for Application core 100%
2025-07-12T17:19:38.055Z INFO Application core protection status 'NRFDL_PROTECTION_STATUS_NONE'
2025-07-12T17:19:38.055Z INFO Reading readback protection status for Application core completed
2025-07-12T17:19:38.182Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:38.182Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:38.293Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:38.381Z INFO Recovering Application core
2025-07-12T17:19:38.381Z INFO Recovering Application core 0%
2025-07-12T17:19:48.511Z INFO Recovering Application core 100%
2025-07-12T17:19:48.517Z INFO Recovering Application core completed
2025-07-12T17:19:48.519Z INFO Loading core information for Application core
2025-07-12T17:19:48.519Z INFO Loading core information for Application core 0%
2025-07-12T17:19:48.519Z INFO Loading core information for Application core 100%
2025-07-12T17:19:48.520Z INFO Loading core information for Application core completed
2025-07-12T17:19:48.521Z INFO Update files regions according to Application core
2025-07-12T17:19:48.521Z INFO Parse memory regions for file
2025-07-12T17:19:48.683Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:48.683Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:48.807Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:48.893Z INFO Writing HEX to Application core
2025-07-12T17:19:48.943Z INFO Writing HEX to Application core 0%
2025-07-12T17:19:48.978Z INFO Writing HEX to Application core 50%
2025-07-12T17:19:48.978Z INFO Writing HEX to Application core 50%
2025-07-12T17:19:53.229Z INFO Writing HEX to Application core 75%
2025-07-12T17:19:53.229Z INFO Writing HEX to Application core 100%
2025-07-12T17:19:53.240Z INFO Writing HEX to Application core completed
2025-07-12T17:19:53.321Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:53.531Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:53.642Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T17:19:53.724Z INFO Reading readback protection status for Application core
2025-07-12T17:19:53.725Z INFO Reading readback protection status for Application core 0%
2025-07-12T17:19:53.727Z INFO Reading readback protection status for Application core 100%
2025-07-12T17:19:53.727Z INFO Application core protection status 'NRFDL_PROTECTION_STATUS_NONE'
2025-07-12T17:19:53.727Z INFO Reading readback protection status for Application core completed
2025-07-12T17:34:33.572Z INFO Device connected with the serial number 001050359820
2025-07-12T17:34:33.597Z INFO Update files regions according to Application core
2025-07-12T17:34:33.597Z INFO Parse memory regions for file
2025-07-12T17:34:35.150Z INFO Getting serial port options from the persistent store for 001050359820.pc-nrfconnect-programmer
2025-07-12T17:34:35.153Z INFO Device connected with the serial number 001050359820
2025-07-12T17:34:35.158Z DEBUG Sending event "programmer: device connected"
2025-07-12T17:34:35.182Z INFO Getting serial port options from the persistent store for 001050359820.pc-nrfconnect-programmer
2025-07-12T17:34:35.183Z DEBUG Sending event "programmer: device connected"
2025-07-12T17:40:35.949Z INFO Device connected with the serial number DCEECBD78924
2025-07-12T17:40:39.098Z INFO Device connected with the serial number 001050359820
2025-07-12T18:10:12.027Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:10:12.028Z INFO Device connected with the serial number 001050354443
2025-07-12T18:10:12.034Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:10:12.044Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:10:12.045Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:12:25.691Z INFO Selecting device with the serial number 001050354443
2025-07-12T18:12:25.704Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:12:35.844Z ERROR Error: Aborted before start executing nrfutil ["device","device-info","--serial-number","001050354443","--json","--log-output=stdout","--log-level","off"]
2025-07-12T18:12:35.851Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:12:35.957Z ERROR Error: Aborted before start executing nrfutil ["device","x-execute-batch","--serial-number","001050354443","--batch-json","{\"operations\":[{\"operationId\":\"0\",\"core\":\"NRFDL_DEVICE_CORE_APPLICATION\",\"operation\":{\"type\":\"protection-get\"}}]}","--json","--log-output=stdout","--log-level","off"]
2025-07-12T18:12:40.030Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050354443: Timed out waiting for response from worker. (Generic)


Message: Operation device-info failed, Timed out waiting for response from worker.
2025-07-12T18:12:40.031Z INFO Selected device with the serial number 001050354443
2025-07-12T18:12:40.032Z INFO Using nrfutil device to communicate with target via JLink
2025-07-12T18:12:40.043Z DEBUG Sending event "programmer: device selected"
2025-07-12T18:12:40.043Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:12:40.163Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:12:43.024Z INFO Reading readback protection status for Application core
2025-07-12T18:12:43.024Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Emulator error: Failed to open connection
2025-07-12T18:12:43.073Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:12:43.073Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:12:43.134Z INFO Device connected with the serial number 001050354443
2025-07-12T18:12:44.029Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:12:44.029Z INFO Device connected with the serial number 001050354443
2025-07-12T18:12:44.031Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:12:44.052Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:12:44.053Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:12:50.494Z INFO Selecting device with the serial number 001050354443
2025-07-12T18:12:50.505Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:13:04.849Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050354443: Timed out waiting for response from worker. (Generic)


Message: Operation device-info failed, Timed out waiting for response from worker.
2025-07-12T18:13:04.849Z INFO Selected device with the serial number 001050354443
2025-07-12T18:13:04.850Z INFO Using nrfutil device to communicate with target via JLink
2025-07-12T18:13:04.856Z DEBUG Sending event "programmer: device selected"
2025-07-12T18:13:04.856Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:13:04.971Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:13:07.824Z INFO Reading readback protection status for Application core
2025-07-12T18:13:07.824Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Emulator error: Failed to open connection
2025-07-12T18:13:07.891Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:13:07.892Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:13:07.926Z INFO Device connected with the serial number 001050354443
2025-07-12T18:13:08.821Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:13:08.821Z INFO Device connected with the serial number 001050354443
2025-07-12T18:13:08.822Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:13:08.851Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:13:08.852Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:19:11.719Z INFO Selecting device with the serial number 001050354443
2025-07-12T18:19:11.745Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:19:16.453Z ERROR Error: Aborted before start executing nrfutil ["device","device-info","--serial-number","001050354443","--json","--log-output=stdout","--log-level","off"]
2025-07-12T18:19:16.459Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:19:16.565Z ERROR Error: Aborted before start executing nrfutil ["device","x-execute-batch","--serial-number","001050354443","--batch-json","{\"operations\":[{\"operationId\":\"0\",\"core\":\"NRFDL_DEVICE_CORE_APPLICATION\",\"operation\":{\"type\":\"protection-get\"}}]}","--json","--log-output=stdout","--log-level","off"]
2025-07-12T18:19:21.533Z ERROR Error: Aborted before start executing nrfutil ["device","device-info","--serial-number","001050354443","--json","--log-output=stdout","--log-level","off"]
2025-07-12T18:19:21.538Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:19:21.642Z ERROR Error: Aborted before start executing nrfutil ["device","x-execute-batch","--serial-number","001050354443","--batch-json","{\"operations\":[{\"operationId\":\"0\",\"core\":\"NRFDL_DEVICE_CORE_APPLICATION\",\"operation\":{\"type\":\"protection-get\"}}]}","--json","--log-output=stdout","--log-level","off"]
2025-07-12T18:19:26.079Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050354443: Timed out waiting for response from worker. (Generic)


Message: Operation device-info failed, Timed out waiting for response from worker.
2025-07-12T18:19:26.080Z INFO Selected device with the serial number 001050354443
2025-07-12T18:19:26.080Z INFO Using nrfutil device to communicate with target via JLink
2025-07-12T18:19:26.086Z DEBUG Sending event "programmer: device selected"
2025-07-12T18:19:26.087Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:19:26.203Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:19:29.008Z INFO Reading readback protection status for Application core
2025-07-12T18:19:29.009Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Emulator error: Failed to open connection
2025-07-12T18:19:29.011Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:19:29.011Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:19:29.118Z INFO Device connected with the serial number 001050354443
2025-07-12T18:19:30.002Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:19:30.002Z INFO Device connected with the serial number 001050354443
2025-07-12T18:19:30.004Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:19:30.025Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:19:30.026Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:19:53.247Z INFO Selecting device with the serial number 001050354443
2025-07-12T18:19:53.278Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:20:07.611Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050354443: Timed out waiting for response from worker. (Generic)


Message: Operation device-info failed, Timed out waiting for response from worker.
2025-07-12T18:20:07.611Z INFO Selected device with the serial number 001050354443
2025-07-12T18:20:07.612Z INFO Using nrfutil device to communicate with target via JLink
2025-07-12T18:20:07.618Z DEBUG Sending event "programmer: device selected"
2025-07-12T18:20:07.618Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:20:07.734Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:20:10.548Z INFO Reading readback protection status for Application core
2025-07-12T18:20:10.549Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Emulator error: Failed to open connection
2025-07-12T18:20:10.642Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:20:10.642Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050354443: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:20:10.653Z INFO Device connected with the serial number 001050354443
2025-07-12T18:20:11.556Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:20:11.556Z INFO Device connected with the serial number 001050354443
2025-07-12T18:20:11.558Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:20:11.577Z INFO Getting serial port options from the persistent store for 001050354443.pc-nrfconnect-programmer
2025-07-12T18:20:11.578Z DEBUG Sending event "programmer: device connected"

2025-07-12T18:32:09.272Z INFO Initialising the bundled nrfutil device
2025-07-12T18:32:09.286Z DEBUG Application data folder: /home/parths/.config/nrfconnect/pc-nrfconnect-programmer
2025-07-12T18:32:09.323Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:09.342Z DEBUG App pc-nrfconnect-programmer v4.6.1 (official)
2025-07-12T18:32:09.342Z DEBUG App path: /home/parths/.nrfconnect-apps/node_modules/pc-nrfconnect-programmer
2025-07-12T18:32:09.342Z DEBUG nRFConnect 5.2.0, required by the app is (>=5.2.0)
2025-07-12T18:32:09.342Z DEBUG nRFConnect path: /tmp/.mount_nrfconneBEPc/resources/app.asar
2025-07-12T18:32:09.342Z DEBUG HomeDir: /home/parths
2025-07-12T18:32:09.342Z DEBUG TmpDir: /tmp
2025-07-12T18:32:09.414Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:09.414Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:09.420Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:09.423Z INFO Using the bundled core version for nrfutil device: 8.0.0
2025-07-12T18:32:09.452Z INFO Getting serial port options from the persistent store for 001050362008.pc-nrfconnect-programmer
2025-07-12T18:32:09.453Z INFO Device connected with the serial number 001050362008
2025-07-12T18:32:09.454Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:32:09.516Z INFO Using nrfutil-device version: 2.12.3
2025-07-12T18:32:09.516Z INFO Using nrf-device-lib version: 0.17.81
2025-07-12T18:32:09.516Z INFO Using nrf-probe version: 0.40.1
2025-07-12T18:32:09.517Z INFO Using JLink version: JLink_V8.18
2025-07-12T18:32:11.099Z INFO Selecting device with the serial number 001050362008
2025-07-12T18:32:11.120Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:15.812Z INFO Parsing HEX file:  /home/parths/Desktop/github_261/SmartBottle/build/zephyr/old_release_SDK261.hex
2025-07-12T18:32:15.831Z INFO File was last modified at  02/07/2025, 01:31:04
2025-07-12T18:32:15.881Z INFO Update files regions according to Application core
2025-07-12T18:32:15.881Z INFO Parse memory regions for file
2025-07-12T18:32:16.891Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:17.002Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050362008: Emulator error: Failed to open connection (Generic)


Message: Operation device-info failed, Emulator error: Failed to open connection.
2025-07-12T18:32:17.013Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:17.018Z INFO Update files regions according to Application core
2025-07-12T18:32:17.018Z INFO Parse memory regions for file
2025-07-12T18:32:17.131Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:17.185Z INFO Reading readback protection status for Application core
2025-07-12T18:32:17.185Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Emulator error: Failed to open connection
2025-07-12T18:32:17.239Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050362008: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:32:25.442Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1050362008: Timed out waiting for response from worker. (Generic)


Message: Operation device-info failed, Timed out waiting for response from worker.
2025-07-12T18:32:25.443Z INFO Selected device with the serial number 001050362008
2025-07-12T18:32:25.444Z INFO Using nrfutil device to communicate with target via JLink
2025-07-12T18:32:25.455Z DEBUG Sending event "programmer: device selected"
2025-07-12T18:32:25.456Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:25.577Z DEBUG Sending event "programmer: running nrfutil device"
2025-07-12T18:32:28.397Z INFO Reading readback protection status for Application core
2025-07-12T18:32:28.398Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Emulator error: Failed to open connection
2025-07-12T18:32:28.494Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050362008: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:32:28.494Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1050362008: Emulator error: Failed to open connection (Generic)


Message: Batch task protection-get failed, Emulator error: Failed to open connection.
2025-07-12T18:32:28.506Z INFO Device connected with the serial number 001050362008
2025-07-12T18:32:29.398Z INFO Getting serial port options from the persistent store for 001050362008.pc-nrfconnect-programmer
2025-07-12T18:32:29.398Z INFO Device connected with the serial number 001050362008
2025-07-12T18:32:29.399Z DEBUG Sending event "programmer: device connected"
2025-07-12T18:32:29.418Z INFO Getting serial port options from the persistent store for 001050362008.pc-nrfconnect-programmer
2025-07-12T18:32:29.419Z DEBUG Sending event "programmer: device connected"

i think this issue with the perticuler batch version 2024.34, because same nRF52 DK board PCB Version 2024.44 batch working fine!.

please help me out from this flashing issu.

Thanks,

Parth

Parents Reply Children
No Data
Related