fix and finish up the phase clock code so it actuall works. Recorded the first sleep phase this night with uberclock and it looks quite good. Code needs cleanup however.
Needs connection checking and relinking on problems....
fixed the debug flags and added a make debug_asm to generate .s files for static analysis with msp430-static tool
the debug build will however not link as the size exceeds the flash size
It turns out there was never a problem with the build.
I discovered later that I had a Windows 7 problem that
prevented the BM Firmware Update Tool and also TI's
BSL_Scripter tool from accessing the the USB FET.
I've since rebooted my machine and have repeated flashed
the watch with mspgcc4 project with not problems.
Paul
Since flashing the watch with this build a couple of days ago
it has been working fine, until I tried to flash it again with
the USB FET and the BM Firmware Flash Tool , the same tool that
worked before I flashed the watch with this build.
Although I was not able to flash the device with the USB FET
I was able to flash it with the RFBSL. But even after reflashing
it with the factory TI firmware I still could not flash it with
the USB FET.
However, using the IAR Workbench debug process I was able to flash
it with the USB FET, and after flashing it this way with the original
TI firmware, the USB FET capability is back. I am able to flash it
once again with the BM Firmware Flash Tool via the USB FET.
So a little research is in order to determine how to incorporate the
USB BSL into this project.
Although I was not able to flash the device with the USB FET
I was able to flash it with the RFBSL, but even after reflashing
it with the TI firmware I still could not flash it with the USB FET.
However, using the IAR Workbench debug processI was able to flash
it with the USB FET, and after flashing it this way the USB
FET capability is back. I was able to flash it once again with the
BM Firmware Flash Tool via the USB FET.
I don't remember why this flag was there.
Passing msp430-gcc or msp430-as --help, neither show a -s option.
The closest is -as assembler option.
Hopefully this unknown option was just being ignored and removing
it will do no harm