Wednesday, July 18, 2012

Start Here

I got this eZ430-Chronos, the TI watch development tool, about 3 years ago (2009).  It was intended to inspire my son Alvin for embedded system development.  Turn out we both don't have time then.

Start ez430 wiki

Installation

   Install the CD for all the drivers and CCS4 development IDE.  After install CCS, run it and got update notification and proceed to update.

Wireless Update ?

Since 2010, ez430-Chronos got the capability for wireless update.  Our kit need update to do that.

Watch Firmware Update

   Get the eZ430-Chronos Firmware Update Tools to update my watch (915Mhz version).  However, to make it work, the RF Access Point also need to update.

RF Access Point Update

We need another tool CC-DEBUGER and connect it to RF board to update.  Since we don't have CC-DEBUGGER, just forget about it for now.

Working Test

Plug in RF board and run Chronos Control Center.
  1. Start Access Point (Chronos Control Center)
  2. Watch # key to Acc mode.  Press down to start (and stop) sending ACC data.  
  3. X Y Z show the wave of data collected.
  4. Watch # key to PPT mode. Press down to start (and stop) ppt mode.
  5. Watch up, #, * key pressed show on Chronos Control Center)

Compile and Debug

  1. Start CCS
  2. Project->Import Existing CCS Eclipse Project (Select existing project from installed folder)
  3. Select ez-430 as active project.  Target (right click select 915 limited).
  4. Select temperature.c
  5. find "display_temperatture() function.  Add first line : sys.flag.use_metric_units = 1
  6. Build 
  7. Debug
  8. Set break point at display_temperature function
  9. Press * to temperature mode and program stop
  10. continue run and all temperature display is using metric_unit (Celcus).
My display is 30.9C now.  It can't be right.  It is not that hot here.  Maybe battery is low or need calibration now. Battery voltage is 29.1V (according to reading from watch).  From multi-meter, battery is 2.96V(without load).





No comments:

Post a Comment

Note: Only a member of this blog may post a comment.