Post Reply 
50g Random Turn ON
12-06-2016, 09:23 PM
Post: #23
RE: 50g Random Turn ON
(12-06-2016 07:43 PM)Joe Horn Wrote:  This whole issue of the 50g turning itself on periodically was covered by Bill Wickes on page 622 of his book "HP 48 Insights, Part II". Pertinent excerpt from there:

Bill Wickes Wrote:The current time is encoded in HP 48 memory by means of a 52-bit RAM register and a 32-bit electronic counter. ... With 32 bits for the counter, the longest that the HP 48 can go without a time event is 2^31 ticks, slightly more than 3 days. That occurs when the HP 48 is turned off, and no alarms are scheduled within that time -- then the calculator wakes itself up just long enough to reschedule the next event time. Usually, all of this processing happens so fast that it is not noticeable.

Bottom line: Every HP 48/49/50 which is not awakened by something else will wake itself up every 3 days, 49 minutes, and 4 seconds, and then turn itself right back off. [Maybe the HP 28 too?]

Yes, that's the same thing I was referring to in a previous post about the timer (TIMER2, specifically) that expires and creates a "timer reset" interrupt when it happens.

However...

I don't believe that's the power-up that is being referred to by others in this thread. Why? Because that particular power-up happens as an interrupt that performs its functions and shuts down without engaging the normal System Outer Loop. As such, it shouldn't normally set up a situation where the system is left powered on -- which would presumably be required in order to trigger the "auto power-off" that is happening for folks that have a STARTOFF program defined when these random power-ups occur.

The 52-bit RAM register referred to by Wickes above is actually the date/time (in TICKS format) of the so-called "Next Event". I've seen references to that Next Event being any of several different things, including (but not necessarily limited to):

- The next second transition if powered on and the clock is displayed
- The next auto-poweroff if currently powered-on
- The next time an alarm is due
- The next time an "auto wake-up to reset TIMER2" occurs (if powered off)
- One hour after the last keypress was popped from the key buffer

Whichever of the above would happen soonest is the one that becomes the Next Event and is stored in the 52-bit RAM register. There may be other types of Next Events as well, I've just not seen specific references to them. I do seem to recall reading somewhere that battery conditions can affect the timing of the Next Event as well.

Knowing already that the handling of alarms on the ARM-based systems is problematic, I'm wondering if that "wake up and reset timer" Next Event is also getting tripped up somehow on those systems and thus leaving the calculator turned on. Or perhaps there's some other kind of Next Event that is triggering on these systems that has the same result. Although I'm fairly certain we'll never see a fix, perhaps we can eventually find a way to work around it (or at least predict it better) if we find out more about the source of the problem.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
50g Random Turn ON - HPfreak - 11-28-2016, 10:21 PM
RE: 50g Random Turn ON - rprosperi - 11-28-2016, 11:38 PM
RE: 50g Random Turn ON - SlideRule - 11-29-2016, 12:31 AM
RE: 50g Random Turn ON - HPfreak - 11-29-2016, 01:31 AM
RE: 50g Random Turn ON - DavidM - 11-29-2016, 02:53 AM
RE: 50g Random Turn ON - rprosperi - 11-29-2016, 03:26 AM
RE: 50g Random Turn ON - DavidM - 11-29-2016, 04:08 AM
RE: 50g Random Turn ON - Thomas Radtke - 11-29-2016, 06:05 PM
RE: 50g Random Turn ON - Han - 11-29-2016, 06:50 PM
RE: 50g Random Turn ON - DavidM - 11-29-2016, 07:35 PM
RE: 50g Random Turn ON - Claudio L. - 12-01-2016, 03:35 AM
RE: 50g Random Turn ON - HrastProgrammer - 12-19-2016, 06:35 AM
RE: 50g Random Turn ON - toml_12953 - 11-30-2016, 04:35 PM
RE: 50g Random Turn ON - TravisE - 12-04-2016, 02:36 AM
RE: 50g Random Turn ON - rprosperi - 12-04-2016, 02:56 AM
RE: 50g Random Turn ON - TravisE - 12-04-2016, 03:30 AM
RE: 50g Random Turn ON - Garth Wilson - 12-04-2016, 04:52 AM
RE: 50g Random Turn ON - TravisE - 12-04-2016, 07:27 AM
RE: 50g Random Turn ON - DavidM - 12-04-2016, 04:05 PM
RE: 50g Random Turn ON - TravisE - 12-05-2016, 08:12 AM
RE: 50g Random Turn ON - Gerald H - 12-04-2016, 06:21 AM
RE: 50g Random Turn ON - Joe Horn - 12-06-2016, 07:43 PM
RE: 50g Random Turn ON - Han - 12-06-2016, 07:51 PM
RE: 50g Random Turn ON - DavidM - 12-06-2016 09:23 PM
RE: 50g Random Turn ON - Joe Horn - 12-07-2016, 06:42 AM
RE: 50g Random Turn ON - DavidM - 12-07-2016, 09:00 PM
RE: 50g Random Turn ON - Joe Horn - 12-08-2016, 05:47 AM
RE: 50g Random Turn ON - DavidM - 12-08-2016, 04:49 PM
RE: 50g Random Turn ON - Joe Horn - 12-08-2016, 05:32 PM
RE: 50g Random Turn ON - DavidM - 12-08-2016, 06:00 PM
RE: 50g Random Turn ON - DavidM - 12-12-2016, 10:26 PM
RE: 50g Random Turn ON - TravisE - 12-07-2016, 12:08 AM
RE: 50g Random Turn ON - Gerald H - 12-07-2016, 06:37 AM
RE: 50g Random Turn ON - TravisE - 12-07-2016, 08:43 AM
RE: 50g Random Turn ON - Gerald H - 12-08-2016, 07:41 AM
RE: 50g Random Turn ON - DavidM - 12-08-2016, 04:58 PM
RE: 50g Random Turn ON - Joe Horn - 12-08-2016, 05:06 PM
RE: 50g Random Turn ON - Gerald H - 12-08-2016, 05:33 PM
RE: 50g Random Turn ON - TravisE - 12-08-2016, 11:04 PM
RE: 50g Random Turn ON - 3298 - 12-09-2016, 11:13 AM
RE: 50g Random Turn ON - Gerald H - 12-14-2016, 11:03 AM
RE: 50g Random Turn ON - DavidM - 12-14-2016, 02:40 PM
RE: 50g Random Turn ON - DavidM - 12-14-2016, 05:43 PM
RE: 50g Random Turn ON - Gerald H - 12-14-2016, 05:03 PM
RE: 50g Random Turn ON - Gerald H - 12-14-2016, 07:00 PM
RE: 50g Random Turn ON - DavidM - 12-19-2016, 05:49 AM
RE: 50g Random Turn ON - Gerald H - 12-23-2016, 04:05 PM
RE: 50g Random Turn ON - DavidM - 12-24-2016, 11:28 PM
RE: 50g Random Turn ON - TravisE - 12-28-2016, 08:19 PM
RE: 50g Random Turn ON - TravisE - 01-01-2017, 09:32 PM
RE: 50g Random Turn ON - rprosperi - 01-02-2017, 03:24 PM
RE: 50g Random Turn ON - HrastProgrammer - 01-15-2017, 06:07 AM
RE: 50g Random Turn ON - DavidM - 03-26-2017, 04:11 PM
RE: 50g Random Turn ON - TravisE - 03-27-2017, 08:00 PM



User(s) browsing this thread: 1 Guest(s)