wolfBoot-examples/riotOS-nrf52840dk-ble
Daniele Lacamera fb4717101f Fixed key generation when building from clean slate 2021-02-05 12:38:44 +01:00
..
RIOT@bb1a3470d7 Added demo update via BLE (GATT server on nRF52/RiotOS) 2021-02-05 11:15:59 +01:00
linux-bluez Added demo update via BLE (GATT server on nRF52/RiotOS) 2021-02-05 11:15:59 +01:00
nrf52-gatt-service Fixed location of README.md 2021-02-05 11:15:59 +01:00
Makefile Fixed key generation when building from clean slate 2021-02-05 12:38:44 +01:00
README.md Fixed location of README.md 2021-02-05 11:15:59 +01:00
flash_all.jlink Added demo update via BLE (GATT server on nRF52/RiotOS) 2021-02-05 11:15:59 +01:00
flash_erase.jlink Added demo update via BLE (GATT server on nRF52/RiotOS) 2021-02-05 11:15:59 +01:00
wolfboot-config Added demo update via BLE (GATT server on nRF52/RiotOS) 2021-02-05 11:15:59 +01:00
wolfboot.mk Fixed key generation when building from clean slate 2021-02-05 12:38:44 +01:00

README.md

BLE Firmware update with wolfBoot on nRF52

Components

  • BLE GATT server application, running RIOT-OS
  • Python firmware update client, running on GNU/Linux

Usage

  • Compile wolfBoot and the GATT server application using:
make
  • Connect the nRF52840 Development Kit and use the following command to upload the bootloader and the version 1 of the signed application to the board:
make flash
  • Prepare an update package using:
make update
  • You can check the current version running on the target, either from a USB-serial console on /dev/ttyACM0 by typing info into the shell, or by reading the BLE GATT characteristics of the device.

  • Use the fwupdate.py python application to transfer the update via BLE:

linux-bluez/fwupdate.py nrf52-gatt-service/bin/nrf52840dk/nrf52-gatt-service_v2_signed.bin