You are on page 1of 28

PonyProg2000 documentation

http://www.LancOS.com
Last update: 2008
Contents
1 Installing
2 Menu Commands
2.1 File
2.1.1 New Window
2.1.2 Open Device File
2.1. Open !"o#"am $FL%S&' File
2.1.( Open Data $))!*O+' File
2.1., Save Device File
2.1.- Save Device File %s
2.1.. Save !"o#"am $FL%S&' File
2.1.8 Save Data $))!*O+' File
2.1./ *eload Files
2.1.10 !"int
2.1.11 0lose
2.1.12 )1it
2.2 )dit
2.2.1 )dit note
2.2.2 )dit secu"it2 3its
2.2. )dit 3u44e" ena3led
2. Device
2.( 0ommand
2.(.1 *ead %ll
2.(.2 *ead !"o#"am $FL%S&'
2.(. *ead Data $))!*O+'
2.(.( *ead Secu"it2 and 0on4i#u"ation 5its
2.(., W"ite %ll
2.(.- W"ite !"o#"am $FL%S&'
2.(.. W"ite Data $))!*O+'
2.(.8 W"ite Secu"it2 and 0on4i#u"ation 5its
2.(./ 6e"i42 %ll
2.(.10 6e"i42 !"o#"am $FL%S&'
2.(.11 6e"i42 Data $))!*O+'
2.(.12 )"ase
2.(.1 7et8n4o
2.(.1( *eset
2.(.1, !"o#"am
2.(.1- !"o#"am Options
2., 9tilit2
2.,.1 0lea" 3u44e"
2.,.2 Fill 3u44e"
2.,. Dou3le 3an:
2.,.( 52te swap
2.,., Set Se"ial Num3e"
2.,.- Se"ial Num3e" 0on4i#
2.- Setup
2.-.1 8nte"4ace Setup
2.-.2 0ali3"ation
3 Hardware interfaces
.1 S8 !"o#
.1.1 ;he main 3oa"d
.1.2 8<05us eep"om adapte"
.1. +ic"owi"e eep"om adapte"
.1.( S!8 eep"om adapte"
.1., SD)2,0- eep"om adapte"
.1.- N6+ eep"om adapte"
.1.. %6* mic"o adapte"
.1.8 !80 mic"o adapte"
.1./ =umpe" settin# summa"2
.1.10 Se"ial ca3le
.1.11 )lect"ic schematic
.1.12 +ountin# plan
4 Scripts
(.1 >uic: sta"t
(.2 0ommand "e4e"ence

5 F!
ppendi"
%
# Installing
8nstallin# !on2!"o# depend on the s2stem 2ou have. With $indows/,//8/+) o"
N;/2000/?! @ust "un the Setup.e1e and 4ollow the inst"uctions.
With *ed&at %inu" -.2/..0 lo#in as "oot and e1ecute the command
# tar xvfzP ponyprog-X.XXX.tar.gz # chmod +s /usr/local/bin/ponyprog2000 &optional'
84 2ou want to use pa"allel po"t inte"4aces without "un !on2!"o# as "oot 2ou need also a 2.(.1
:e"nel and parportA parportpc and ppd!v :e"nel modules. insmod all th"ee modules 3e4o"e
to e1ecute !on2!"o#. 84 2ou want to use se"ial po"t inte"4aces 3e su"e 2ou have the "i#hts to
"ead/w"ite the /dev/tt2S1 devices and /va"/loc: di"ecto"2. With *ed&at 2ou ma2 want to add
2ou" use" to uucp #"oup.
;he 4i"st time 2ou "un the p"o#"am "emem3e" to select the inte"4ace and po"t 2ou use with the
Setup. 84 the p"o#"am "epo"t a messa#e li:e B;he inte"4ace donCt "espondB when sta"tedA it
means that 2ou not have con4i#u"ed the po"t p"ope"l2A o" the inte"4ace is not connected.
Dou need also to "un 0ali3"ation in most cases.
2 Menu commands
;he 4ollowin# is an e1planation o4 each menu command.
2(# File
2(#(# )ew $indow
Open a new windowA each window displa2 a 3u44e" 4o" the device selected.
2(#(2 *pen +e,ice File
Open a 4ile 32 nameA and "ead its content in the cu""ent window. Dou can select the 4ile to
open th"ou#h a dialo# o" d"a# and d"op the 4ile to open ove" the !on2!"o# window. !on2!"o#
"eco#niEe seve"al di44e"ent t2pes o4 4ile 4o"mat: e2pA intel he1A moto"ola SF"eco"d and "aw
3ina"2. 84 the selected 4ile doesnCt seem to 3e a e2pA it t"ies to open the 4ile as intel he1G i4 this
ope"ation 4ailsA then it t"ies to open the 4ile as SF*ecG i4 also this ope"ation 4ailsA then it opens
the 4ile as 3ina"2. 84 the 4ile has e2p 4o"matA 2ou donCt need to wo""2 a3out the device t2pe
cu""entl2 selectedA othe"wise 2ou 4i"st have to select the co""ect device t2peA then load the
4ile. 8n case o4 splitted !"o#"am/Data device li:e %6* and !80 the content o4 the data eep"om
will 3e displa2ed a4te" the content o4 the p"o#"am 4lash memo"2 in the cu""ent window with a
di44e"ent colo".
2(#(3 *pen Program &F%SH' File
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command Open a 4ile 32 name and load onl2 the p"o#"am memo"2. Dou
can select the 4ile to open th"ou#h a dialo#. ;he 4ile to load ma2 have one o4 these 4o"mat:
intelFhe1A moto"ola SF"eco"d o" "aw 3ina"2.
2(#(4 *pen +ata &--P.*M' File
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command Open a 4ile 32 name and load onl2 the data memo"2. Dou can
select the 4ile to open th"ou#h a dialo#. ;he 4ile to load ma2 have one o4 these 4o"mat: intelF
he1A moto"ola SF"eco"d o" "aw 3ina"2.
2(#(5 Sa,e +e,ice File
Save the content o4 cu""ent window 3u44e" to a 4ile. 84 no name has 3een speci4ied it wo":s li:e
Save as.
2(#(/ Sa,e +e,ice File s
Open a dialo# 3o1 whe"e 2ou can speci42 the name o4 the 4ile. 8n the 3ottom o4 the dialo# 3o1
2ou can select the 4ile 4o"mat 4o" the 4ile to save $indicated 32 the e1tension'. 84 2ou p"ess OH
the content o4 the cu""ent window will 3e saved in the 4ile speci4ied. 8 su##est to save alwa2s
in e2p 4o"matA doin# so the device t2pe and the notes will 3e "eco"ded in the 4ile. ;he .3in
4o"mat is "aw 3ina"2 4o"matA itCs commonl2 used to e1po"t the 4ile to othe" p"o#"ams.
2(#(0 Sa,e Program &F%SH' File
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command save the content o4 cu""ent window 3u44e" p"o#"am memo"2 to a
4ile. % dialo# 3o1 as:s 2ou the name o4 the 4ile to save and the 4ile 4o"mat 32 selectin# the
e1tension.
2(#(1 Sa,e +ata &--P.*M' File
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command save the content o4 cu""ent window 3u44e" data memo"2 to a 4ile.
% dialo# 3o1 as:s 2ou the name o4 the 4ile to save and the 4ile 4o"mat 32 selectin# the
e1tension.
2(#(2 .eload Files
;his command "eload last opened 4iles in the cu""ent window 3u44e". 8tCs use4ul when 2ou
need to edit/3uild the 4iles 4"om an e1te"nal p"o#"am $assem3le"/compile"' and 2ou need to
"epeat the same c2cle: compile F load 4ile F w"ite device mo"e than one time.
2(#(#0 Print
Open a dialo# 3o1 whe"e 2ou can select the p"inte" name and options. 84 2ou p"ess OH the
content o4 the cu""ent window will 3e p"inted.
2(#(## Close
0lose the cu""ent windowA i4 the"e is onl2 one opened window a dialo# window as:s 2ou i4
2ou want to e1itG 2ou can choose Des o" No. 84 the cu""ent window 3u44e" is modi4ied a dialo#
window as:s 2ou i4 2ou want to save the content in a 4ile 3e4o"e to close the window.
2(#(#2 -"it
0lose all the opened window and e1it the p"o#"am. 84 the"e is a modi4ied window 3u44e" a
dialo# window as:s 2ou i4 2ou want to save the content to a 4ile 3e4o"e to close the window.
2(2 -dit
2(2(# -dit note
Open a dialo# 3o1 whe"e 2ou can edit a 0hip id and a note. ;hese two 4ields a"e saved within
the window 3u44e" i4 2ou use the e2p 4ile 4o"mat $see Open'. ;hese two 4ields a"e 4"ee te1t
editin#A and a"e use4ul 4o" a desc"iption o4 the device p"o#"ammed and the meanin# o4 its
content.
2(2(2 Security 3its
Open a dialo# 3o1 whe"e 2ou can edit a device speci4ic 0on4i#u"ation and Secu"it2 3its. ;his
dialo# is especiall2 use4ul 4o" mic"ocont"olle"sA 3ecause the2 could not wo": at all without set
these 3its in a co""ect wa2. ;he 4ollowin# sc"een dumps show the con4i#u"ation 3its 4o" some
mic"ocont"olle" 4amilies. Note that disa3led 3its $#"a2ed' a"e not used o" not modi4ica3le.
4. 520S4433 Secu"it2 and Fuse 3its
PIC #/F14
0!: i4 chec:ed all memo"2 is code p"otected
!W*;): i4 chec:ed powe"Fup time" is ena3led
WD;): i4 chec:ed watchdo# time" is disa3led
FOS01AFOS00: oscillato" selection 3its
FOS01 FOS00 Status
not chec:ed not chec:ed *0 "esisto"/capacito" oscillato"
not chec:ed chec:ed &S hi#h speed c"2stal/"esonato" oscillato"
chec:ed not chec:ed ?; c"2stal/"esonato" oscillato"
chec:ed chec:ed L! low powe" oscillato"

512S1252
2(2(3 -dit 6uffer ena6led
Dou can to##le this item eithe" to ena3le o" disa3le the edit mode. 84 the edit mode is ena3led
2ou can modi42 the 3u44e" content 32 clic:in# on a location o4 the cu""ent window. ;wo editin#
modes a"e availa3le: he1adecimal editin# and te1t editin#. 84 2ou clic: on the &)? $cente"'
pa"t o4 the sc"een o" p"ess )N;)* 2ou open a dialo# whe"e 2ou can inse"t the new value 4o"
that 32te in decimalA he1adecimalA o" cha"acte". 84 2ou clic: on the %S088 $"i#ht ma#enta' pa"t
o4 the sc"een 2ou open a dialo# whe"e 2ou can inse"t o" modi42 a te1t sta"tin# 4"om that
location. Dou can 09; I !%S;) in the te1t ent"2 dialo# 32 the use o4 the "i#ht mouse 3utton.
Note that 2ou can ena3le/disa3le onl2 the edit mode o4 the cu""ent windowA so i4 the"e a"e
mo"e than one 3u44e" window openedA the edit mode o4 othe" windows a"e le4t unchan#ed.
2(3 +e,ice
Select the t2pe o4 cu""ent device. Dou have to select the device t2pe 3e4o"e an2 commands
$"eadA w"itin#A openA saveA ...'. Selectin# an B%uto ???B t2pe means that the device t2pe is
dete"mined 32 the p"o#"am du"in# the "ead o" w"ite ope"ationA this 4eatu"e is use4ul when 2ou
need to Jue"2 a device to :now i4 it wo":s and which device it is. ;he"e a"e some di44e"ent
device 4amil2: the 8<0 5us eep"oms that a"e add"essed with 8 3it wo"dA the 8<0 5us eep"oms
that a"e add"essed with 1- 3it wo"dA the +ic"owi"e eep"oms with 8 3it o"#aniEationA the
+ic"owi"e eep"oms with 1- 3it o"#aniEationA the S!8 eep"omsA the %6* mic"ocont"olle"sA the
!80 1- mic"ocont"olle"sA the 8+5us eep"oms and SD)2,0- eep"om. Dou can select the
device 4amil2 in the tool 3a" with the com3oF3o1A o" di"ectl2 the device t2pe in the menu. ;he
cu""ent device t2pe is sto"ed in the .8N8 4ileA so the ne1t time 2ou "un the p"o#"am itCs "ecalled.
;o "ead and w"ite 8<0 5us eep"oms othe" than 2(11 $i.e. the SD)2,2-A SD%2,(-A SD%2,8-A
SD%,(-A SD%,8-' select the t2pe B2(?? %utoB.
;he 2(001 can 3e "eaded 3ut not w"itedA 2ou can "ead it as a 2(02 o" 2(?? %uto device.
Note that 2ou can o4ten "eplace a 2(001 eep"om with a new 2(002 eep"omA 3ecause itCs
4ull2 compati3le to the 2(001.
Seve"al mic"owi"e eep"oms suppo"t two t2pes o4 wo"d o"#aniEation: 1- 3it o"#aniEation and 8
3it o"#aniEation. ;he o"#aniEation is selected with a pin connected to 600 o" 7ND. S8F!"o#
adapte" connect this pin 4o" 1- 3it o"#aniEationA howeve" some devices suppo"t onl2 8 3it
o"#aniEation.
2(4 Command
2(4(# .ead ll
*ead the content o4 a device in the cu""ent window 3u44e". ;his ope"ation can ta:e a while to
e1ecuteA so a dialo# 3o1 shows the ope"ation p"o#"ession. 84 2ou want to stop the cu""ent
"ead @ust p"ess the B%3o"tB 3utton.

Finall2 a dialo# 3o1 showin# the "esult o4 the ope"ation appea"s. 84 the p"o#"am "epo"t the
messa#e BDevice not "espondin#B means that 2ou missed to connect the device to "eadA o"
the inte"4ace is not con4i#u"ed p"ope"l2 $see the Setup'. Note that onl2 the devices that
suppo"t p"o3in# "epo"t this t2pe o4 messa#eA othe" device simpl2 "ead all 0Cs o4 FFCs $i4 the
device is missed'. ;he devices that suppo"t p"o3in# a"e the 2(??A the %6* and some !80. 8n
the case o4 %6* device selectedA the p"o#"am can "epo"t the messa#e BDevice loc:edB in
case o4 the loc:ed 3its was p"o#"ammed. )ven some p"ep"oduction devices donCt suppo"t
auto p"o3in#. Dou canCt "ead a loc:ed deviceA to p"o#"am it see W"ite. Since ve"sion 1.1,c i4
2ou select an %6* device $%;/0S21 4o" e1ample' and "ead itA the p"o#"am t"2 to p"o3e the
device 4i"st. 84 the device is missin#A o" the device is loc:edA o" the device is a p"ep"oduction
device a dialo# 3o1 appea"s. 8t as:s 2ou i4 2ou want to a3o"t ope"ationA "et"2 o" i#no"e the
e""o". 8n case o4 a p"ep"oduction device @ust select B8#no"eB.
2(4(2 .ead Program &F%SH'
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command "ead onl2 the p"o#"am memo"2 4"om the deviceA and leave the
data memo"2 intact.
2(4(3 .ead +ata &--P.*M'
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command "ead onl2 the data memo"2 4"om the deviceA and leave the
p"o#"am memo"2 intact.
2(4(4 .ead Security and Configuration 6its
*ead secu"it2 and con4i#u"ation 3its 4"om the device. Note that this command is implemented
onl2 4o" some devices. ;o modi42 the secu"it2 and con4i#u"ation 3its "e4e" to edit command.
2(4(5 $rite ll
W"ite the content o4 the cu""ent window 3u44e" to a device. % dialo# 3o1 as: 2ou to con4i"m
this un"ecove"a3le ope"ation. ;his ope"ation can ta:e a while to e1ecuteA so a dialo# 3o1
shows the ope"ation p"o#"ession. 84 2ou want to stop the cu""ent w"ite @ust p"ess the B%3o"tB
3utton. %4te" the w"ite ope"ation an automatic ve"i42 is e1ecuted. Finall2 a dialo# 3o1 showin#
the "esult o4 the ope"ation appea"s. 5e4o"e to pe"4o"m a w"ite 8 su##est to select the e1act
device t2peA not the B2(?? %utoB o" B%6* %utoB. Note that 3oth the p"o#"am $FL%S&' and
data $))!*O+' memo"2 a"e w"ited $onl2 i4 the device is a splitted device li:e the %6* o"
!80'A and then ve"i4ied. Since the ve"sion 1.1,c a p"o3e is pe"4o"med on eve"2 %6* device
$see *ead'.
2(4(/ $rite Program &F%SH'
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command w"ite onl2 the p"o#"am memo"2 to the deviceA and leave the
data memo"2 intact. ;he e1ception is the %6* device: to w"ite the p"o#"am memo"2 an e"ase
is neededA so the data memo"2 is e"ased too. Some %6* devices have ))S%6) 4use 3itA
when p"o#"ammed the ))!*O+ is p"ese"ved du"in# a 4lash e"ase.
2(4(0 $rite +ata &--P.*M'
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command w"ite onl2 the data memo"2 to the deviceA and leave the
p"o#"am memo"2 intact.
2(4(1 $rite Security and Configuration 6its
W"ite secu"it2 and con4i#u"ation 3its to the device. Note that this command is implemented
onl2 4o" some devices. ;o modi42 the secu"it2 and con4i#u"ation 3its "e4e" to edit command.
2(4(2 4erify ll
6e"i42 the content o4 a deviceA compa"es it to the content o4 the cu""ent window 3u44e". ;his
ope"ation can ta:e a while to e1ecuteA so a dialo# 3o1 shows the ope"ation p"o#"ession. 84
2ou want to stop the ve"i42 @ust p"ess the B%3o"tB 3utton. Finall2 a dialo# 3o1 showin# the
"esult o4 the ope"ation appea"s.
2(4(#0 4erify Program &F%SH'
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command ve"i42 onl2 the p"o#"am memo"2 4"om the deviceA and i#no"e the
data memo"2.
2(4(## 4erify +ata &--P.*M'
;his command is availa3le onl2 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted in
two di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo"2 and the second pa"t 4o"
data memo"2. ;his command ve"i42 onl2 the data memo"2 4"om the deviceA and i#no"e the
p"o#"am memo"2.
2(4(#2 -rase
)"ase all the content o4 a device to FFCs $3oth p"o#"am and data memo"2'. Note that this
command is implemented onl2 4o" %6* and !80 devices.
2(4(#3 7etInfo
Shows some in4o"mations a3out the device. Some o4 these in4o"mations a"e showed also in
the status 3a" at the 3ottom o4 the main window.
SiEe o4 the 3u44e"A itCs eJual to the siEe o4 the device in 32tes. 8n the case o4 %6* o"
!80 devicesA itCs eJual to the sum o4 the p"o#"am memo"2 siEe plus the data memo"2
siEe.
0*0 calculated on the content o4 the 3u44e".
5an: "oll ove". 8tCs a cha"acte"istic o4 some old 8<0 5us eep"om $2(??'. 8n some case
uou canCt "eplace a B"ollFove" eep"omB with a Bno "ollFove" eep"omB.
Secu"it2 and &i#h endu"ance 3loc:. ;he +ic"ochip 2(0-, has a 4eatu"e to p"otect
some 3loc: 4"om w"itin#A o" ena3le some 3loc: to have 10 milions w"itin# c2cles. $see
edit to chan#e it'.
2(4(#4 .eset
*eset the device. 8tCs use4ul with inFs2stem applications.
2(4(#5 Program
)1ecute a customiEa3le seJuence o4 commands. Dou can select the commands to e1ecute
with p"o#"am options
2(4(#/ Program *ptions
Select the commands to e1ecute with the !"o#"am command.
2(5 8tility
2(5(# Clear 3uffer
0lea" the cu""ent window 3u44e" with FFCs.
2(5(2 Fill 3uffer
Fill the cu""ent window 3u44e" with a cha"acte". % dialo# 3o1 as:s 2ou to select the add"esses
4o 4ill $4"om F to locations'A and the value o4 the cha"acte" to 4ill. Dou can inse"t the value eithe"
in decimal $i.e. (,'A he1adecimal $i.e. 01(,' o" octal $i.e. 0(,' 3ase.
2(5(3 +ou6le 6an9
;his command duplicates eve"2 3an: in the cu""ent 3u44e" and chan#es the device t2pe to a
3i##e" device t2pe. % 3an: is a cluste" o4 2,- 32tes 4o" the 2(11 and a wo"d 4o" othe" devices.
;his utilit2 is use4ul to "eplace a SD%2,(- device with a 2(008 o" a SD%2,8- with a 2(01-.
)1ample: 2ou have to select the device t2pe B2(11 %utoBA connect the SD%2,(- device and
pe"4o"m a *ead ope"ation. ;hen 2ou have to pe"4o"m a BDou3le 3an:BA "eplace the SD%2,(-
with a 3lan: 2(008 and pe"4o"m a W"ite ope"ation $*e4e" also to 8205us adapte"'.
2(5(4 3yte swap
;his command swap 32tes within eve"2 wo"d in the cu""ent window 3u44e". 8tCs use4ul to
conve"t 4"om little endian "ep"esentation to 3i# endiand and viceve"sa. Some devices uses
1-3it wo"d so 2ou can "ep"esent it in 3oth wa2s dependin# on 2ou" needs.
Fo" e1ample conside" the num3e" 12( he1 $(--0 decimal'A the little endian is ( F 12A while
the 3i# endiand is 12 F (.
2(5(5 Set Serial )um6er
;his command set the se"ial num3e" in the con4i#u"ed locations o4 the cu""ent window 3u44e".
Dou can con4i#u"e the se"ial num3e" locationA value and siEe with the se"ial num3e" con4i#
command. )ve"2 time 2ou e1ecute this command the value is inc"emented.
2(5(/ Serial )um6er Config
;his command open a dialo# 3o1 whe"e 2ou can con4i#u"e the se"ial num3e" locationsA
valueA 4o"mat and siEe.
2(/ Setup
2(/(# Interface Setup
Open a dialo# 3o1 whe"e 2ou can select the inte"4ace t2pe and the po"t num3e" whe"e the
ha"dwa"e is connected. Dou can choose 4"om seve"al ha"dwa"e inte"4aces $see !on2!"o#
&a"dwa"e inte"4aces 4o" mo"e in4o'. Note that onl2 S8 !"o# suppo"t all devices.
SI:Prog interface select Bse"ialB chec:F3o1 and choose BS8F!"o# %!8B o" BS8F!"o# 8/OB in the
com3oF3o1. Windows /,//8/+) and N;/2000/?! wo": eithe" with B!on2!"o# %!8B and
B!on2!"o# 8/OBA 3ut the latte" is 4aste". ;o use the BS8F!"o# 8/OB with Linu1 2ou need to "un
!on2!"o# as "oot. ;hen select the 0O+ po"t 2ou want to useA i4 some 0O+ po"ts a"e
disa3led it means that the2 a"e used 32 othe" p"o#"ams $usuall2 32 the mouse d"ive" o"
modem'A o" not installed o" access denied $ma2 need "oot p"ivile#es'. 84 2ou use added 0O+
po"ts $!08 o" !0+08% ca"ds' 2ou must use BS8F!"o# %!8B. Note that 9S52*S22 adapte"s
o4ten donCt wo": o" a"e ve"2 slow. ;o access 0O+ po"ts 4"om use" mode in Linu1 2ou need
the "i#hts to w"ite /dev/tt2S0A1A... devices and /va"/loc: di"ecto"2 and select S8F!"o# %!8 $this
is the p"e4e""ed wa2'.
4. ISP Parallel port interface select Bpa"allelB chec:F3o1 and choose B%v" 8S! %!8B o" B%v"
8S! 8/OB in the com3oF3o1. WindowsN;/2000/?! wo": onl2 with B%v" 8S! 8/OB. ;o use the B%v"
8S! 8/OB with Linu1 2ou need to "un !on2!"o# as "oot. ;hen select the L!; po"t 2ou want to
use. Note that i4 2ou want to p"o#"am the %;8/S11 device 2ou need to select the B8nve"t
*esetB chec:F3o1. ;o use this inte"4ace with Linu1 2ou need a 2.(.1 o" newe" :e"nel and
pa"po"tA pa"po"tKpc and ppdev :e"nel modules and 2ou need the "i#hts to w"ite
/dev/pa"po"t0A1A... devices.
Dou can use this inte"4ace to "ead/w"ite the %6* mic"os and S!8 eep"oms.
%udipipo;<+M interface select B=D+ %!8B o" B=D+ 8/OB. ;hen select the 0O+ po"t 2ou use.
%ll the conside"ations 4o" BS8F!"o#B inte"4ace a3ove a"e valid 4o" =D+ too. Dou can use this
inte"4ace to "ead/w"ite the !801-18( and 2(011 eep"oms. 84 2ou want to use =D+ inte"4ace to
p"o#"am 2(011 devices 2ou have to connect pin . o4 the 2(011 to 7ND $schematics a"e
w"on#'.
-asy I=C3us interface select the Bpa"allelB chec:F3o1A then select the L!; po"t 2ou want to
use. %ll the conside"ations 4o" B%v" 8S!B a3ove a"e valid 4o" B)as28205usB too.
+5:00/ interface ;his a"e the simplest inte"4ace 4o" %6* p"o#"ammin# $2ou can 4ind the
3oa"d on Dont"onics site'. &oweve" 8 st"on#l2 su##est to use the 3u44e"ed and sa4e" B%v" 8S!B
inte"4ace a3oveA especiall2 4o" 8S!A since the 3u44e" #o in &iFL state a4te" p"o#"ammin#.
2(/(2 Cali6ration
0ali3"ation tunes the se"ial 3us speed 4o" 2ou" compute". When 2ou "un 0ali3"ation 3e su"e
that !on2!"o# is the onl2 p"o#"am "unnin# in the !0A and the ha"d dis: is idle $loo: at the &D
led'. 84 2ou" !0 is 3us2 3ecause itCs pe"4o"min# othe" tas:s the 0ali3"ation thin:s 2ou" !0 is
slowe" than actual speedA and all 8/Os a"e pe"4o"med without p"ope" dela2. %4te" the
0ali3"ation 2ou can choose the speed 4o" eve"2 se"ial 3us modi42in# the 4ollowin# pa"amete"s
in the pon2p"o#.ini $.!on2!"o#"c unde" Linu1' 4ile:
I2C3usSpeedM"#$%&' a44ect 2(011 eep"om and othe" 8<05us devices
SPI3usSpeedM"#$%&' a44ect %6* mic"oA %;8/S11 mic"o and 2,111 eep"om
Micro$ire3usSpeedM"#$%&' a44ect /011 eep"om
PIC3usSpeedM"#$%&' a44ect !801-18( mic"o
S+-3usSpeedM"#$%&' a44ect SD)2,0- eep"om
)ve"2 pa"amete" can 3e assi#ned the value (')$&*'#+, -.$/*'#+, *'#+A "#$%&'A
0&*) o" )($1#. %void to use the ;9*5O value 3ecause it means Bno dela2BA and p"o3a3l2
it doesnCt wo": on 2ou" !0A especiall2 with the 8/O d"ive". =ust 4o" e1ample m2 !0 $!entium
++? 200+&E' "un 8<05us at a3out 80HhE with "#$%&', and 110 HhE with 0&*). Note that
a lot o4 8<05us devices donCt wo": at speed a3ove the 100H&E.
% special note 4o" %6* devices. ;he %6* need a valid s2stem cloc: to 3e p"o#"ammed via
S!8 and the ma1 4"eJuenc2 o4 the S!8 3us depends on this s2stem cloc:. So i4 2ou chan#ed
the 4use $even accidentall2' to use low cloc:s li:e 1+&E o" 2..-8H&E 2ou must chan#e the
S!85usSpeedM6)*DSLOW o" 9L;*%SLOW to access the %6* an2mo"e. 84 2ou have to use
such low cloc:s 8 su##est to p"o#"am the 4lash and eep"om 4i"stA and at last p"o#"am the
secu"it2 and 4use 3its.
3 Hardware interfaces
!on2!"o# suppo"ts seve"al ha"dwa"e inte"4acesA howeve" note that onl2 with S8F!"o#
inte"4ace 2ou a"e a3le to p"o#"am all the devices. Ne1t pa"a#"aphs show to 2ou all the
ha"dwa"e inte"4aces in detail.
3(# SI:Prog
3(#(# 5>e main 6oard
0onnect the D5/ connecto" to !0 0O+ po"t usin# standa"d se"ial ca3le. 0onnect =2
connecto" to the co""ect adapte" o3se"vin# pola"it2 $loo: at pin 1 and pin 10'.
3(#(2 I=C3us &2:wire' eeprom adapter
;his adapte" is needed to p"o#"am all 8<05us devices: 2(002A 2(00(A 2(008A 2(01-A
2(02A 2(0-(A 2(0128A 2(02,-A 2(0,12A !0F8,81 and SD%2,2-A SD%2,(-A SD%2,8-
eep"oms. 0onnect the adapte" to main 3oa"d o3se"vin# pola"it2. 8nse"t the eep"om in the
soc:et with the si#natu"e: 2(11 $%0'. 84 2ou need to access a 2(11 eep"om with S+; case
$SO8' place the device with eve"2 pin e1actl2 on the co""ispondin# pad and p"ess to ma:e
the contact #ood du"in# the "ead/w"ite ope"ation. Some devices mount two 2(011 eep"oms
at di44e"ent add"ess and access them as a la"#e sin#le eep"om. Dou can achieve this with the
two soc:ets %0 and %2. Fo" e1ample i4 2ou inse"t two 2(002 eep"omsA select the B2(??
%utoB device and pe"4o"m a "ead. !on2!"o# detect a 2(00( eep"om and the content is the
sum o4 the two 2(002 eep"oms.
Some eep"oms $especiall2 old SD) and SD% eep"oms' need e1te"nal powe" 4o" a co""ect
p"o#"ammin#. ;o use e1te"nal powe" 2ou need to connect a /6 3atte"2 to =/ and move =!2
to Be1tB position.
3(#(3 Microwire &3:wire' eeprom adapter
;his adapte" is needed to p"o#"am the +ic"owi"e devices: /00-A /0(-A /0,-A /0--A
/0.-A /08- eep"oms. 0onnect the adapte" to main 3oa"d o3se"vin# pola"it2. 8nse"t the
eep"om in the soc:et with the si#natu"e: /01- o" /01-? dependin# on the e1act device
model. Note that some devices suppo"t onl2 8 3it o"#aniEationA loo: at the 4ollowin# ta3le to
:now what soc:et to use and menu device to select.
Microc>ip Microwire &3:wire' Serial eeprom
Part Code *rg( Soc9et Power &?' Menu %a6el
234/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /(-
23%C4/ 83it /01- )1t/8nt +ic"oWi"e 8 FN /(-
23%C4/3 1-3it /01- )1t/8nt +ic"oWi"e 1- FN /(-
23C4/3 1-3it /01- )1t +ic"oWi"e 1- FN /(-
234/@ 8/1-3it /01-? )1t/8nt +ic"oWi"e 1- FN /(-
Part Code *rg( Soc9et Power &?' Menu %a6el
23%C4/@ 83it /01-? )1t/8nt +ic"oWi"e 8 FN /(-
23%C4/3@ 1-3it /01-? )1t/8nt +ic"oWi"e 1- FN /(-
23C4/3@ 1-3it /01-? )1t +ic"oWi"e 1- FN /(-
235/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /,-
23%C5/ 83it /01- )1t/8nt +ic"oWi"e 8 FN /,-
23%C5/3 1-3it /01- )1t/8nt +ic"oWi"e 1- FN /,-
23C5/ 83it /01- )1t +ic"oWi"e1- FN /,-
23C5/3 1-3it /01- )1t +ic"oWi"e 1- FN /,-
235/@ 8/1-3it /01-? )1t/8nt +ic"oWi"e 1- FN /,-
23%C5/@ 83it /01-? )1t/8nt +ic"oWi"e 8 FN /,-
23%C5/3@ 1-3it /01-? )1t/8nt +ic"oWi"e 1- FN /,-
23C5/@ 83it /01-? )1t +ic"oWi"e1- FN /,-
23C5/3@ 1-3it /01-? )1t +ic"oWi"e 1- FN /,-
23// 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /--
23%C// 83it /01- )1t/8nt +ic"oWi"e 8 FN /--
23%C//3 1-3it /01- )1t/8nt +ic"oWi"e 1- FN /--
23C// 83it /01- )1t +ic"oWi"e1- FN /--
23C//3 1-3it /01- )1t +ic"oWi"e 1- FN /--
23//@ 8/1-3it /01-? )1t/8nt +ic"oWi"e 1- FN /--
23%C//@ 83it /01-? )1t/8nt +ic"oWi"e 8 FN /--
23%C//3@ 1-3it /01-? )1t/8nt +ic"oWi"e 1- FN /--
23C//@ 83it /01-? )1t +ic"oWi"e1- FN /--
23C//3@ 1-3it /01-? )1t +ic"oWi"e 1- FN /--
230/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /.-
23%C0/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /.-
23C0/ 8/1-3it /01- )1t +ic"oWi"e 1- FN /.-
231/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /8-
23%C1/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /8-
23C1/ 8/1-3it /01- )1t +ic"oWi"e 1- FN /8-
$O' 84 2ou e1pe"iment p"o3lems du"in# the Pw"iteQ ope"ationA use the P)1tQ powe". P8ntQ powe" ma2 not wo": on
some !0A it depends on how much cu""ent is capa3le 2ou" !0 0O+ po"t. 84 2ou donCt use the L+2/-LF, use
the P)1tQ powe" with %LL devices.
tmel Microwire &3:wire' Serial eeprom
Part Code *rg( Soc9et Power &?' Menu %a6el
523C4/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /(-
523C4/$ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /(-
523C4/. 8/1-3it /01-? )1t/8nt +ic"oWi"e 1- FN /(-
523C4/ 1-3it /01- )1t/8nt +ic"oWi"e 1- FN /(-
523C4/C 1-3it /01- )1t/8nt +ic"oWi"e 1- FN /(-
523C5/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /,-
523C5/$ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /,-
523C// 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /--
523C//$ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /--
523C1/ 8/1-3it /01- )1t/8nt +ic"oWi"e 1- FN /8-
$O' 84 2ou e1pe"iment p"o3lems du"in# the Pw"iteQ ope"ationA use the P)1tQ powe". P8ntQ powe" ma2 not wo": on
some !0A it depends on how much cu""ent is capa3le 2ou" !0 0O+ po"t. 84 2ou donCt use the L+2/-LF, use
the P)1tQ powe" with %LL devices.
;o use e1te"nal powe" 2ou need to connect a /6 3atte"2 to =/ and move =!2 to Be1tB position.
3(#(1 PIC micro adapter
;his adapte" is needed to p"o#"am the +ic"ochip !80 mic"ocont"olle"s: !801-F8(A
!801-F8(%A !801-F8.1A !80120,01. 0onnect the adapte" to main 3oa"d o3se"vin# pola"it2.
8nse"t the !80 in the co""ect soc:et $loo: at the te1t in sil:sc"een on the !05'. !a2 attention
to pola"it2 $pin 1'. ;o p"o#"am !801-F8(A !801-F8(% and !801-F8.1 2ou need a /6 3atte"2
connected to 5;1A the =!2 on B8ntB positionA and the =!1 on B5atB position. 84 2ou" 0O+ po"t
canCt p"ovide enau#h cu""ent 2ou have to p"ovide an e1te"nal powe": connect a sta3iliEed R1,
6olt D.0. to =/ $pa2 attention to the pola"it2'A move =!2 on B)1tB position and =!1 on B)1tB
position. ;o p"o#"am !80120,01 2ou need a sta3iliEed R1 6olt D.0. to =/ and move =!2 on
B)1tB position and =!1 on B)1tB position.

3(#(2 <umper setting summary
6e"sion 2.2 o4 !DF schematic
=umpe" name
$sil:sc"eened on the
!05'
=umpe" 4unction
=!1
Switch 3etween 3atte"2 powe"ed and e1te"nal powe"ed !80 6pp
modes.
=!2
Switch 3etween inte"nal 0O+ powe"ed and e1te"nal powe"ed 6dd
modes.
=!
Select the pola"it2 o4 *eset line 4o" %6* %;/0S11 and %;8/S11
mic"ocont"olle"
=!(
0onnect pin . to 7ND. 2(011 devices usuall2 need this pin connected
to 7NDA while !0F8,82 no.

=/
0onnecto" 4o" 6dd e1te"nal powe". Dou need to p"ovide an e1te"nal
powe" $/6A i.e.3atte"2' when the 6dd d"ops unde" , 6olts du"in#
p"o#"ammin#. ;his ma2 happen in th"ee cases:
1. 2ou" 0O+ po"t donCt p"ovide enau#h cu""ent
2. the device sin: too much cu""ent $i.e. NF+os devices'
. 2ou "eplace the L+2/-LF, with a .8L0,
5;1
0onnecto" 4o" 6pp 3atte"2 #ene"ated powe". !801-F111 devices need
a 3atte"2 to #ene"ate the 6pp M 6dd R /6
3(#(#0 Serial ca6le
;o use !on2!"o# 2ou need a se"ial ca3le D5/ Female to D5/ +ale with %LL pins connected
in the 4ollowin# wa2:
D5/ Female D5/ +ale
1 1
2 2

( (
, ,
- -
. .
8 8
/ /
8tCs sometime called Bmodem ca3leBA howeve" chec: that all pins a"e connected. %void to use
Bnull modem ca3leBs.
3(#(## -lectric sc>ematic
6e"sion 2.2 o4 !DF schematic
3(#(#2 Mounting plan
6e"sion 2.2 o4 !DF mountin# plan
4 Scripts
!on2!"o# S0*8!; is a tool to automate p"o#"ammin#. % sc"ipt is a te1t 4ile with e1tension
.e2s containin# a seJuence o4 commands to e1ecute. )ve"2 line contain a commandA lines
sta"tin# with the cha"acte" S a"e s:ipped $comments' as well as 3lan: lines.
4(# !uic9 start
With 2ou" 4avou"ite te1t edito" c"eate a te1t 4ile li:e this:
SFFFFFF S;%*; FFFFFFFF
S!"o#"ammin# seJuence
S)L)0;D)680) %;;8ND12
0L)%*59FF)*
LO%DF!*O7 4lash.he1
LO%DFD%;% eep"om.he1
!%9S) B0onnect and powe"up the ci"cuitA a"e 2ou "ead2TB
*)%DF0%L85*%;8ON 0144
)*%S)F%LL
W*8;)I6)*8FDF%LL
S!a2 attention to NO; disa3le *S;D8S5L
SFuse: B5ODL)6)L BAB5OD)N BABS!8)N BAB*S;D8S5L BAB0HS)L BAB0HS)L2 BAB0HS)L1BAB0HS)L0 B
S 1 1 1 0 1 1 0 1
W*8;)FF9S) 01)D
SLoc:: U?A?A?A?A?ABLoc:2 BABLoc:1 BA?V
S 0 0 0 0 0 1 1 0
W*8;)FLO0H 010-
SFFFFFFF )ND FFFFFFFFF
Save the 4ile with e1tension .e2s $4o" e1ample sc"ipt.e2s' and then "un:
N pon2p"o#2000.e1e sc"ipt.e2s
!on2!"o# will sta"tupA select the %;tin212 deviceA clea" the 3u44e"A load 4lash and eep"om
4ilesA "ead the osc.cali3"ation to location 0144 in the 3u44e" and then p"o#"am the device with
4lashA eep"omA 4uses and loc: 3its. When 4inished !on2!"o# e1it.
84 2ou use the av"F#cc compile" 2ou will 4ind use4ul to call !on2!"o# di"ectl2 4"om the ma:e
4ile. 8nse"t the 4ollowin# lines in 2ou" ma:e4ile and then launch Bma:e ispB
8S!)?) M c:/p"o#"ammi/pon2p"o#2000/pon2p"o#2000.e1e
+09 M atme#a128
;*7 M m2app
isp: W$;*7'.he1 W$;*7'.eep
echo Fe BS)L)0;D)680) W$+09'XnLO%DF!*O7 W$;*7'.he1XnLO%DFD%;%
W$;*7'.eepXnW*8;)I6)*8FDF%LLB Nisp.e2s
W$8S!)?)' isp.e2s
4(2 Command reference
S
5D;)SW%!
0%LL YcommandN
0L)%*59FF)*
D)L%D YmsecN
)D8;FS)09*8;D
)*%S)F%LL
F8LL59FF)* Zval[Z4"om[Zto[
LO%DF%LL Z4ile[Z"elocationKo44set[
LO%DF!*O7 Z4ile[Z"elocationKo44set[
LO%DFD%;% Z4ile[Z"elocationKo44set[
!%9S) Zmessa#e[
*)%DF%LL
*)%DF0%L85*%;8ON Yadd"essNZmem[ZoscKinde1[
*)%DFD%;%
*)%DF!*O7
*)%DFF9S)
*)%DFLO0H
*)S);
S%6)F%LL Z4ile \ CFFC[Z4ileKt2pe[
S%6)FD%;% Z4ile \ CFFC[Z4ileKt2pe[
S%6)F!*O7 Z4ile \ CFFC[Z4ileKt2pe[
S)L)0;D)680) YdeviceN
S)*8%LN9+5)* Zvalue[Zsta"t[ZsiEe[Zmem[Z4o"mat[Zautoinc[
6)*8FDF%LL
6)*8FDFD%;%
6)*8FDF!*O7
W*8;)F%LL
W*8;)FD%;%
W*8;)F!*O7
W*8;)FF9S) Z3its[
W*8;)FLO0H Z3its[
W*8;)I6)*8FDF%LL
W*8;)I6)*8FDFD%;%
W*8;)I6)*8FDF!*O7
Z [ optional a"#ument
Y N "eJui"ed a"#ument
S
Desc"iption:
%n2 line sta"tin# with S cha"acte" is conside"ed as a comment and s:ipped.
S)L)0;D)680) YdeviceN
Desc"iption:
Select the device model to "ead/w"ite.
)1ample:
S)L)0;D)680) %;+)7%128
LO%DF%LL Z4ile[Z"elocationKo44set[
LO%DFD%;% Z4ile[Z"elocationKo44set[
LO%DF!*O7 Z4ile[Z"elocationKo44set[
Desc"iption:
LO%DF%LL load the whole content o4 the selected device 4"om the 4ile speci4iedA this
command is use4ul to load !80 and ))!*O+ devices with &)? o" 58N 4o"matA o" is use4ul to
load eve"2 devices with )2! 4iles.
LO%DF!*O7 load onl2 the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6*'
LO%DFD%;% load onl2 the data ))!*O+ po"tion o4 the device $use4ul with the %6*'
84 no 4ile is speci4ied then open a 4ile dialo# to choose the 4ile to load. ;he "elocationKo44set is
an optional a"#ument use4ul i4 2ou want to load at memo"2 add"esses di44e"ent 4"om that
speci4ied in the 4ile. 8n case o4 3ina"2 4ile 2ou speci42 the add"ess 4"om which sta"t to load the
3u44e".
)1ample:
LO%DF!*O7 p"o#Kmemo"2.he1
LO%DF%LL memo"2.3in 01100 $s:ip the 4i"st 2,- 32tes o4 the 3u44e"'
S%6)F%LL Z4ile \ CFFC[Z4ileKt2pe[
S%6)FD%;% Z4ile \ CFFC[Z4ileKt2pe[
S%6)F!*O7 Z4ile \ CFFC[Z4ileKt2pe[
Desc"iption:
S%6)F%LL save the whole content o4 the selected device to the 4ile speci4ied.
S%6)F!*O7 save onl2 the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6*'
S%6)FD%;% save onl2 the data ))!*O+ po"tion o4 the device $use4ul with the %6*'
84 no 4ile is speci4ied it saves to the cu""ent 4ile nameA in case o4 no cu""ent 4ile name it opens
the 4ile dialo# to choose a 4ile name. 84 the FF st"in# is speci4ied it opens the 4ile dialo# to
choose a new 4ile name. 84 2ou speci42 the 4ileKt2pe it saves the 3u44e" in the selected 4ile
4o"matA use4ul to conve"t a 4ile 4"om one t2pe to anothe". 4ileKt2pe can 3e:
F e2p to select the de4ault )2! 4ile used 32 !on2!"o#
F 3in to select a "aw 3ina"2 4o"mat
F csm to select a custom 0S+ 4ile 4o"mat used 32 some ;6 "epai"e"
F intelFhe1 to select standa"d 8N;)?F&)? te1t 4o"mat
F motFs"ec to select standa"d +O;O*OL% S*)0 te1t 4o"mat
)1ample:
S%6)FD%;% dataKmemo"2.he1 intelFhe1
S%6)F%LL FF $save all the device and as: the 4ile name'
*)%DF%LL
*)%DFD%;%
*)%DF!*O7
Desc"iption:
*)%DF%LL "ead the whole content o4 the selected device to the cu""ent 3u44e"
*)%DF!*O7 "ead onl2 the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6* o"
!80'
*)%DFD%;% "ead onl2 the data ))!*O+ po"tion o4 the device $use4ul with the %6* o" !80'
)1ample:
*)%DF%LL
W*8;)I6)*8FDF%LL
W*8;)I6)*8FDFD%;%
W*8;)I6)*8FDF!*O7
Desc"iption:
W*8;)I6)*8FDF%LL w"ite and then ve"i42 the whole content o4 the selected device "eadin#
4"om the 3u44e"
W*8;)I6)*8FDF!*O7 w"ite and then ve"i42 onl2 the p"o#"am FL%S& po"tion o4 the device
$use4ul with the %6* o" !80'
W*8;)I6)*8FDFD%;% w"ite and then ve"i42 onl2 the data ))!*O+ po"tion o4 the device
$use4ul with the %6* o" !80'
W*8;)I6)*8FD commands "eJui"e !on2!"o# ve"sion 2.0, o" mo"e "ecent. 9suall2 2ou will
use the W*8;)I6)*8FDA not the W*8;) and then the 6)*8FD command 3ecause the 4o"me"
ve"i42 onl2 p"o#"ammed locations instead the latte" ve"i42 all the 3u44e" $slowe"'.
)1ample:
W*8;)I6)*8FDF!*O7
W*8;)F%LL
W*8;)FD%;%
W*8;)F!*O7
Desc"iption:
W*8;)F%LL w"ite the whole content o4 the selected device "eadin# 4"om the 3u44e"
W*8;)F!*O7 w"ite onl2 the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6* o"
!80'
W*8;)FD%;% w"ite onl2 the data ))!*O+ po"tion o4 the device $use4ul with the %6* o" !80'
)1ample:
W*8;)F%LL
6)*8FDF%LL
6)*8FDFD%;%
6)*8FDF!*O7
Desc"iption:
6)*8FDF%LL "ead and compa"e the whole content o4 the selected device a#ainst the 3u44e"
6)*8FDF!*O7 ve"i42 onl2 the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6* o"
!80'
6)*8FDFD%;% ve"i42 onl2 the data ))!*O+ po"tion o4 the device $use4ul with the %6* o"
!80'
)1ample:
6)*8FDF%LL
)*%S)F%LL
Desc"iption:
)*%S)F%LL e"ase the whole content o4 the selected device. 9suall2 this ope"ation 3"in# all
the locations o4 the selected device to FF.
)1ample:
)*%S)F%LL
)D8;FS)09*8;D
Desc"iption:
Open the 4use and loc: 3its dialo# to edit them.
*)%DFF9S)
*)%DFLO0H
Desc"iption:
*)%DFF9S) "ead the 4use 3its $device dependant' and open the 4use and loc: 3its dialo#
*)%DFLO0H "ead the loc: 3its $device dependant' and open the 4use and loc: 3its dialo#
)1ample:
*)%DFF9S)
W*8;)FF9S) Z3its[
W*8;)FLO0H Z3its[
Desc"iption:
W*8;)FF9S) w"ite the 4use 3its $device dependant'.
W*8;)FLO0H w"ite the loc: 3its $device dependant'.
84 the a"#ument is speci4ied it is the nume"ic value o4 the 3its "ap"esentationA note t>at a #
means programmed. 84 no a"#ument is speci4ied the cu""ent value is p"o#"ammed. !a2
%ttention to p"o#"am the F9S) 3its with the %6*A 2ou can speci42 a w"on# 3it com3ination
that will p"event 2ou to access the %6* device in the 4utu"e. *e4e" to the datasheets 4o" the
meanin# o4 eve"2 3it.
Some %6* devices have mo"e than one 32te 4o" the 4use 3its. 8n such cases the a"#ument is
a multi32te nume" and least si#ni4icant 32te is the standa"d 4use 32te. Fo" e1ample:
a"#ument M 0101020
Standa"d 4use M 010
&i#h 4use M 0102
)1tended 4use M 0101
)1ample:
S)L)0;D)680) %;/0S1200
SLoc:: U?A?A?A?A?ABLoc:2 BABLoc:1 BA?V
S 0 0 0 0 0 1 1 0
W*8;)FLO0H 010-
S)L)0;D)680) %;;8ND21
SFuse: BS!+)N B ]
S BDW)N BAB))S%6) BABS!8)N BABWD;ON BAB5ODL)6)L2 BAB5ODL)6)L1 BAB5ODL)6)L0
BAB*S;D8S5L B ]
S B0HD868 BAB0HO9; BABS9;1 BABS9;0 BAB0HS)L BAB0HS)L2 BAB0HS)L1 BAB0HS)L0 B
S 0 F 0 0 0 0 0 1 0 0 F 0 0 0 0 0 0 1 0
W*8;)FF9S) 0100(02
S)*8%LN9+5)* Zvalue[Zsta"t[ZsiEe[Zmem[Z4o"mat[Zautoinc[
Desc"iption:
9sed to set a se"ial num3e" in a location in the 3u44e" 3e4o"e to w"ite the device. ;his num3e"
can 3e speci4ied eve"2 time o" autoinc"emented 4"om the p"evious one.
)1ample:
S)*8%LN9+5)* 1- 01100 2 D%;% L8;;L))ND8%N NO
Set the se"ial num3e" o4 C2C 32tes and value C1-C at add"ess C01100C sta"tin# 4"om CD%;%C
memo"2. ;he 4o"mat should 3e L8;;L))ND8%N without autoinc"ement
*)%DF0%L85*%;8ON Yadd"essNZmem[ZoscKinde1[
Desc"iption:
*ead the inte"nal oscillato" cali3"ation value 4"om the %6* and w"ite it to a location in the
3u44e" at the speci4ied add"ess $and memo"2 t2pe D%;% o" !*O7'. ;he oscKinde1 a"#ument
speci42 which cali3"ation value should 3e "ead since some %6* have seve"al oscillato"
4"eJuencies. ;he oscKinde1 a"#ument is availa3le onl2 4"om the 2.0-c ve"sion
)1ample:
S)L)0;D)680) %;+)7%128
*)%DF0%L85*%;8ON 01100 D%;%
*ead the oscillato" cali3"ation value 4o" 8+&E 4"eJuenc2
5D;)SW%!
Desc"iption:
Swap the o"de" o4 32tes within a wo"d in the 3u44e" $low 32te YFFN hi#h 32te'
*)S);
Desc"iption:
*eset the device
0L)%*59FF)*
Desc"iption:
0lea" the 3u44e" $all 32tes to FF'
F8LL59FF)* Zval[Z4"om[Zto[
Desc"iption:
Fill the 3u44e" 4"om location C4"omC to location CtoC with the CvalC value. 84 no a"#ument is speci4ied
a dialo# as: 4o" these values.
)1ample:
F8LL59FF)* 2( 01100 01200
!%9S) Zmessa#e[
Desc"iption:
!ause the p"o#"am and show a messa#e dialo# as:in# con4i"mation to continue.
0%LL YcommandN
Desc"iption:
0all an e1te"nal p"o#"am and wait 4o" it te"minates.
)1ample:
0%LL notepad.e1e
D)L%D YmsecN
Desc"iption:
Wait 4o" the speci4ied amount 4o milliseconds.
)1ample:
D)L%D 1000
Suspend the sc"ipt and wait 4o" 1 second
5 F((!(
MMMMMMMMMMMMM
%6* Juestions
MMMMMMMMMMMMM
>: 8 canCt p"o#"am %;me#aA 8 alwa2s #ot BW"ite 4ailed messa#eB.
>: 8 canCt p"o#"am %6* %;/0S111A 8 "eceive e""o" F21 and the p"o#"am 4ails. What is the p"o3lemT
%: 8nc"ease the 4ollowin# pa"amete"s in the pon2p"o#.ini 4ile $all times a"e in milliseconds'
%6*52teW"iteDela2M0 CDela2 to complete the w"ite o4 a sin#le wo"d
%6*)"aseDela2M100 CDela2 to complete the e"ase o4 all the memo"2
8n case o4 %;me#a inc"ease also the 4ollowin# pa"amete":
%;+e#a!a#eW"iteDela2M,0 CDela2 to complete the w"ite o4 a pa#e o4 4lash memo"2
FFFFFFFF
>: 8 canCt "ead o" w"ite %;/0S1200 device. 8 "eceive the e""o" messa#e:
BDevice missin# o" un:nown device F2(B
%: Select B8#no"eB 3uttonA i4 the 4inal messa#e is BW"ite succes4ulB 2ou have a sample that
doesnCt "epl2 to the identi42 command. 8t seems that ea"l2 devices donCt "epl2 to this command.
FFFFFFFF
>: 8 need to p"o#"am the %6* mounted on the ta"#et ci"cuit $8n s2stem p"o#"ammin#'A 3ut !on2!"o#
4ails to p"o#"am 3ecause an e1te"nal "eset ci"cuit hold the "eset line low 4o" a lon# time.
%: ;"2 to pla2 with the 4ollowin# pa"amete"s in the 8N8 4ileA it should solve the p"o3lem $all the
times a"e in milliseconds'
S!8*eset!ulseM100 C&ow lon# is the "eset pulse #ene"ated 32 !on2!"o#
S!8Dela2%4te"*esetM,0 C&ow man2 milliseconds !on2!"o# waits a4te" the "eset pulse
MMMMMMMMMMMMMMM
Othe" Juestions
MMMMMMMMMMMMMMM
>: What t2pe o4 ca3le 8 should use to connect S8F!"o# to the 0O+ po"tT
%: Dou must use Bst"ai#ht th"ou#hB ca3le with all / pins connected.
DonCt use Bnull modemB ca3le. $loo: at .1.10'
FFFFFFFF
>: With Windows2000/?! 8 canCt access the L!; po"ts without 3ein# administ"ato"A 8 need to "un !on2!"o#
lo##ed in as no"mal use"A what can 8 doT
%: Dou cannot load the DL!O*;8O.SDS d"ive" w/o 3ein# an administ"ato".
%s %dminist"ato"A Sta"t the 0ompute" +ana#ement console FN Device +ana#e" FN 6iew: show hidden devices.
;hen )1pand NonF!lu# and !la2 D"ive"s and 4ind the d"ive" in the list.
8t ma2 show up as D"ive"L8N? !o"t 8/O D"ive".
;henA 4o" this d"ive" FN p"ope"ties FN d"ive" sta"tup. Set sta"tup to 3oot. *e3oot the s2stem.
FFFFFFFFF
>: +2 !0 doesnCt have an2 L!;/0O+ po"tA can 8 use a 9S520O+ o" 9S52L!; adapte"T
%: Some 9S5 adapte"s donCt wo": at all while othe" adapte"s a"e ve"2 slow. So 8 su##est to avoid 9S5 adapte"
and 3u2 0O+/L!; !0+08% o" !08 adapte"s that emulates 100^ native L!; and 0O+ po"ts.
FFFFFFFFFF
>: 8 have a Windows2000/?! !0 with an e1t"a L!; ca"dA 3ut !on2!"o# canCt select the added po"tA can 8 4o"ce
itT
%: Fi"st 2ou have to select the %v"8S!F8/O inte"4ace instead o4 the %!8 ve"sion.
;hen 2ou have to edit pon2p"o#2000.ini 4ile and disa3le po"t autodetection:
%utoDetect!o"tsMNO
then 2ou have to discove" the "eal add"ess o4 the e1t"a L!; po"t 32 loo:in# at
0ompute" +ana#ement console FN Device +ana#e" FN L!; po"ts FN "esou"ces. Fo" e1ample i4 the e1t"a L!;
is L!;
and the add"ess is DF00 2ou need to ente" the line
L!;!o"tsM.8A2.8ADF00
Note that this 4i1 wo":s onl2 in some ve"sion $use 2.0-# and newe"'.

You might also like