Hi team,
I am working on SDK v16.0.0 and using the nRF52840 DK. I generated a new private key public key pair using nrfutil and used that to generate dfu_public_key.c to replace the default one in the SDK. However, when I build the secure ble bootloader debug project (e.g. nRF5_SDK_16.0.0_98a08e2\examples\dfu\secure_bootloader\pca10056_s140_ble_debug) it is still using the default key even though the linked dfu_public_key.c file is the one that I had generated. Is there a way to get the debug bootloader to use my generated key?
I noticed in the non-debug version of the example, it is using my key and I can then do a DFU of signed images with my private key. With debug version of the example, it is only taking the test images provided in the SDK (nRF5_SDK_16.0.0_98a08e2\examples\dfu\secure_dfu_test_images\ble\nrf52840)
Also, can you help me understand what the differences are between the debug and non-debug versions of the project? It looks like logging over RTT is enabled in the debug project. Anything else?
Sincerely,
Akash