To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1753
1752  |  1754
Subject: 
ROM Firmware size limit? Firmdl bug?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 9 Mar 2001 17:50:09 GMT
Viewed: 
1440 times
  
Hi!
I'm using legOS 0.2.4 on Cygwin, and since memory is tight, I thought
I'd try statically compiling my program to an .srec file, and using
firmdl3 to download it, since I can do without the keys,conio,task, and
memory managment stuff.
This works fine for small programs, but for large programs (total size >
~20k) firmdl3 throws an "error in srec file on line X" error. Looking at
the code of firmdl3, there seems to be a define along the lines of
MAX_IMAGE_SIZE = 0x4c00 (this is from memory - i don't have internet
access from my PC!). Increasing this value makes the error go away, but
then the RCX crashes (with a buzzing sound!) when trying to download
programs.
I assume this is due to a ROM limitation, but I was kind of hoping that
maybe someone had found a way around this?

Thanks,
Kieran



Message has 2 Replies:
  RE: ROM Firmware size limit? Firmdl bug?
 
(...) The limit is in the checksum routine built into the RCX - it only does a sum up to 0xCC00! So you may need to fiddle with firmdl to allow a larger SREC image, but only checksum up to 0xcc00. Hope this helps. Ralph Hempel (24 years ago, 9-Mar-01, to lugnet.robotics.rcx.legos)
  Re: ROM Firmware size limit? Firmdl bug?
 
(...) Get the latest version of firmdl and/or the latest version of LegOS. (URL) (24 years ago, 15-Mar-01, to lugnet.robotics.rcx.legos)

6 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