To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 323
322  |  324
Subject: 
Re: where leJOS firmware ?
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Thu, 12 Feb 2004 12:50:54 GMT
Viewed: 
5276 times
  
In lugnet.robotics.rcx.java, Sole Msitu wrote:
Hi everybody.

I'm trying to guess where exactly the leJOS firmware is stored. All domcuments
i've read say that it's in the 32K RAM. But i ask my self why they say RAM; if
you turn off the RCX neither the firmware or the user programms doesn't
disappear.

The 32K RAM in the RCX is powered by the batteries even when the RCX is turned
off.  This is why the firmware (leJOS or otherwise) does not get erased when you
turn the unit off.  But if you remove the batteries for a few minutes, it does
get erased.  This is also why the standard LEGO firmware is capable of retaining
user programs and the contents of the data log.

In fact, the RCX never really turns off; it goes into sleep mode.  The H8
processor is still turned on, but simply halted from executing instructions.
When you press the power button, it generates an interrupt that wakes the
processor back up again.

It's a little bit counter-intuitive, but this is how many devices with "soft"
power switches work.  The power switch doesn't have an "on" and "off" position,
allowing the unit to turn itself off after a period of inactivity and save its
batteries when a child (or adult) forgets to do so.

Hope this helps!

- Chris.



Message is in Reply To:
  where leJOS firmware ?
 
Hi everybody. I'm trying to guess where exactly the leJOS firmware is stored. All domcuments i've read say that it's in the 32K RAM. But i ask my self why they say RAM; if you turn off the RCX neither the firmware or the user programms doesn't (...) (21 years ago, 12-Feb-04, to lugnet.robotics.rcx.java)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR