Go to previous topic
Go to next topic
Last Post 04 Apr 2005 11:44 AM by  Anonymous
Where is timer tick value located in LOLO?
 1 Replies
Author Messages
david.clarke
New Member
New Member
Posts:


--
14 Mar 2005 07:51 AM
    I am using the 79520 SDK without an operating system and have a need for a timer tick. I notice that LOLO seems to use Time0 for a 1MS timer tick interrupt, which is exactly what I need. So rather than setting up my own timer-tick interrupt, I thought I would just read the tick value already kept by LOLO.

    Can someone tell me where the timer tick value that LOLO keeps is stored, and what size it is?
    Anonymous
    Posts:


    --
    04 Apr 2005 11:44 AM
    David,

    Sorry for the delayed response on this:

    Due to ongoing development with LoLo this probably isn't t the best idea since these are not static values. I have not tested this myself but these are the addresses that should work with the latest version of LoLo on the 9520.

    You should be able to find them at the following :
    2003612c : ticks_ms
    20036130 : ticks_s

    You can use the 'x' command in LoLo to examine these registers. In theory this should work but it may not. You may end up having to implement your own timer.

    Thanks,


    ---