nRF Connect for Desktop Bluetooth Low Energy - Keeps on saying "Device must be programmed"

Hello,

I'm using the nRF Connect for Desktop Bluetooth Low Energy Standalone app version v4.0.4 with a PCA10056 (Rev. 3.0.0).

The DK has "one of those newer" NRF52840 chips on it which switch on APPPROTECT by default.

I guess this is the reason the application says "Device must be programmed" every time (1). However, if I click yes, the popup will simply disappear after a short while, nothing further will happen.

(1) To fix the problem properly, I have to enter "nrfjprog --recover" on the command line, and after the command is finished, I can select the DK in the nRF Connect for Desktop Bluetooth Low Energy app again, and when I confirm the programming, this time it will program the DK properly, and afterwards show the "nRF5x" box in the connection map.

But as soon as I power off or disconnect the DK, the problem begins anew. The Desktop will say again that "the device needs to be programmed".

The OS is Windows 11, 64bit (Build 22621).

Parents Reply Children
  • Ok, thanks Ervin.

    Even doing the recovery I was still having issues with 4.0.4 in that it wasn’t allowing my DK to start scanning.

    j ended up uninstalling and installing 4.0.1 and that seems to work for what I want

    Cheers,

    Mike

  • Hello everyone, I am new here,
    I get this notification once I use DK NRF52832 OR Dongle NRF52840 "Device must be programmed, do you want to proceed?"
    The questions are:
    1. What do I program/flash inside the chip (I need to watch a source code)?
    2. Where is the HEX file/source folder code that the Windows application asks me to program (on the physical HD drive)?
    3. I am using nRF5_SDK_17.1.0_ddde560.
    Can I make my HEX file with it, so that, I will be able to program on the chip and see the result on NRF connect for desktop - > Bluetooth Low Energy?

  • Hello,

    If you want to use your dongle for the nRF Connect for Desktop -> Bluetooth Low Energy, then you need it needs a program that the computer application can talk to. 

    The source code of this program is not open source, but you can just click the "Yes" button in your picture, and it will be programmed for you. 

    If you dongle is not in DFU mode (slow breathing red light), then press the reset button while the dongle is powered, and it should start blinking red. Then select the COM port for your dongle, and press "Yes" when that question pops up. 

    NB: The reset button on the dongle is not the big white button, but the small grey "sideways" button right next to it that says "RESET" on the PCB.

    BR,
    Edvin

Related