Forked from: github.com/BenjaminSoelberg/openchronos-ng-elf
Changes:
- Added flyback module (see flyback.c for some usage information)
- Added githash module to show githash of current build
- Added backlight module
- Added altitude module (black and white PCB pressure sensors supported)
- Switched to Python 3
- Compilable with newer MSP430 GCC (9.3.1)
- Removed Makefile in favor of CMake
Modular opensource firmware for the TI eZ430 Chronos.
openchronos-ng is a major rework of openchronos. Compared to openchronos it has the following features:
- system message bus for system<->module communication.
- hardware RTC timekeeping (no more clock inaccuracy).
- rework of timer and ports drivers.
- implementation of a module system (drop in applications).
- rework of the display routines.
- rework of the menu system.
The firmware code is also conceptually simpler and smaller which leaves room for more modules (applications).
- TI MSP430 GCC
- git
- mspdebug
- python 3
- python-urwid
MSP430_TI=/opt/msp430-ti/ cmake .
make config
make
-
Connect the internal watch module to the USB FET module
-
Reset the watch using the menu or reinserting the battery
-
Program it using mspdebug
make usb-install
-
Disconnect the watch module and the watch should display BOOT
-
Press any button except DOWN and you should be up and running the new firmware
Please note that this method is slow but very useful if flashing over wireless fails.
-
Connect the USB CC11x1 module
-
Reset the watch using the menu or reinserting the battery
-
Program it using ChronosTool.py (Note that sudo might be required. Also repeat this step if it fails)
make radio-install
-
Press Enter
-
Enter RFBSL by pressing the DOWN button on the watch
-
Press any button except DOWN and you should be up and running the new firmware.
In openchronos-ng, the watch no longer boots directly into the clock firmware.
To enter the BOOT menu you can either:
- Use the Reset menu
- Reinsert the battery
If the display shows BOOT you have successfully reset the watch and are now in the boot menu. Press the DOWN button to enter the wireless flash updater (RFBSL). Any other button will run the watch firmware.