Hi,
I have the NRF52 dev kit with NRF522832 chip. I am using SDK version 15.2 and the Segger IDE. I am trying to do OTA programming and have used this tutorial:
I have taken the sample ble_blinky_app in the examples and my own code and this is what I tried out:
1. Generated the private and public key with nrfutil.exe.
2. Used the secure_dfu_bootloader in examples\dfu\secure_bootloader. Mine is the PCA10040 chip so I am using the code in pca10040_ble. I am able to program the bootloader and the dev kit broadcasts DfuTarg.
3. I compiled both blinky app and my own code with the private key and generated two different .zip packages.
4. I used the NRF Connect app to connect to the dev kit DfuTarg and did OTA programming with the DFU button that appears once you connect. The blinky app was programmed and I tested it out.
5. I then tried to reprogram the kit through OTA. This time the kit broadcasted "Nordic Blinky" as the blinky app was programmed. This time I could not find the DFU button. How do I reprogram through OTA when there is another application already programmed?
6. I had to erase the blinky application and reprogram the DFU bootloader in order to perform OTA programming.
How can I repeatedly perform OTA programming? The rest of the tutorial talks about combining bootloader, application and soft device. Do I have to do this? I am having a tough time trying to figure out what exactly I need to do to achieve repeated OTA programming capability.
Thanks in advance.