To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 371
370  |  372
Subject: 
Re: How do I delete firmware from firmware?
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 23 May 2000 16:10:19 GMT
Viewed: 
1498 times
  
On Tue, May 23, 2000 at 03:24:58PM +0000, Ralph Hempel wrote:

Here's a copy of what Kekoa replied with...

    /* Delete the firmware */
    *(char *)0xffcc = 1;
    (*(void (**)(void))0)();

[...snip...]
End of Kekoa's comments....

So I think if you do a

HEX 1 FFCC ! 3AE EXECUTE

I defined the BYE word in h8hforth.asm according to Kekoa's comments
and it works like a charm. The RCX is reset but doesn't turn off, so new
firmware can be uploaded immediately.

Ernst

--
Ernst de Ridder - hnridder@informatik.uni-rostock.de
Universitaet Rostock - Lehrstuhl fuer Theoretische Informatik
Albert Einstein Str. 21 - D-18051 Rostock - Germany
http://wwwteo.informatik.uni-rostock.de/~hnridder



Message has 1 Reply:
  RE: How do I delete firmware from firmware?
 
(...) Actually, BYE is in the h8hforth.asm source now, but it's a no-op. Could you email it to me, Ernst, and then I'll put it into the basic distribution... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) (...) (25 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)

4 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