This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

eZ430-Chronos factory firmware recovery using limited tools

Hi,

 It is not possible to reprogram the Chronos with default Sports Watch firmware due to the code size limitation

of CCS core edition and IAR EW kickstart (SLAU292.pdf page 64).

That makes difficult to start with software development for that platform for people, who don't have full software versions.

Is there any other way of doing it (as I see the ASCII hex file for it under Recovery directory)?

In other words how to reprogram the MSP430 (CC430) without sources having only hex file using limited CCS, IAR?

I would like to have that option as a reference.

Jan

  • as I understand it (haven't checked in details) you have two project for the default firmware, the full one, and the limited one.

    The limited one should be exactly the same but use some precomiled library to bypass the code size limitation of the trial IDE...

  • I did compare the code generated by the IAR IDE Limited Edition with the hex file found in the Recovery folder. They are identical. I also dumped the Flash of the actual 915MHz Chronos I got, it also agrees with the corresponding files above.

    I think the CCE IDE produces a different code. Could someone verify that?

  • Thanks guys,

     That solves my problem.

    Jan

  • Elwing's answer is correct. The limited versions of the project uses the pre-compiled library for the hardware driver to allow you to still get the full functionality of the watch software with the free versions of the IDEs.

    In the limited project, all code files in the folder driver have been pre-compiled into the library ez430_chronos_drivers.lib to ensure the size of the remaining codes stays within the limit(s) set by the free version of the IDEs. In either IAR/CCS, notice when you switch project selection from Full to Limited, all .c files in the folder driver are excluded and ez430_chronos_drivers.lib becomes included. Users of free versions can still fully leverage the library and use all of the function calls provided as described in the .h and .c files.

     

    Regards,

    Dung

     

  • Hello Dung,

    I seem to have done something to my watch after only having it a few days.  I ran the "hello world" debug and the watch went blank.  What is the file name and how do I run it in order to restore the factory loaded settings/program on the watch please?


    Thank you,

    Todd

  • Todd,

    if you have installed the Chronos SW package, you should be able to find a Recovery folder containing the firmware images for the watch. Make sure to use the firmware with the correct frequency band.

    Two ways to re-programing the firmware:

    1. Through the eZ430 emulator: download & use Elprotronic FetPro Lite to download the image to the watch's CC430 device

    2. Wirelessly through the Chronos Control Center & the included Access Point: this method requires your watch to still have the rfBSL. If unsure, use option #1.

    Regards,

    Dung

  • That worked beatifully Dung.  Thank you!  I used the wired version because the watch wasn't displaying anything.

  • Todd/Dung,

    It looks like I have made the same mistake.  I tried to reprogram the ez30-chronos wirelessly; the update failed and now the watch is completely blank.

    I connected the watch to the computer using the RF debug interface.

    I have downloaded the  Flashpro2000 software as well.  The Flashpro2000 says "programming adapter not detected".

    Could you please help me understand how I can reset the watch to factory settings.

    Thanks in advance,

    Shailesh

  • Shailesh Sarda said:
    The Flashpro2000 says "programming adapter not detected".

    Probably because you don't have an Elprotronic Flashpro2000 adapter.
    You need the free FET-Pro430 software further down the download page, which is for TIs FETs


  • Thanks Jens-Michael.

    Should I erase all flash memory or user memory only before installing recovery txt file?

  • Jens-Michael,

    Thanks for your help.  I was able to restore the ez430 to its default program after I applied the "eZ430_Chronos_915MHz_1_5.txt" from the recovery folder.

    Now I am not able to control center is not recognizing the watch.  Any suggestions.

    I really appreciate your help.

    Thanks Shailesh

    I

  • Shailesh Sarda said:
    Should I erase all flash memory or user memory only before installing recovery txt file?

    Doesn't matter.
    'erase all' is much faster, sicne it uses the parallel mass erase feature, while the other one requires to manually erase all segments used by the program one by one. It is only necessary if you want to upload more than one program or keep certain areas that have been filled with data by the previous program runs.

  • The only reason that I can imagine that could cause this problem would be if you upload a wrong firmware. Do you really have an 915 MHz Access-Point?

**Attention** This is a public forum