To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 13495
13494  |  13496
Subject: 
RE: Firmware file version?
Newsgroups: 
lugnet.robotics
Date: 
Sat, 16 Dec 2000 16:58:25 GMT
Viewed: 
838 times
  
Does anyone know what the checksum is for downloading firm0328.lgo (the
checksum to pass to the RCX begin-download call)?

I've been doing some experimenting with firmware downloading.  While my
code comes up with 0xc278 with firm0309.lgo (the correct value), something
isn't working  with firm0328.lgo.  It'd help to know what the "right"
checksum is so I can see what's going wrong in the code.

Way back when, I think I remember Dave Baum posting a note to the effect
that the firmware checksum calculation stops around 0xCC00, which is
where the firmware variables live.

The old firmware was smaller than this, but the new firmware image is
larger (I think).

I need to address this as pbForth grows new features, although I'm not
quite there yet!

Cheers,

Ralph Hempel - P.Eng

--------------------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbForth>

Buy "Extreme Mindstorms: an Advanced Guide to Lego Mindstorms"
<http://www.amazon.com/exec/obidos/ASIN/1893115844/hempeldesigngrou>
--------------------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------------------



Message has 2 Replies:
  Can the cybermaster tower talk to the Scout
 
Quick question: Can I use the control tower from the cybermaster (8482) to program the Scout? Thanks Christian (24 years ago, 16-Dec-00, to lugnet.robotics)
  Re: Firmware file version?
 
(...) I don't know what Dave Baum may or may not have said, but here is the ROM's algorithm for computing the checksum: short offset = 0 byte validstr = 0 short sum = 0 for (addr = 8000; addr < cc00; addr++) sum += byte at addr if (byte at addr == (...) (24 years ago, 16-Dec-00, to lugnet.robotics)

Message is in Reply To:
  Re: Firmware file version?
 
Hello again, Does anyone know what the checksum is for downloading firm0328.lgo (the checksum to pass to the RCX begin-download call)? I've been doing some experimenting with firmware downloading. While my code comes up with 0xc278 with firm0309.lgo (...) (24 years ago, 16-Dec-00, to lugnet.robotics)

17 Messages in This Thread:









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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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