Coder Social home page Coder Social logo

openchronos-ng-elf's Introduction

Build with MSP430 GCC

GENERAL INFORMATION

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

INTRODUCTION

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).

INSTALLATION

Prerequisites

Compilation

  • MSP430_TI=/opt/msp430-ti/ cmake .
  • make config
  • make

Flashing the watch using USB FET

  1. Connect the internal watch module to the USB FET module

  2. Reset the watch using the menu or reinserting the battery

  3. Program it using mspdebug

make usb-install
  1. Disconnect the watch module and the watch should display BOOT

  2. 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.

Flashing the firmware using wireless (RFBSL)

  1. Connect the USB CC11x1 module

  2. Reset the watch using the menu or reinserting the battery

  3. Program it using ChronosTool.py (Note that sudo might be required. Also repeat this step if it fails)

make radio-install
  1. Press Enter

  2. Enter RFBSL by pressing the DOWN button on the watch

  3. Press any button except DOWN and you should be up and running the new firmware.

Boot Menu

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.

Useful links

openchronos-ng-elf's People

Contributors

anilgulecha avatar benjaminsoelberg avatar catsup avatar d-o avatar dkm avatar dpwe avatar epall avatar g5pw avatar gabrielventosa avatar jeepee avatar madsen avatar maxharm avatar mhasdf avatar midluk avatar miknix avatar nechutny avatar ngerstle avatar pechfunk avatar poelzi avatar pretyman avatar psehorne avatar quoraquestions avatar ra1fh avatar rdmiller3 avatar rmarku avatar robomotic avatar ronniesalomonsen avatar ryd avatar veprbl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.