Hi,

it looks like you haven't started the timer that ACLK corresponds to. Or, because the "fired" event should run when the timer compare interrupt occurs, another reason could be that you don't have the interrupt enabled.

        Harri

At 03:41 19.1.2005 -0800, Cute Snoopy wrote:
Hello

I have a problem when I want to port TinyOS to MSP430F1611.

When I download and run in msp430-insight.exe , it can go to next step until it runs to function "uint16_t busywait_delta()"
It always get stuck in line "while( m_aclk_count != 0 ) { }"
and in window "msp430-gdbproxy.exe --debug msp430"
it shows " debug: msp430: msp430_wait_partial()"


I don't know
what's it waiting for?
when does "m_aclk_count" equal zero (for quit loop while)?
when does "m_aclk_count" decrease? I see "m_aclk_count--" in function "ACLKCompare.fired()" but when it runs?
or how to solve this problem to go to next step and continue running ?



Thank a lot Duang


Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. <http://us.rd.yahoo.com/evt=29917/*http://info.mail.yahoo.com/mail_250>Learn more.
_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

_______________________________________________ Tinyos-users mailing list [email protected] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to