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 / 1770
1769  |  1771
Subject: 
Re: ROM Firmware size limit? Firmdl bug?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 17 Mar 2001 15:28:23 GMT
Viewed: 
1530 times
  
Kekoa Proudfoot wrote:

Kieran Elby  <K.E.Elby@durham.ac.uk> wrote:
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?

Get the latest version of firmdl and/or the latest version of LegOS.

http://graphics.stanford.edu/~kekoa/rcx/tools.html#Firmdl
http://sourceforge.net/projects/legos/


Hmm. Quad speed downloading in Version 3.1 doesn't seem to work under
Cygwin on W2K (though single speed does). It always returns either a
'write: permission denied' of 'bad ir link' error (which one it is seems
to be random!) , even if the lighting / battery conditions are exactly
the same as for succesful quad-speed downloads with version 3.0, and the
rcx has been freshly erased. The problem may lie with the nbread method
in rcx_comms (again, bear in mind this is from memory) - in version 3.0
there is some windows specific code, while in version 3.1 it has been
removed. Fortunately, I've solved the problem (at least for me) by
replacing the v3.1 rcx_comms files with the v3.0 ones, and reinstating
the #ifdef (_WIN32) #include <windows.h> lines in firmdl.c.

Kieran



Message has 1 Reply:
  Re: ROM Firmware size limit? Firmdl bug?
 
(...) I remember when I added support for larger firmware files, there was a merge that took place to get my changes into the LegOS version of firmdl. Probably Cygwin support got lost during this merge. This should be put back into LegOS for sure, (...) (24 years ago, 17-Mar-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  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

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