TI can you help? possible bug in CCS Sports Watch project

33 views
Skip to first unread message

Paul F. Sehorne

unread,
May 29, 2010, 2:12:09 PM5/29/10
to ti-chronos-...@googlegroups.com
Up until yesterday I had only flashed my v1 eZChronos with IAR using source code provided with the IAR project and using the USB programmer.
It worked fine. Yesterday for the first time I brought the eZChronos project in Code Composer. It compiled without error. I then used the
RFBSL functionality to program the watch. The "loct" function did not work properly. It was inconsistent.

At times pressing # and the down buttons would lock the watch. At other times that combination of buttons would not work, but pressing the * and
the up button would lock the watch. BUT.... when I tried to unlock neither combination of button presses would work. I would get only the
'Loct" message. And even thought the "Loct" message displayed I could still scroll through Line 1 menus - but not through Line 2 menus. At some point that seemed to be associated with a either a timeout or some combination of button presses the would would be unlocked, even though it never displayed the "Open" message.

As a double check I then reflashed the watch with the IAR project, and everything work normally. I then flashed again with the CCS project and the Loct function no longer worked properly. Looking for differences in the two code bases now.... but the problem could be in the CCS lib file that I have to link to since I am using the code limited version. In which case I will not be able to fix the problem myself, even if I do find it. At least not unless I install the time limited full function version or get mspgcc working.

I'll report what I find.

But in the meantime, has anyone else ran across this problem and determined the solution?

Paul


psehorne

unread,
May 29, 2010, 4:16:52 PM5/29/10
to TI Chronos Development
In my original post I should have mentioned that the code I am having
the problem with is the new code with the RFBSL functionality. The
old code from 2009 works properly (I just flashed my watch with the
old code, and the Loct funtion works properly. Of course, I lost the
RFBSL function.

Paul

psehorne

unread,
May 30, 2010, 1:09:16 PM5/30/10
to TI Chronos Development
After additional troubleshooting and inspection of code, I believe
that the *.lib file provided with the CCS eZChronos project (the march
2010 version with the new RFBSL function) was not build with the
provided source code. I have compared the source code with the source
code in the IAR project and find no differences. Yet, although the
compiled IAR version works properly, and the compiled CCS version does
not - the "loct" function does not work properly.

I believe the *.lib file in the driver directory is the problem.

TI, can you help?

Thanks,
Paul

samop

unread,
Jun 2, 2010, 4:54:06 AM6/2/10
to TI Chronos Development
I second that... I was facing the same problem before I checked this
group and I see I am not the only one with problems. Thanks Paul for
pinpointing the bug.

Samo.

Al

unread,
Jun 29, 2010, 8:13:26 AM6/29/10
to TI Chronos Development
Bump. I also ran into this problem. I told CCS to include the button
file (port.c I think) in the compile but that made no difference.
Haven't had time to try to run it to ground yet. But very annoying,
especially considering if you lock the watch up you can't rfBSL
anymore :-(


On Jun 2, 3:54 am, samop <samo.pe...@gmail.com> wrote:
> I second that... I was facing the same problem before I checked this
> group and I see I am not the only one with problems. Thanks Paul for
> pinpointing the bug.
>
> Samo.
>
> On May 29, 8:12 pm, "Paul F. Sehorne" <pseho...@gmail.com> wrote:
>
>
>
> > Up until yesterday I had only flashed my v1 eZChronos with IAR using source code provided with the IAR project and using the USB programmer.
> > It worked fine. Yesterday for the first time I brought the eZChronos project in Code Composer.  It compiled without error.  I then used the
> > RFBSL functionality to program the watch.  The "loct" function did not work properly.  It was inconsistent.
>
> > At times pressing # and the down buttons would lock the watch.  At other times that combination of buttons would not work, but pressing the * and
> > the up button would lock the watch.  BUT.... when I tried to unlock neither combination of button presses would work.  I would get only the
> > 'Loct" message.   And even thought the "Loct" message displayed I could still scroll through Line 1 menus - but not through Line 2 menus.  At some point that seemed to be associated with a either a timeout or some combination of button presses the would would be unlocked, even though it never displayed the "Open" message.
>
> > As a double check I then reflashed the watch with the IAR project, and everything work normally.  I then flashed again with the CCS project and theLoctfunction no longer worked properly.  Looking for differences in the two code bases now.... but the problem could be in the CCS lib file that I have to link to since I am using the code limited version. In which case I will not be able to fix the problem myself, even if I do find it.  At least not unless I install the time limited full function version or get mspgcc working.

Al

unread,
Jul 2, 2010, 9:35:56 PM7/2/10
to TI Chronos Development
For the record I finally gave up and switched to the Open Source
firmware and Linux tools.

Details: http://www.drdobbs.com/blog/archives/2010/07/ez430chronos_an.html
Reply all
Reply to author
Forward
0 new messages