Skip to content

MCUBoot with Firmware Update over Bluetooth

Pre-release
Pre-release
Compare
Choose a tag to compare
@lupyuen lupyuen released this 16 May 07:57
· 29 commits to ota2 since this release

Contents:

  • mynewt.*: Enhanced Build of MCUBoot Bootloader 1.5.0, supports Boot Graphic and SPI Flash

  • my_sensor_app.*: Application Firmware that supports firmware upgrade over Bluetooth.

  • boot-graphic.bin: Boot Graphic in RGB565 format (Hand-drawn PineTime Logo)

  • pinetime-rust-mynewt.7z: Complete set of build files generated on macOS

Refer to the articles...

  1. MCUBoot Bootloader for PineTime Smart Watch (nRF52)

  2. Wireless Firmware Update In Action on PineTime Smart Watch (nRF52)

Log:

Starting Bootloader...
Displaying image...
Image displayed
Button: 0
[INF] Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Boot source: primary slot
[INF] Swap type: none
Button: 0
Button: 0
Bootloader done
TMP create temp_stub_0
NET hwid 4a f8 cf 95 6a be c1 f6 89 ba 12 1a 
NET standalone node 
Testing flash...
Read Internal Flash ROM...
Read 0x0 + 20
  0x0000: 0x00 0x00 0x01 0x20 0xd9 0x00 0x00 0x00 
  0x0008: 0x35 0x01 0x00 0x00 0x37 0x01 0x00 0x00 
  0x0010: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
  0x0018: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
Read External SPI Flash...
Read 0x0 + 20
  0x0000: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
  0x0008: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
  0x0010: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
  0x0018: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
Flash OK
Rust test display