You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Daniel Poelzleithner fd3ff268c8 large update to sleep clock code and simplicti
* implemented a nice send and receive framework.
  Code in simplic_tx_only loop can request receive window.
  In this window the recv of rf will be active and a R2R
  (ready to receive) package is sent. By then the AP should
  have filled outgoing buffer and a received handler is called.

* made the sleep clock use initialisation.
  When starting the sleep clock, a new session id is requested that is
  sent with every package (3 bits), together with the couter (5 bits).
  When initialized a hash of the hardware address is sent so the clock
  can detect which watch is running. Also a currently unused program id
  can be sent to select the watch program later on.
13 years ago
bluerobin Initial commit: 13 years ago
contrib finish up sleep clock 13 years ago
driver add missing change 13 years ago
gcc makefile and tree update 13 years ago
include add silence modus 13 years ago
logic large update to sleep clock code and simplicti 13 years ago
simpliciti large update to sleep clock code and simplicti 13 years ago
tools add debugging script i used 13 years ago
.gitignore ignore .s files 13 years ago
NEWS new docs 13 years ago
README docs update 13 years ago
TODO docs update 13 years ago
even_in_range.s Initial commit: 13 years ago
ezchronos.c large update to sleep clock code and simplicti 13 years ago
makefile updates to makefile 13 years ago

README

== Status ==

Works, but in development :-)

== Requirements ==

msp430-gcc4 http://mspgcc4.sourceforge.net/
make
python http://python.org

== Supported Compilers ==

msp430-gcc4
IAR msp430

Patches for more (more efficient) compilers are welcome :-)


== HOWTO ==

Copy intrinsic.h into [msp430-gcc-path]/msp430/include/intrinsics.h

To configure your image, run:

   make config

which will generate a config.h file that contains the settings for your build.

To compile the image run:

   make


It is HIGHLY suggested to make a clean build befor you flash the image with:

   make clean main

== Problems ==

 * Compile / Link problems:
   If you get error messages like this one:

     msp430/bin/ld: build/eZChronos.elf section `.text' will not fit in region `text'
     .../msp430/bin/ld: section .vectors loaded at [000000000000ff80,000000000000ffff] overlaps section .text loaded at [0000000000008000,0000000000013343]
     .../msp430/bin/ld: region `text' overflowed by 13250 bytes
     collect2: ld returned 1 exit status

   Your image is simply to large and will not fit into the flash. Try to disable some code with make config and try again :-)


== Difference to the TI Firmware ==

 * More Features that can be configured with make config
 * Day of week
 * Disable 12h support (saves space)
 * Sleep Phase Clock - primary designed for http://github.com/poelzi/uberclock
 * The wireless flashing starts differently:
   Select RFBSL, Press DOWN to unlock, Press # long to start
 * No BlueRobin support. BlueRobin is a closed source binary blob.
   We don't have a compatible object file for that
 * Pressing STAR and UP long sets silent mode (no beep)

== Usefull Tools ==
 * mspdebug - debugger, proxy for gdb, flasher, ...  
     http://mspdebug.sourceforge.net
 * msp430static - static analyzer for sourcecode
     http://msp430static.sourceforge.net/
   run 'make source_index' to index all source files