[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Aw: Re: [PATCH] Firebee software poweroff



On Mon, 2013-12-16 at 11:33 +0100, markus@mubf.de wrote:

> I looked at the code and just can't see offhand where "POWER_AUS" (the code that apparently gets called when the "OFF" command is received) calls code to read back time and nvram data from the Coldfire. Is this some interrupt trickery?

I haven't looked at Fredi's PIC-code. I just tested it like this:

1. Set the clock to 14:00.
2. Power down in software and wait five minutes.
3. Boot up and check that the Firebee's clock indeed was 14:05

I just realized that I didn't check NVRAM. So I did that just now.
Changed language in NVRAM, shut down in software, power on after a
couple of minutes and checked that the NVRAM language was correct.

I assume