Hi,
I purchased some new nRF52840-DKs (PCA10056) from Digikey and loaded the default Nordic Bluetooth Low Energy code onto them, but it seems like every time I unplug the DK from my computer, the code seems to be lost and I have to load the code onto it again. On older DKs, it seems like this was not the behavior, and I was able to load the default BLE code and unplug/plug-in my DK without the code getting erased automatically. Is there any way I can get the same behavior on the new DK’s?
Steps to reproduce:
- Configure switches for nRF52840-DK as follows:
- Power set to ON, nRF Power source set to VDD, SW set to Default
- Plug in nRF52840-DK into PC using USB
- Run recovery using “nrfjprog --recover" in the command line
- Open nRF Connect for Desktop v3.12.0
- Open Bluetooth Low Energy App v4.0.0
- Select the nRF52840-DK in the dropdown list
- Wait for the programming message to pop up and then click Yes
- After programming is complete, after a few seconds the DK shows up as being able to scan for Bluetooth devices
- Close the Bluetooth Low Energy App
- Unplug the DK from the PC
- Wait a few seconds
- Plug in the DK to the PC again
- Open Bluetooth Low Energy App
- Select the DK from the dropdown list
- The programming pop-up shows up again. I am expecting that the DK should still be programmed from last time and I should be able to scan for Bluetooth devices, but it seems the code did not stick
Other comments:
- When I connect to this DK using J-Flash, it says that there is no valid license for J-Flash found on the on-board programmer:
- Part Marking: N52840 QIAAF0 2134AG and N5340 QKAAD0 2145AM
- Does not work on both SEGGER J-Link V7.60 and V7.80
- The first log “2022-10-04T20_21_21.674Z-log” is right after the Bluetooth Low Energy App finishes programming the DK. The second log “2022-10-04T20_23_01.470Z-log” is after unplugging the DK and connecting to the DK a second time.
Thanks,
Debbie