Subject:
|
USB tower fast firmware download
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Thu, 11 Sep 2003 13:44:08 GMT
|
Viewed:
|
3967 times
|
| |
| |
Thanks to Dick Swan's help I have managed to get BricxCC downloading firmware in
fast mode with the USB tower. All it took was using long enough timeout values
(I'm currently using the tower default timeout settings when downloading
firmware), setting the tower to 4800 baud, resetting the carrier frequency to
38, and downloading a quad-speed stub that was compiled without the line of code
which turned off the parity bit.
The fastdl.srec I used is
S00E000066617374646C2E7372656398
S11380007906000F6B86EE807906EE646DF67906CC
S1138010EE745E003B9A0B877906EE5E5E0006887E
S1138020FE673ED918EE6A8EEF51FE026A8EEF06A5
S1138030FE0D6A8EEE5E5470446F20796F75206277
S11380407974652C207768656E2049206B6E6F63A8
S10780506B3F00007E
S90380007C
I built this using Kekoa's fastdl.s source code with the following change in
lines 59 & 61:
; ; Turn off parity
; bclr #5,@0xd8:8
My next release of BricxCC will (obviously) include this feature (along with
robust pbForth and leJOS support - both are still works-in-progress at the
moment).
In addition to the main BricxCC executable I've had for quite some time a simple
test executable that wraps my "FakeSpirit" class and exposes several useful
methods of that class. This exe is now available on my BricxCC website as a
separate download if you want a windows-based quad-speed firmware downloader
that works with both towers.
http://members.aol.com/johnbinder/rcxtool.zip
Here is the output it generates when you ask it for help (rcxtool -help):
RCXTool version 1.0 (1.0.1.2, built Sep 11 2003 08:22:40)
Copyright (c) 2003, John Hansen
Usage: RCXTool [options] [actions]
Options:
/RCX=n: RCX (0), Cybermaster (1), Scout (2), RCX2 (3), or SpyBot (4)
/COM=n: specify port (1..12 : 9-12 == USB1-4)
/RPT=n: specify remote repeat count
/T=n: specify transmit timeout value
/V: specify verbose mode
Actions:
-run: run current program
-pgm=n: select program number
-datalog | -datalog_full: upload datalog (_full == verbose)
-near : set IR to near mode
-far : set IR to far mode
-firmware=filename : download firmware
-firmfast=filename : download firmware at quad speed
-watch=<HHMM|now> : set RCX time
-sleep=<timeout> : set RCX sleep timeout
-msg=<number> : send IR message to RCX
-raw=<data> : format data as a packet and send to RCX
-remote=<value> : send a remote command to RCX
-scout=<0|1> : put Scout into normal or power mode
-clear : erase all programs and datalog in RCX
-help : display command line options
|
|
Message has 1 Reply:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|