Close

Sky is the limit!

A project log for Open source sport/smart watch

Make Weloop Tommy an open source sport watch that can connect directly to all kind of sensors (heart rate monitor and so on)

krzysiekKrzysiek 03/22/2015 at 09:012 Comments

Today I managed to write an app for mac OSX that's able to upload a custom firmware using firmware update feature of the watch. It doesn't require to enter an OTA mode so there's a catch:

You can upload a custom firmware to any watch that's in the bluetooth range and is not connected to any phone! No physical access needed!

Because of that issue I decided not to publish source code. But it doesn't stop you from uploading your custom firmware in OTA mode. To enter OTA mode just connect a charging cable, press all 3 buttons on the right side of the watch and release top and bottom keeping middle button pressed few seconds more. How to upload a new firmware in that mode? Just use a nRF Master Control Panel on an android phone. No need to calculate and provide firmware checksum (.dat file), watch bootloader is old and doesn't require to do that.

Firmware upgrade constrains

There are two ways to modify the watch:

The first option is quite easy. There's no way you can break anything (unless you play with internal flash from the code ;) ) because there's always a possibility to switch watch to an OTA mode and override existing/broken firmware. But it has also the biggest limitations:

To write a firmware that way you need to:

The second option is to override not only firmware but also the bootloader and the softdevice. That way we can use other softdevices like S120 (for central device) or S130 (both central and peripheral) and write anything we want!

I will try to upload S130 softdevice and a sample app in the following days. Stay tuned!

Discussions

nerd1337 wrote 03/25/2015 at 11:25 point
I can't wait to see some code

  Are you sure? yes | no

J F wrote 03/25/2015 at 08:18 point

Great to know that project is moving forward ;)

  Are you sure? yes | no