Subject:
|
RE: ROM Firmware size limit? Firmdl bug?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 9 Mar 2001 18:27:46 GMT
|
Viewed:
|
1439 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?
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
|
|
Message is in Reply To:
| | ROM Firmware size limit? Firmdl bug?
|
| 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 (...) (24 years ago, 9-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
|
|
|
|