Documentation to PROG50XS.EXE and READ50XS.EXE:
Syntax for PIC12C508:
read50x.exe $204 $200 filename.hex comport iodel rd0del rddel
prog50x.exe $204 $200 $8 filename.hex comport iodel rd0del pgmdel [oscval]
Syntax for PIC12C509:
read50x.exe $404 $400 filename.hex comport iodel rd0del rddel
prog50x.exe $404 $400 $8 filename.hex comport iodel rd0del pgmdel [oscval]
Parameters of PICTEST, PICREAD and PICPROG:
PICTEST comport [iodel(1) rd0del(5) rddel(1) pgmdel(10)]
PICREAD filename.hex comport [iodel(1) rd0del(5) rddel(1)]
PICPROG filename.hex comport [iodel(1) rd0del(5) rddel(1) pgmdel(10)]
Parameters:
iodel: (1)
Extra delay than messured, typical 1. Works in most cases with zerodelay.
rd0del: (5)
Extra delay at reading zero. Higher if problem with read of zero from PIC.
(If file with only zeros, and read cause to hang, then this may be increased.
It may be better to increase rddel instead, because too big rd0del will make
problems with mouse and tasksw.)
rddel: (1 or 3 for slow)
Delay between reads. Increase if problem at read for PIC12C50X.
Also correct errors if file without zeros.
pgmdel: (5 or 9 for slow, 10 for PIC16C84 or PIC16F84)
Delay at programming between pulses. Increase if problem
with programming only. Delay for x84 is 10ms.
oscval: (unused)
Microchip accept in datasheed oscvalue to be programmable
in case of eeprom devices for PIC12C508 or other chips.
PROG50X.EXE and READ50X.EXE is called with following parameters:
PROG508.BAT: prog50x $204 $200 $8 filename.hex comport 1 5 1 4 oscval
PROG508S.BAT: prog50x $204 $200 $8 filename.hex comport 1 5 3 9 oscval
PROG509.BAT: prog50x $404 $400 $8 filename.hex comport 1 5 1 4 oscval
PROG509S.BAT: prog50x $404 $400 $8 filename.hex comport 1 5 3 9 oscval
READ508.BAT: read50x $204 $200 filename.hex comport 1 5 1
READ508S.BAT: read50x $204 $200 filename.hex comport 1 5 3
READ509.BAT: read50x $404 $400 filename.hex comport 1 5 1
READ509S.BAT: read50x $404 $400 filename.hex comport 1 5 3