Datasheet
Sign the Build with a Version Number
You can prepare the image to be flashed to the device with a mandatory version number and signing details via the
newt create-image command:
And finally you can flash the image via one of two methods:
Flash the Image via a Segger J-Link
With the J-Link connected to the nRF52, run the following command to flash the signed image:
Flash the Image via the Serial Port and newtmgr
For details on how to flash the image over newtmgr using only the serial port (no J-Link required), see Uploading
Application Images with newtmgr (https://adafru.it/yAi).
$ newt build first
Building target targets/first
Compiling repos/apache-mynewt-core/boot/bootutil/src/loader.c
...
Compiling repos/apache-mynewt-core/util/mem/src/mem.c
...
Archiving util_mem.a
Linking [PATH]/bin/targets/first/app/apps/first/first.elf
Target successfully built: targets/first
$ newt create-image first 0.1.5
App image succesfully generated: [PATH]/bin/targets/first/app/apps/first/first.img
This command assumes that you have the Segger J-Link drivers installed on your system, as described in the
Native Installation pages.
$ newt load first
Loading app image into slot 1
© Adafruit Industries https://learn.adafruit.com/adafruit-nrf52-pro-feather Page 52 of 87










