wasp-bootloader: a robust SoftDevice bootloader for PineTime
#2
Hi @danielt ,

I've finally some free-time, and I would like to test your wasp-bootloader, see how it works and maybe adapt my firmware to be compatible with OTA using wasp-bootloader.

I've managed to build and program the bootloader on my pinetime. Now, I would like to build an image I can send to program my firmware on my pinetime.

Could you give me some info on how to achieve this? How do you create the image? Is it just a zip file containing the HEX/BIN file?
And how do you program it? In your video, it seems you are using NRFConnect? Is there a desktop application that I can use to transfer the image?

EDIT : I found that one can create a DFU image using adafruit-nrfutil:
Code:
$ adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application pinetime-app.hex dfu.zip

Then, this image can be sent to the pinetime running the booloader using NRFConnect (smartphone app).

So far so good, it works as long as the application uses the same BLE stack as the bootloader (which is the case of my firwmare).

Thanks!
Working on InfiniTime, the FOSS firmware for the PineTime: https://github.com/InfiniTimeOrg/InfiniTime

Mastodon : https://mastodon.codingfield.com/@JF
Twitter : https://twitter.com/codingfield
Matrix : @JF002:matrix.org


Messages In This Thread
RE: wasp-bootloader: a robust SoftDevice bootloader for PineTime - by JF002 - 04-09-2020, 10:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  wasp-os bluetooth dev documentation? vrtigo 0 728 01-16-2025, 03:43 PM
Last Post: vrtigo
  Pinetime - Kids with special needs hidara 0 846 06-11-2024, 10:42 PM
Last Post: hidara
  Develop a new firmware for PineTime belushi 2 2,548 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 1,156 08-20-2023, 05:17 AM
Last Post: Luno
  Zephyr Backlight Examples for PineTime lcj 0 1,351 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 3,164 05-06-2023, 02:15 PM
Last Post: lcj
  Send a message from Android to pinetime via BLE razrosman 0 1,541 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 3,113 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 2,575 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 2,190 03-20-2022, 08:58 PM
Last Post: jandy

Forum Jump:


Users browsing this thread: 1 Guest(s)