This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to create Public and Private Keys with nrfutil and getting them into segger secure bootloader project.

Hello,

I am trying to upload the BLE DFU Secure bootloader onto my nRF52 DK for OTA programming, but I keep getting the build error "#error "Debug public key not valid for production. Please see github.com/.../README.md to generate it". I have visited this github readme page and tried the nrfutil commands, but as I tried to create my private key and then display my public key I got the error messages below from the windows batch file I'm trying to do all this in (using python 3.7, with arm  GCC compiler toolchain for ARM version 5.3, no Make software is installed) . Once these keys are generated I know I am supposed to include them in my bootloader folder, but since I am using SDK 15.2 is that just the dfu folder in examples where the default key is located or is it deeper within the secure bootloader folder? I am using the nRF52 and trying to program it with SEGGER IDE. 

I appreciate any help, as this is my first project and I have never done OTA programming before.

Related