The nRF52840 custom board not working, Hardware is verified many times, The chip detection is proper but after the code flashing it will go to the device protected,I tried BLE and LED blink code both are not working,
The nRF52840 custom board not working, Hardware is verified many times, The chip detection is proper but after the code flashing it will go to the device protected,I tried BLE and LED blink code both are not working,
Hi,
The error log indicates that the program thinks you're programming a nRF5340. Can you share the full device marking on the chip?
Could you also specify what kind of debugger you're using to program your custom board and share a picture of how you have connected it?
regards
Jared
Hi, Thank you for your response, Files and pics related to this issue I attached bellow
We are using j-Link EDU for programming
connection
external power J-link nRF52840
3.3V ---> VTref ....> 3.3V
GND ....> GND ...> GND
SWDIO ....> SWDIO
SWCLK ...> SWCLK
2023-05-23T12:55:12.205Z DEBUG Application data folder: C:\Users\LANWARE\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer 2023-05-23T12:55:12.310Z DEBUG App pc-nrfconnect-programmer v3.0.8 local 2023-05-23T12:55:12.310Z DEBUG App path: C:\Users\LANWARE\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer 2023-05-23T12:55:12.310Z DEBUG nRFConnect 4.1.1, required by the app is (>=4.0.0) 2023-05-23T12:55:12.310Z DEBUG nRFConnect path: C:\Users\LANWARE\AppData\Local\Programs\nrfconnect\resources\app.asar 2023-05-23T12:55:12.310Z DEBUG HomeDir: C:\Users\LANWARE 2023-05-23T12:55:12.310Z DEBUG TmpDir: C:\Users\LANWARE\AppData\Local\Temp 2023-05-23T12:55:12.558Z INFO Using nrf-device-lib-js version: 0.6.8 2023-05-23T12:55:12.559Z INFO Using nrf-device-lib version: 0.14.13 2023-05-23T12:55:12.559Z INFO Using nrfjprog DLL version: 10.19.1 2023-05-23T12:55:12.559Z INFO Using JLink version: JLink_V7.80c 2023-05-23T12:55:13.224Z INFO Getting serialport options from persistent store {00000000-0000-0000-FFFF-FFFFFFFFFFFF}.pc-nrfconnect-programmer 2023-05-23T12:55:13.225Z INFO Getting serialport options from persistent store 000261006651.pc-nrfconnect-programmer 2023-05-23T12:55:13.225Z INFO Getting serialport options from persistent store .pc-nrfconnect-programmer 2023-05-23T12:55:15.526Z INFO Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via JLink 2023-05-23T12:55:15.527Z INFO JLink OB firmware version J-Link V11 compiled Sep 22 2022 14:53:28 2023-05-23T12:55:15.527Z INFO Device family NRF52_FAMILY 2023-05-23T12:55:15.527Z INFO Device version NRF52840_xxAA_REV2 2023-05-23T12:55:15.528Z INFO Board version Unknown 2023-05-23T12:55:15.528Z INFO Loading readback protection status for Application core 2023-05-23T12:55:15.833Z INFO Readback protection status: NRFDL_PROTECTION_STATUS_NONE 2023-05-23T12:55:16.291Z INFO Parse memory regions for Application core 2023-05-23T12:55:16.293Z INFO Update files regions according to Application core 2023-05-23T12:55:16.293Z INFO Parse memory regions for file 2023-05-23T12:55:16.297Z INFO Device is loaded and ready for further operation 2023-05-23T12:55:16.298Z INFO Reading memory for NRFDL_DEVICE_CORE_APPLICATION core 2023-05-23T12:55:17.212Z DEBUG Client Id: ab9a5b0f-d008-40d1-a0d0-0bbddfa61593 2023-05-23T12:55:18.048Z DEBUG Google Analytics for category pc-nrfconnect-programmer has initialized 2023-05-23T12:55:23.830Z INFO Reading memory for NRFDL_DEVICE_CORE_APPLICATION core completed 2023-05-23T12:55:23.833Z INFO Parse memory regions for Application core 2023-05-23T12:55:24.395Z INFO Resetting device completed
Hi,
Are you able to recover the device if you use nRF Command Line Tools':
nrfjprog --recover
regards
Jared
Hi,
Are you able to recover the device if you use nRF Command Line Tools':
nrfjprog --recover
regards
Jared