FCALIB can be used to load a SLNTHR with the FRED Software or the calibration and test programm. It can also be used to load the ADC calibatrion data in the EE data memory.
This Manual is for Version 0.4 and 0.5 of FCALB. There current version of FCALIB is 1.0.
The FCALIB can be found here:
You need an JDM84 programmer:
And a PC (286+) running MS-DOS (3.3+) that has a working serial Port (COM1 oder 2). The output drivers on this port must have some power to drive the JDM84. We have found that some notebooks do not work.
Unzip the archive to a directory of your choice. Now start a real MS-DOS (no DOS-BOX in Windows or so). Change to the directory you used to unzipd the archive. Start FCALIB by entering FCALIB. First select SETUP with the mouse or the cursor keys:
Than press ENTER to open the setup window
select the port you have used to connect the JDM84 with the spacebar and close the window with ENTER. To check your Installation you can try to read some config data from a throttle (Menu: Config>Read from Throttle) and write them back (Menu: Config>Write to Throttle). See below for more info on that.
Start FCALIB (as described in the Installation section) and use the mouse or cursor keys to select Program>Load Text Program:
the hex file TEST.HEX is written into the throttle:
PICPROG.EXE TEST.HEX 2 -p -c
Reading file 'TEST.HEX' 835 program locations and 64 (EE) data locations read PIC PROGRAMMER at COM2 Device ID is 11111111111111b (Dev=unknown, Rev=31) Programming Program Memory Verify Program Memory TRUE Programming configuration word Verify TRUE press any key to return |
Check that the output shows "Verify ... TRUE" two times. If not, something with the programmer or hardware ist wrong. Leave the screen with any key.
Now use LNMON to read the ADC_RAW_min, ADC_RAW_max and the CD-Time from the throttle...
(as described in the Installation section) and use the mouse or cursor keys to select Config>Edit:
press ENTER, the Edit Dialog ist shown
use the TAB-key to set the cursor in the Id (HEX) field, and enter the desired Id. Now press F2 to enter the ADC_RAW values:
on pressing ENTER the calibartion values are calulated for you:
Leave the Dialog by poressing F10, and select
on pressing ENTER the calibarion values are written to the throttle:
PICPROG.EXE $$$$TEMP.HEX 2 -d
Reading file '$$$$TEMP.HEX' 0 program locations and 64 (EE) data locations read --- Notice: No configuration word in hex-file --- PIC PROGRAMMER at COM2 Device ID is 11111111111111b (Dev=unknown, Rev=31) Programming EE Data Memory Verify EE Data Memory TRUE press any key to return |
Check for a correct verify: Verify EE Data Memory TRUE and press any key.
Now you have written the calibartion data to the throttle. Next step is replacing the test programm with the real code
Use the mouse or the cusor keys to select Program>Update Program in Throttle
on pressing ENTER the program ist written:
PICPROG.EXE 16F84.HEX 2 -p -c
Reading file '16F84.HEX' 931 program locations and 64 (EE) data locations read PIC PROGRAMMER at COM2 Device ID is 11111111111111b (Dev=unknown, Rev=31) Programming Program Memory Verify Program Memory TRUE Programming configuration word Verify TRUE press any key to return |
Check if the Program and config word hase been written (VERIFY TRUE).
Thats it, now check if you can drive some train....