Firmware Update over Bluetooth LE
#1
Hi All: Here's a proposed plan for supporting PineTime firmware updates over Bluetooth LE. If you're a firmware developer, please take a look...

https://lupyuen.github.io/pinetime-rust-...ticles/dfu

It covers everything we need to do to implement firmware updates in our firmware: Bootloader, Bluetooth Stack, Firmware Rollback, Flash ROM Layout, Firmware Format, Mobile Apps, ...

We need to adopt a common mechanism for firmware updates if we wish to allow PineTime Owners to switch firmware easily. It's more work for us developers... But it's a huge benefit for PineTime Owners!

Please lemme know what you think... While writing this article I have received really good feedback from firmware developers. Their suggestions have been documented in the "Upcoming Enhancements" section.

The most serious limitation in the proposed design is that the firmware size must not exceed 232 KB. Hence there will be an upcoming enhancement to increase this limit (by moving the Standby Firmware Image to External SPI Flash).

Thanks everyone for the awesome work on PineTime... Now let's make PineTime fun and easy to learn and explore! :-)


Messages In This Thread
Firmware Update over Bluetooth LE - by lupyuen - 05-11-2020, 07:24 AM
Firmware Update over Bluetooth LE - by lupyuen - 05-16-2020, 02:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Develop a new firmware for PineTime belushi 2 1,365 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 553 08-20-2023, 05:17 AM
Last Post: Luno
  Python programme for a vibration signal from Raspberry Pi 4 via bluetooth connection Tria91 1 685 06-03-2023, 04:14 PM
Last Post: wibble
  Realtime heartrate and accelerometer via bluetooth Marc_s 0 618 05-01-2023, 05:40 AM
Last Post: Marc_s
  help on developing BLE bluetooth MIDI Luno 0 693 04-05-2023, 12:08 PM
Last Post: Luno
  How to use bluetooth after flashing mynewt razrosman 0 1,128 06-09-2022, 12:27 PM
Last Post: razrosman
  bluetooth heart rate real time monitoring ptmatrtwo 3 3,566 02-03-2022, 10:06 PM
Last Post: barray
  bluetooth GATT questions wilsonjw 2 2,541 07-08-2021, 08:33 PM
Last Post: wilsonjw
  Update bootlogo and pinetime-app with OTA/DFU lookin 3 4,822 11-25-2020, 04:51 PM
Last Post: lookin
  Article: Bluetooth Time Sync and LVGL on PineTime Mynewt lupyuen 0 2,638 10-15-2020, 05:51 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)