|
> this is important news. Which sleep mode does this apply to, software
> standby, hardware sleep or all of them?
>
> Markus.
Markus, (and anyone else listening)
I think it applies to the RCX power_shutdown() function as described in
Kekoa's reference. The key is that this function puts the external RAM
into low-power mode.
If you are not calling power_shutdown() or you are not putting the
external RAM into low-power mode, then it's not an issue.
Here's what I exchanged with Kekoa over the weekend:
> I think the following code provides a clue as to what is going on,
> but right now I'm not willing to open up my RCX.
>
> 2a76: 7f ba 70 20 bset #0x2,@0xba:8
> 2a7a: 01 80 sleep
> 2a7c: 7f ba 72 20 bclr #0x2,@0xba:8
>
> I'll bet that the external RAM chip enable is taken HIGH before
> sleep, which puts the RAM into low power mode, and then taken
> LOW after sleep returns. The processor keeps its internal RAM
> alive, and puts the external RAM into low power mode.
>
> I was assuming that the external RAM (where my stack is)
> would be preserved and available, and obviously this is not the case.
Hope this helps...
Cheers,
Ralph Hempel - P.Eng
--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.bmts.com/~rhempel/lego/pbFORTH/default.html>
--------------------------------------------------------
Reply to: rhempel at bmts dot com
------------------------------------------------------
|
|
Message has 1 Reply:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|