| 1 |
firmdl |
| 2 |
|
| 3 |
About: |
| 4 |
|
| 5 |
A firmware downloader for the RCX. Version 3.0. Supports single and |
| 6 |
quad speed downloading. |
| 7 |
|
| 8 |
Quad-rate downloading is a feature that significantly reduces firmware |
| 9 |
download times. It is implemented on top of a fast serial protocol that |
| 10 |
has a 2x baud rate with no complements or parity bits. The fast protocol |
| 11 |
is enabled by a short firmware stub that reconfigures some control |
| 12 |
registers and tweaks some ROM program state. Once the firmware stub is |
| 13 |
downloaded and executed, the ROM responds to the fast serial protocol, |
| 14 |
which the downloader then uses to transfer the actual firmware file. |
| 15 |
Because the initial firmware stub is small, all but the most trivial |
| 16 |
programs see a download time improvement when using quad-speed downloading. |
| 17 |
|
| 18 |
The caveat to using quad-speed downloading is its sensitivity to lighting |
| 19 |
conditions. Getting quad-speed downloading to work right might require |
| 20 |
some trial and error. In addition to avoiding harsh lighting conditions, |
| 21 |
it is important to place the RCX around 4-12 inches from the IR tower. |
| 22 |
|
| 23 |
Compiling: |
| 24 |
|
| 25 |
Typing "make" should do the trick. |
| 26 |
|
| 27 |
Running: |
| 28 |
|
| 29 |
usage: firmdl [options] srecfile (e.g. firmdl Firm0309.lgo) |
| 30 |
|
| 31 |
If necessary, set DEFAULTTTY, below, to the serial device you want to use. |
| 32 |
Set the RCXTTY environment variable to override DEFAULTTTY. |
| 33 |
Use the command-line option --tty=TTY to override RCXTTY and DEFAULTTTY. |
| 34 |
Use the command-line option --slow to revert to slow downloads. |
| 35 |
Use the command-line option --help for more information. |
| 36 |
|
| 37 |
Acknowledgements: |
| 38 |
|
| 39 |
Laurent Demailly, Allen Martin, Markus Noga, Gavin Smyth, and Luis Villa |
| 40 |
all contributed something to some version of this program. |
| 41 |
|
| 42 |
Version history: |
| 43 |
|
| 44 |
1.x: single speed downloading plus many small revisions |
| 45 |
2.0: double speed downloading, improved comm code, never released |
| 46 |
3.0: quad speed downloads, misc other features, version numbering |
| 47 |
3.1: changed mkimg to ./mkimg in Makefile |
| 48 |
3.2: made srec code more lenient, use SREC_STRICT for old behavior |
| 49 |
|
| 50 |
License: |
| 51 |
|
| 52 |
See the file LICENSE for more information. |
| 53 |
|
| 54 |
Author: |
| 55 |
|
| 56 |
Kekoa Proudfoot |
| 57 |
[email protected] |
| 58 |
10/13/99 |