PonyProg - Manual

download PonyProg - Manual

of 28

Transcript of PonyProg - Manual

  • 5/21/2018 PonyProg - Manual

    1/28

    PonyProg2000 documentation

    http://www.LancOS.com

    Last update: 2008

    Contents1Installing

    2Menu Commands

    2.1File

    2.1.1New Window

    2.1.2Open 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 %s2.1.Save !"o#"am $FL%S&' File

    2.1.8Save Data $))!*O+' File

    2.1.*eload Files

    2.1.10!"int

    2.1.11lose

    2.1.12)it

    2.2)dit

    2.2.1)dit note

    2.2.2)dit secu"it 3its

    2.2.)dit 3u44e" ena3led2.Device

    2.(ommand

    2.(.1*ead %ll

    2.(.2*ead !"o#"am $FL%S&'

    2.(.*ead Data $))!*O+'

    2.(.(*ead Secu"it and on4i#u"ation 5its

    2.(.,W"ite %ll

    2.(.-W"ite !"o#"am $FL%S&'

    2.(.W"ite Data $))!*O+'2.(.8W"ite Secu"it and on4i#u"ation 5its

    2.(.6e"i4 %ll

    2.(.106e"i4 !"o#"am $FL%S&'

    2.(.116e"i4 Data $))!*O+'

    2.(.12)"ase

    2.(.17etn4o

    2.(.1(*eset

    2.(.1,!"o#"am

    2.(.1-!"o#"am Options

    2.,9tilit2.,.1lea" 3u44e"

    2.,.2Fill 3u44e"

    2.,.Dou3le 3an

    http://www.lancos.com/http://www.lancos.com/e2p/ponyprog2000.html#s1http://www.lancos.com/e2p/ponyprog2000.html#s2http://www.lancos.com/e2p/ponyprog2000.html#s2.1http://www.lancos.com/e2p/ponyprog2000.html#s2.1.1http://www.lancos.com/e2p/ponyprog2000.html#s2.1.2http://www.lancos.com/e2p/ponyprog2000.html#s2.1.3http://www.lancos.com/e2p/ponyprog2000.html#s2.1.4http://www.lancos.com/e2p/ponyprog2000.html#s2.1.5http://www.lancos.com/e2p/ponyprog2000.html#s2.1.6http://www.lancos.com/e2p/ponyprog2000.html#s2.1.7http://www.lancos.com/e2p/ponyprog2000.html#s2.1.8http://www.lancos.com/e2p/ponyprog2000.html#s2.1.9http://www.lancos.com/e2p/ponyprog2000.html#s2.1.10http://www.lancos.com/e2p/ponyprog2000.html#s2.1.11http://www.lancos.com/e2p/ponyprog2000.html#s2.1.12http://www.lancos.com/e2p/ponyprog2000.html#s2.2http://www.lancos.com/e2p/ponyprog2000.html#s2.2.1http://www.lancos.com/e2p/ponyprog2000.html#s2.2.2http://www.lancos.com/e2p/ponyprog2000.html#s2.2.3http://www.lancos.com/e2p/ponyprog2000.html#s2.3http://www.lancos.com/e2p/ponyprog2000.html#s2.4http://www.lancos.com/e2p/ponyprog2000.html#s2.4.1http://www.lancos.com/e2p/ponyprog2000.html#s2.4.2http://www.lancos.com/e2p/ponyprog2000.html#s2.4.3http://www.lancos.com/e2p/ponyprog2000.html#s2.4.4http://www.lancos.com/e2p/ponyprog2000.html#s2.4.5http://www.lancos.com/e2p/ponyprog2000.html#s2.4.6http://www.lancos.com/e2p/ponyprog2000.html#s2.4.7http://www.lancos.com/e2p/ponyprog2000.html#s2.4.8http://www.lancos.com/e2p/ponyprog2000.html#s2.4.9http://www.lancos.com/e2p/ponyprog2000.html#s2.4.10http://www.lancos.com/e2p/ponyprog2000.html#s2.4.11http://www.lancos.com/e2p/ponyprog2000.html#s2.4.12http://www.lancos.com/e2p/ponyprog2000.html#s2.4.13http://www.lancos.com/e2p/ponyprog2000.html#s2.4.14http://www.lancos.com/e2p/ponyprog2000.html#s2.4.15http://www.lancos.com/e2p/ponyprog2000.html#s2.4.16http://www.lancos.com/e2p/ponyprog2000.html#s2.5http://www.lancos.com/e2p/ponyprog2000.html#s2.5.1http://www.lancos.com/e2p/ponyprog2000.html#s2.5.2http://www.lancos.com/e2p/ponyprog2000.html#s2.5.3http://www.lancos.com/e2p/ponyprog2000.html#s1http://www.lancos.com/e2p/ponyprog2000.html#s2http://www.lancos.com/e2p/ponyprog2000.html#s2.1http://www.lancos.com/e2p/ponyprog2000.html#s2.1.1http://www.lancos.com/e2p/ponyprog2000.html#s2.1.2http://www.lancos.com/e2p/ponyprog2000.html#s2.1.3http://www.lancos.com/e2p/ponyprog2000.html#s2.1.4http://www.lancos.com/e2p/ponyprog2000.html#s2.1.5http://www.lancos.com/e2p/ponyprog2000.html#s2.1.6http://www.lancos.com/e2p/ponyprog2000.html#s2.1.7http://www.lancos.com/e2p/ponyprog2000.html#s2.1.8http://www.lancos.com/e2p/ponyprog2000.html#s2.1.9http://www.lancos.com/e2p/ponyprog2000.html#s2.1.10http://www.lancos.com/e2p/ponyprog2000.html#s2.1.11http://www.lancos.com/e2p/ponyprog2000.html#s2.1.12http://www.lancos.com/e2p/ponyprog2000.html#s2.2http://www.lancos.com/e2p/ponyprog2000.html#s2.2.1http://www.lancos.com/e2p/ponyprog2000.html#s2.2.2http://www.lancos.com/e2p/ponyprog2000.html#s2.2.3http://www.lancos.com/e2p/ponyprog2000.html#s2.3http://www.lancos.com/e2p/ponyprog2000.html#s2.4http://www.lancos.com/e2p/ponyprog2000.html#s2.4.1http://www.lancos.com/e2p/ponyprog2000.html#s2.4.2http://www.lancos.com/e2p/ponyprog2000.html#s2.4.3http://www.lancos.com/e2p/ponyprog2000.html#s2.4.4http://www.lancos.com/e2p/ponyprog2000.html#s2.4.5http://www.lancos.com/e2p/ponyprog2000.html#s2.4.6http://www.lancos.com/e2p/ponyprog2000.html#s2.4.7http://www.lancos.com/e2p/ponyprog2000.html#s2.4.8http://www.lancos.com/e2p/ponyprog2000.html#s2.4.9http://www.lancos.com/e2p/ponyprog2000.html#s2.4.10http://www.lancos.com/e2p/ponyprog2000.html#s2.4.11http://www.lancos.com/e2p/ponyprog2000.html#s2.4.12http://www.lancos.com/e2p/ponyprog2000.html#s2.4.13http://www.lancos.com/e2p/ponyprog2000.html#s2.4.14http://www.lancos.com/e2p/ponyprog2000.html#s2.4.15http://www.lancos.com/e2p/ponyprog2000.html#s2.4.16http://www.lancos.com/e2p/ponyprog2000.html#s2.5http://www.lancos.com/e2p/ponyprog2000.html#s2.5.1http://www.lancos.com/e2p/ponyprog2000.html#s2.5.2http://www.lancos.com/e2p/ponyprog2000.html#s2.5.3http://www.lancos.com/
  • 5/21/2018 PonyProg - Manual

    2/28

    2.,.( 5te swap

    2.,.,Set Se"ial Num3e"

    2.,.- Se"ial Num3e" on4i#

    2.-Setup

    2.-.1nte"4ace Setup

    2.-.2ali3"ation

    3 Hardware interfaces.1 S !"o#

    .1.1 ;he main 3oa"d

    .1.2 uic sta"t

    (.2 ommand "e4e"ence

    5 F!

    ppendi"

    %

    # Installing

    nstallin# !on!"o# depend on the sstem ou have. With $indows,/8/+) o"N;/2000/?! @ust "un the Setup.ee and 4ollow the inst"uctions.

    With *ed&at %inu" -.2/.0 lo#in as "oot and eecute the command# tar xvfzP ponyprog-X.XXX.tar.gz # chmod +s /usr/local/bin/ponyprog2000&optional'

    4 ou want to use pa"allel po"t inte"4aces without "un !on!"o# as "oot ou need also a 2.(.e"nel andparportAparportpcandppd!ve"nel modules. insmod all th"ee modules 3e4o"eto eecute !on!"o#. 4 ou want to use se"ial po"t inte"4aces 3e su"e ou have the "i#hts to"ead/w"ite the /dev/ttS devices and /va"/loc di"ecto". With *ed&at ou ma want to addou" use" to uucp #"oup.

    ;he 4i"st time ou "un the p"o#"am "emem3e" to select the inte"4ace and po"t ou use with theSetup. 4 the p"o#"am "epo"t a messa#e lie B;he inte"4ace donCt "espondB when sta"tedA itmeans that ou not have con4i#u"ed the po"t p"ope"lA o" the inte"4ace is not connected.ou need also to "un ali3"ationin most cases.

    2 Menu commands

    http://www.lancos.com/e2p/ponyprog2000.html#s2.5.4http://www.lancos.com/e2p/ponyprog2000.html#s2.5.5http://www.lancos.com/e2p/ponyprog2000.html#s2.5.6http://www.lancos.com/e2p/ponyprog2000.html#s2.6http://www.lancos.com/e2p/ponyprog2000.html#s2.6.1http://www.lancos.com/e2p/ponyprog2000.html#s2.6.2http://www.lancos.com/e2p/ponyprog2000.html#s3http://www.lancos.com/e2p/ponyprog2000.html#s3.1http://www.lancos.com/e2p/ponyprog2000.html#s3.1.1http://www.lancos.com/e2p/ponyprog2000.html#s3.1.2http://www.lancos.com/e2p/ponyprog2000.html#s3.1.3http://www.lancos.com/e2p/ponyprog2000.html#s3.1.4http://www.lancos.com/e2p/ponyprog2000.html#s3.1.5http://www.lancos.com/e2p/ponyprog2000.html#s3.1.6http://www.lancos.com/e2p/ponyprog2000.html#s3.1.7http://www.lancos.com/e2p/ponyprog2000.html#s3.1.8http://www.lancos.com/e2p/ponyprog2000.html#s3.1.9http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10http://www.lancos.com/e2p/ponyprog2000.html#s3.1.11http://www.lancos.com/e2p/ponyprog2000.html#s3.1.12http://www.lancos.com/e2p/ponyprog2000.html#s4http://www.lancos.com/e2p/ponyprog2000.html#s4_1http://www.lancos.com/e2p/ponyprog2000.html#s4_2http://www.lancos.com/e2p/ponyprog2000.html#s5http://www.lancos.com/e2p/ponyprog2000.html#s2.5.1http://www.lancos.com/e2p/ponyprog2000.html#s2.5.2http://www.lancos.com/e2p/ponyprog2000.html#s2.5.4http://www.lancos.com/e2p/ponyprog2000.html#s2.5.5http://www.lancos.com/e2p/ponyprog2000.html#s2.5.6http://www.lancos.com/e2p/ponyprog2000.html#s2.6http://www.lancos.com/e2p/ponyprog2000.html#s2.6.1http://www.lancos.com/e2p/ponyprog2000.html#s2.6.2http://www.lancos.com/e2p/ponyprog2000.html#s3http://www.lancos.com/e2p/ponyprog2000.html#s3.1http://www.lancos.com/e2p/ponyprog2000.html#s3.1.1http://www.lancos.com/e2p/ponyprog2000.html#s3.1.2http://www.lancos.com/e2p/ponyprog2000.html#s3.1.3http://www.lancos.com/e2p/ponyprog2000.html#s3.1.4http://www.lancos.com/e2p/ponyprog2000.html#s3.1.5http://www.lancos.com/e2p/ponyprog2000.html#s3.1.6http://www.lancos.com/e2p/ponyprog2000.html#s3.1.7http://www.lancos.com/e2p/ponyprog2000.html#s3.1.8http://www.lancos.com/e2p/ponyprog2000.html#s3.1.9http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10http://www.lancos.com/e2p/ponyprog2000.html#s3.1.11http://www.lancos.com/e2p/ponyprog2000.html#s3.1.12http://www.lancos.com/e2p/ponyprog2000.html#s4http://www.lancos.com/e2p/ponyprog2000.html#s4_1http://www.lancos.com/e2p/ponyprog2000.html#s4_2http://www.lancos.com/e2p/ponyprog2000.html#s5http://www.lancos.com/e2p/ponyprog2000.html#s2.5.1http://www.lancos.com/e2p/ponyprog2000.html#s2.5.2
  • 5/21/2018 PonyProg - Manual

    3/28

    ;he 4ollowin# is an eplanation o4 each menu command.

    2(# File

    2(#(# )ew $indow

    Open a new windowA each window displa a 3u44e" 4o" the device selected.

    2(#(2 *pen +e,ice File

    Open a 4ile 3 nameA and "ead its content in the cu""ent window. ou can select the 4ile toopen th"ou#h a dialo# o" d"a# and d"op the 4ile to open ove" the !on!"o# window. !on!"o#"eco#niEe seve"al di44e"ent tpes o4 4ile 4o"mat: e2pA intel heA moto"ola S"eco"d and "aw3ina". 4 the selected 4ile doesnCt seem to 3e a e2pA it t"ies to open the 4ile as intel heG i4 thisope"ation 4ailsA then it t"ies to open the 4ile as S*ecG i4 also this ope"ation 4ailsA then it opensthe 4ile as 3ina". 4 the 4ile has e2p 4o"matA ou donCt need to wo"" a3out the device tpe

    cu""entl selectedA othe"wise ou 4i"st have to selectthe co""ect device tpeA then load the4ile. n case o4 splitted !"o#"am/Data device lie %6* and ! the content o4 the data eep"omwill 3e displaed a4te" the content o4 the p"o#"am 4lash memo" in the cu""ent window with adi44e"ent colo".

    2(#(3 *pen Program &F%SH' File

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command Open a 4ile 3 name and load onl the p"o#"am memo". oucan select the 4ile to open th"ou#h a dialo#. ;he 4ile to load ma have one o4 these 4o"mat:intelheA moto"ola S"eco"d o" "aw 3ina".

    2(#(4 *pen +ata &--P.*M' File

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command Open a 4ile 3 name and load onl the data memo". ou canselect the 4ile to open th"ou#h a dialo#. ;he 4ile to load ma have one o4 these 4o"mat: intelheA moto"ola S"eco"d o" "aw 3ina".

    2(#(5 Sa,e +e,ice File

    Save the content o4 cu""ent window 3u44e" to a 4ile. 4 no name has 3een speci4ied it wo"s lieSave as.

    http://www.lancos.com/e2p/ponyprog2000.html#s2.3http://www.lancos.com/e2p/ponyprog2000.html#s2.3
  • 5/21/2018 PonyProg - Manual

    4/28

    2(#(/ Sa,e +e,ice File s

    Open a dialo# 3o whe"e ou can speci4 the name o4 the 4ile. n the 3ottom o4 the dialo# 3oou can select the 4ile 4o"mat 4o" the 4ile to save $indicated 3 the etension'. 4 ou p"ess OHthe content o4 the cu""ent window will 3e saved in the 4ile speci4ied. su##est to save alwasin e2p 4o"matA doin# so the device tpe and the notes will 3e "eco"ded in the 4ile. ;he .3in4o"mat is "aw 3ina" 4o"matA itCs commonl used to epo"t the 4ile to othe" p"o#"ams.

    2(#( Sa,e Program &F%SH' File

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command save the content o4 cu""ent window 3u44e" p"o#"am memo" to a4ile. % dialo# 3o ass ou the name o4 the 4ile to save and the 4ile 4o"mat 3 selectin# the

    etension.

    2(#(1 Sa,e +ata &--P.*M' File

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command save the content o4 cu""ent window 3u44e" data memo" to a 4ile.% dialo# 3o ass ou the name o4 the 4ile to save and the 4ile 4o"mat 3 selectin# theetension.

  • 5/21/2018 PonyProg - Manual

    5/28

    2(#( .eload Files

    ;his command "eload last opened 4iles in the cu""ent window 3u44e". tCs use4ul when ouneed to edit/3uild the 4iles 4"om an ete"nal p"o#"am $assem3le"/compile"' and ou need to"epeat the same ccle: compile load 4ile w"ite device mo"e than one time.

    2(#(#0 Print

    Open a dialo# 3o whe"e ou can select the p"inte" name and options. 4 ou p"ess OH thecontent o4 the cu""ent window will 3e p"inted.

    2(#(## Close

    lose the cu""ent windowA i4 the"e is onl one opened window a dialo# window ass ou i4ou want to eitG ou can choose es o" No. 4 the cu""ent window 3u44e" is modi4ied a dialo#

    window ass ou i4 ou want to save the content in a 4ile 3e4o"e to close the window.

    2(#(#2 -"it

    lose all the opened window and eit the p"o#"am. 4 the"e is a modi4ied window 3u44e" adialo# window ass ou i4 ou want to save the content to a 4ile 3e4o"e to close the window.

    2(2 -dit

    2(2(# -dit noteOpen a dialo# 3o whe"e ou can edit a hip id and a note. ;hese two 4ields a"e saved withinthe window 3u44e" i4 ou use the e2p 4ile 4o"mat $see Open'. ;hese two 4ields a"e 4"ee teteditin#A and a"e use4ul 4o" a desc"iption o4 the device p"o#"ammed and the meanin# o4 itscontent.

    2(2(2 Security its

    Open a dialo# 3o whe"e ou can edit a device speci4ic on4i#u"ation and Secu"it 3its. ;hisdialo# is especiall use4ul 4o" mic"ocont"olle"sA 3ecause the could not wo" at all without setthese 3its in a co""ect wa. ;he 4ollowin# sc"een dumps show the con4i#u"ation 3its 4o" some

    mic"ocont"olle" 4amilies. Note that disa3led 3its $#"aed' a"e not used o" not modi4ica3le.

    http://www.lancos.com/e2p/ponyprog2000.html#s2.1.2http://www.lancos.com/e2p/ponyprog2000.html#s2.1.2
  • 5/21/2018 PonyProg - Manual

    6/28

    . 0S4433Secu"it and Fuse 3its

    PIC #/F14

    !: i4 checed all memo" is code p"otected !W*;): i4 checed powe"up time" is ena3led

    WD;): i4 checed watchdo# time" is disa3led

    FOS1AFOS0: oscillato" selection 3its

    FOS1 FOS0 Status

    not checed not checed * "esisto"/capacito" oscillato"

    not checed checed &S hi#h speed c"stal/"esonato" oscillato"

    checed not checed ?; c"stal/"esonato" oscillato"

    checed checed L! low powe" oscillato"

    1S1252

  • 5/21/2018 PonyProg - Manual

    7/28

  • 5/21/2018 PonyProg - Manual

    8/28

    2(2(3 -dit 6uffer ena6led

    ou can to##le this item eithe" to ena3le o" disa3le the edit mode. 4 the edit mode is ena3ledou can modi4 the 3u44e" content 3 clicin# on a location o4 the cu""ent window. ;wo editin#modes a"e availa3le: headecimal editin# and tet editin#. 4 ou clic on the &)? $cente"'pa"t o4 the sc"een o" p"ess )N;)* ou open a dialo# whe"e ou can inse"t the new value 4o"that 3te in decimalA headecimalA o" cha"acte". 4 ou clic on the %S $"i#ht ma#enta' pa"to4 the sc"een ou open a dialo# whe"e ou can inse"t o" modi4 a tet sta"tin# 4"om thatlocation. ou can 9; I !%S;) in the tet ent" dialo# 3 the use o4 the "i#ht mouse 3utton.Note that ou can ena3le/disa3le onl the edit mode o4 the cu""ent windowA so i4 the"e a"emo"e than one 3u44e" window openedA the edit mode o4 othe" windows a"e le4t unchan#ed.

    2(3 +e,iceSelect the tpe o4 cu""ent device. ou have to select the device tpe 3e4o"e an commands$"eadA w"itin#A openA saveA ...'. Selectin# an B%uto ???B tpe means that the device tpe isdete"mined 3 the p"o#"am du"in# the "ead o" w"ite ope"ationA this 4eatu"e is use4ul when ouneed to Jue" a device to now i4 it wo"s and which device it is. ;he"e a"e some di44e"entdevice 4amil: the

  • 5/21/2018 PonyProg - Manual

    9/28

    2(4 Command

    2(4(# .ead ll

    *ead the content o4 a device in the cu""ent window 3u44e". ;his ope"ation can tae a while toeecuteA so a dialo# 3o shows the ope"ation p"o#"ession. 4 ou want to stop the cu""ent

    "ead @ust p"ess the B%3o"tB 3utton.

    Finall a dialo# 3o showin# the "esult o4 the ope"ation appea"s. 4 the p"o#"am "epo"t themessa#e BDevice not "espondin#B means that ou missed to connect the device to "eadA o"the inte"4ace is not con4i#u"ed p"ope"l $see the Setup'. Note that onl the devices thatsuppo"t p"o3in# "epo"t this tpe o4 messa#eA othe" device simpl "ead all 0Cs o4 FFCs $i4 thedevice is missed'. ;he devices that suppo"t p"o3in# a"e the 2(??A the %6* and some !. nthe case o4 %6* device selectedA the p"o#"am can "epo"t the messa#e BDevice locedB incase o4 the loced 3its was p"o#"ammed. )ven some p"ep"oduction devices donCt suppo"tauto p"o3in#. ou canCt "ead a loced deviceA to p"o#"am it see W"ite. Since ve"sion 1.1,c i4ou select an %6* device $%;0S21 4o" eample' and "ead itA the p"o#"am t" to p"o3e thedevice 4i"st. 4 the device is missin#A o" the device is locedA o" the device is a p"ep"oductiondevice a dialo# 3o appea"s. t ass ou i4 ou want to a3o"t ope"ationA "et" o" i#no"e thee""o". n case o4 a p"ep"oduction device @ust select B#no"eB.

    2(4(2 .ead Program &F%SH'

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command "ead onl the p"o#"am memo" 4"om the deviceA and leave thedata memo" intact.

    2(4(3 .ead +ata &--P.*M'

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command "ead onl the data memo" 4"om the deviceA and leave thep"o#"am memo" intact.

    http://www.lancos.com/e2p/ponyprog2000.html#s2.6http://www.lancos.com/e2p/ponyprog2000.html#s2.4.5http://www.lancos.com/e2p/ponyprog2000.html#s2.6http://www.lancos.com/e2p/ponyprog2000.html#s2.4.5
  • 5/21/2018 PonyProg - Manual

    10/28

    2(4(4 .ead Security and Configuration 6its

    *ead secu"it and con4i#u"ation 3its 4"om the device. Note that this command is implementedonl 4o" some devices. ;o modi4 the secu"it and con4i#u"ation 3its "e4e" to editcommand.

    2(4(5 $rite ll

    W"ite the content o4 the cu""ent window 3u44e" to a device. % dialo# 3o as ou to con4i"mthis un"ecove"a3le ope"ation. ;his ope"ation can tae a while to eecuteA so a dialo# 3oshows the ope"ation p"o#"ession. 4 ou want to stop the cu""ent w"ite @ust p"ess the B%3o"tB3utton. %4te" the w"ite ope"ation an automatic ve"i4 is eecuted. Finall a dialo# 3o showin#the "esult o4 the ope"ation appea"s. 5e4o"e to pe"4o"m a w"ite su##est to select the eactdevice tpeA not the B2(?? %utoB o" B%6* %utoB. Note that 3oth the p"o#"am $FL%S&' anddata $))!*O+' memo" a"e w"ited $onl i4 the device is a splitted device lie the %6* o"!'A and then ve"i4ied. Since the ve"sion 1.1,c a p"o3e is pe"4o"med on eve" %6* device$see *ead'.

    2(4(/ $rite Program &F%SH'

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command w"ite onl the p"o#"am memo" to the deviceA and leave thedata memo" intact. ;he eception is the %6* device: to w"ite the p"o#"am memo" an e"aseis neededA so the data memo" is e"ased too. Some %6* devices have ))S%6) 4use 3itAwhen p"o#"ammed the ))!*O+ is p"ese"ved du"in# a 4lash e"ase.

    2(4( $rite +ata &--P.*M'

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command w"ite onl the data memo" to the deviceA and leave thep"o#"am memo" intact.

    2(4(1 $rite Security and Configuration 6its

    W"ite secu"it and con4i#u"ation 3its to the device. Note that this command is implementedonl 4o" some devices. ;o modi4 the secu"it and con4i#u"ation 3its "e4e" to editcommand.

    2(4( erify ll

    6e"i4 the content o4 a deviceA compa"es it to the content o4 the cu""ent window 3u44e". ;hisope"ation can tae a while to eecuteA so a dialo# 3o shows the ope"ation p"o#"ession. 4ou want to stop the ve"i4 @ust p"ess the B%3o"tB 3utton. Finall a dialo# 3o showin# the"esult o4 the ope"ation appea"s.

    2(4(#0 erify Program &F%SH'

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command ve"i4 onl the p"o#"am memo" 4"om the deviceA and i#no"e thedata memo".

    http://www.lancos.com/e2p/ponyprog2000.html#s2.2.2http://www.lancos.com/e2p/ponyprog2000.html#sv15retryhttp://www.lancos.com/e2p/ponyprog2000.html#s2.2.2http://www.lancos.com/e2p/ponyprog2000.html#s2.2.2http://www.lancos.com/e2p/ponyprog2000.html#sv15retryhttp://www.lancos.com/e2p/ponyprog2000.html#s2.2.2
  • 5/21/2018 PonyProg - Manual

    11/28

    2(4(## erify +ata &--P.*M'

    ;his command is availa3le onl 4o" splitted !"o#"am/Data devices. ;he 3u44e" is splitted intwo di44e"ent pa"t 4o" these devices: the 4i"st pa"t 4o" p"o#"am memo" and the second pa"t 4o"data memo". ;his command ve"i4 onl the data memo" 4"om the deviceA and i#no"e thep"o#"am memo".

    2(4(#2 -rase

    )"ase all the content o4 a device to FFCs $3oth p"o#"am and data memo"'. Note that thiscommand is implemented onl 4o" %6* and ! devices.

    2(4(#3 7etInfo

    Shows some in4o"mations a3out the device. Some o4 these in4o"mations a"e showed also inthe status 3a" at the 3ottom o4 the main window.

    SiEe o4 the 3u44e"A itCs eJual to the siEe o4 the device in 3tes. n the case o4 %6* o"! devicesA itCs eJual to the sum o4 the p"o#"am memo" siEe plus the data memo"siEe.

    * calculated on the content o4 the 3u44e".

    5an "oll ove". tCs a cha"acte"istic o4 some old

  • 5/21/2018 PonyProg - Manual

    12/28

    2(4(#/ Program *ptions

    Select the commands to eecute with the !"o#"am command.

    2(5 8tility

    2(5(# Clear uffer

    lea" the cu""ent window 3u44e" with FFCs.

    2(5(2 Fill uffer

    Fill the cu""ent window 3u44e" with a cha"acte". % dialo# 3o ass ou to select the add"esses4o 4ill $4"om to locations'A and the value o4 the cha"acte" to 4ill. ou can inse"t the value eithe"in decimal $i.e. (,'A headecimal $i.e. 0(,' o" octal $i.e. 0(,' 3ase.

  • 5/21/2018 PonyProg - Manual

    13/28

    2(5(3 +ou6le 6an9

    ;his command duplicates eve" 3an in the cu""ent 3u44e" and chan#es the device tpe to a3i##e" device tpe. % 3an is a cluste" o4 2,- 3tes 4o" the 2( and a wo"d 4o" othe" devices.;his utilit is use4ul to "eplace a SD%2,(- device with a 2(08 o" a SD%2,8- with a 2(1-.)ample: ou have to select the device tpe B2( %utoBA connect the SD%2,(- device andpe"4o"m a *eadope"ation. ;hen ou have to pe"4o"m a BDou3le 3anBA "eplace the SD%2,(-with a 3lan 2(08 and pe"4o"m a W"iteope"ation $*e4e" also to 25us adapte"'.

    2(5(4 yte swap

    ;his command swap 3tes within eve" wo"d in the cu""ent window 3u44e". tCs use4ul toconve"t 4"om little endian "ep"esentation to 3i# endiand and viceve"sa. Some devices uses1-3it wo"d so ou can "ep"esent it in 3oth was dependin# on ou" needs.Fo" eample conside" the num3e" 12( he $(--0 decimal'A the little endian is ( 12A whilethe 3i# endiand is 12 (.

    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".ou can con4i#u"e the se"ial num3e" locationA value and siEe with the se"ial num3e" con4i#command. )ve" time ou eecute this command the value is inc"emented.

    2(5(/ Serial )um6er Config

    ;his command open a dialo# 3o whe"e ou can con4i#u"e the se"ial num3e" locationsAvalueA 4o"mat and siEe.

    http://www.lancos.com/e2p/ponyprog2000.html#s2.4.1http://www.lancos.com/e2p/ponyprog2000.html#s2.4.5http://www.lancos.com/e2p/ponyprog2000.html#s3.1.2http://www.lancos.com/e2p/ponyprog2000.html#s2.5.6http://www.lancos.com/e2p/ponyprog2000.html#s2.4.1http://www.lancos.com/e2p/ponyprog2000.html#s2.4.5http://www.lancos.com/e2p/ponyprog2000.html#s3.1.2http://www.lancos.com/e2p/ponyprog2000.html#s2.5.6
  • 5/21/2018 PonyProg - Manual

    14/28

  • 5/21/2018 PonyProg - Manual

    15/28

    2(/ Setup

    2(/(# Interface Setup

    Open a dialo# 3o whe"e ou can select the inte"4ace tpe and the po"t num3e" whe"e the

    ha"dwa"e is connected. ou can choose 4"om seve"al ha"dwa"e inte"4aces $see !on!"o#&a"dwa"e inte"4aces4o" mo"e in4o'. Note that onl S !"o# suppo"t all devices.

    SI:Prog interfaceselect Bse"ialB chec3o and choose BS!"o# %!B o" BS!"o# /OB in thecom3o3o. Windows ,/8/+) and N;/2000/?! wo" eithe" with B!on!"o# %!B andB!on!"o# /OBA 3ut the latte" is 4aste". ;o use the BS!"o# /OB with Linu ou need to "un!on!"o# as "oot. ;hen select the O+ po"t ou want to useA i4 some O+ po"ts a"edisa3led it means that the a"e used 3 othe" p"o#"ams $usuall 3 the mouse d"ive" o"modem'A o" not installed o" access denied $ma need "oot p"ivile#es'. 4 ou use added O+po"ts $! o" !+% ca"ds' ou must use BS!"o# %!B. Note that 9S52*S22 adapte"so4ten donCt wo" o" a"e ve" slow. ;o access O+ po"ts 4"om use" mode in Linu ou needthe "i#hts to w"ite /dev/ttS0A1A... devices and /va"/loc di"ecto" and select S!"o# %! $this

    is the p"e4e""ed wa'.

    . ISP Parallel port interfaceselect Bpa"allelB chec3o and choose B%v" S! %!B o" B%v"S! /OB in the com3o3o. WindowsN;/2000/?! wo" onl with B%v" S! /OB. ;o use the B%v"S! /OB with Linu ou need to "un !on!"o# as "oot. ;hen select the L!; po"t ou want touse. Note that i4 ou want to p"o#"am the %;8S device ou need to select the Bnve"t*esetB chec3o. ;o use this inte"4ace with Linu ou need a 2.(. o" newe" e"nel andpa"po"tA pa"po"tKpc and ppdev e"nel modules and ou need the "i#hts to w"ite/dev/pa"po"t0A1A... devices.ou can use this inte"4ace to "ead/w"ite the %6* mic"os and S! eep"oms.

    %udipipo;

  • 5/21/2018 PonyProg - Manual

    16/28

    p"o#"am 2( devices ou have to connect pin o4 the 2( to 7ND $schematics a"ew"on#'.

    -asy I=Cus interfaceselect the Bpa"allelB chec3oA then select the L!; po"t ou want touse. %ll the conside"ations 4o" B%v" S!B a3ove a"e valid 4o" B)as25usB too.

    +:00/ interface;his a"e the simplest inte"4ace 4o" %6* p"o#"ammin# $ou can 4ind the

    3oa"d on Dont"onics site'. &oweve" st"on#l su##est to use the 3u44e"ed and sa4e" B%v" S!Binte"4ace a3oveA especiall 4o" S!A since the 3u44e" #o in &i state a4te" p"o#"ammin#.

    2(/(2 Cali6ration

    ali3"ation tunes the se"ial 3us speed 4o" ou" compute". When ou "un ali3"ation 3e su"ethat !on!"o# is the onl p"o#"am "unnin# in the !A and the ha"d dis is idle $loo at the &Dled'. 4 ou" ! is 3us 3ecause itCs pe"4o"min# othe" tass the ali3"ation thins ou" ! isslowe" than actual speedA and all /Os a"e pe"4o"med without p"ope" dela. %4te" theali3"ation ou can choose the speed 4o" eve" se"ial 3us modi4in# the 4ollowin# pa"amete"s

    in the ponp"o#.ini $.!on!"o#"c unde" Linu' 4ile:

    I2CusSpeedM"$%&' a44ect 2( eep"om and othe"

  • 5/21/2018 PonyProg - Manual

    17/28

    3 Hardware interfaces

    !on!"o# suppo"ts seve"al ha"dwa"e inte"4acesA howeve" note that onl with S!"o#inte"4ace ou a"e a3le to p"o#"am all the devices. Net pa"a#"aphs show to ou all theha"dwa"e inte"4aces in detail.

    3(# SI:Prog

    3(#(# >e main 6oard

    onnect the D5 connecto" to ! O+ po"t usin# standa"d se"ial ca3le. onnect =2connecto" to the co""ect adapte" o3se"vin# pola"it $loo at pin 1 and pin 10'.

    3(#(2 I=Cus &2:wire' eeprom adapter

    ;his adapte" is needed to p"o#"am all ip Microwire &3:wire' Serial eeprom

    Part Code *rg( Soc9et Power &?' Menu %a6el

    34/ 8/1-3it - )t/nt +ic"oWi"e 1- (-

    3%C4/ 83it - )t/nt +ic"oWi"e 8 (-

    3%C4/ 1-3it - )t/nt +ic"oWi"e 1- (-

    3C4/ 1-3it - )t +ic"oWi"e 1- (-

    34/@ 8/1-3it -? )t/nt +ic"oWi"e 1- (-

    http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10
  • 5/21/2018 PonyProg - Manual

    18/28

    Part Code *rg( Soc9et Power &?' Menu %a6el

    3%C4/@ 83it -? )t/nt +ic"oWi"e 8 (-

    3%C4/@ 1-3it -? )t/nt +ic"oWi"e 1- (-

    3C4/@ 1-3it -? )t +ic"oWi"e 1- (-

    35/ 8/1-3it - )t/nt +ic"oWi"e 1- ,-

    3%C5/ 83it - )t/nt +ic"oWi"e 8 ,-

    3%C5/ 1-3it - )t/nt +ic"oWi"e 1- ,-

    3C5/ 83it - )t +ic"oWi"e1- ,-

    3C5/ 1-3it - )t +ic"oWi"e 1- ,-

    35/@ 8/1-3it -? )t/nt +ic"oWi"e 1- ,-

    3%C5/@ 83it -? )t/nt +ic"oWi"e 8 ,-

    3%C5/@ 1-3it -? )t/nt +ic"oWi"e 1- ,-

    3C5/@ 83it -? )t +ic"oWi"e1- ,-

    3C5/@ 1-3it -? )t +ic"oWi"e 1- ,-

    3// 8/1-3it - )t/nt +ic"oWi"e 1- --

    3%C// 83it - )t/nt +ic"oWi"e 8 --

    3%C// 1-3it - )t/nt +ic"oWi"e 1- --

    3C// 83it - )t +ic"oWi"e1- --

    3C// 1-3it - )t +ic"oWi"e 1- --

    3//@ 8/1-3it -? )t/nt +ic"oWi"e 1- --

    3%C//@ 83it -? )t/nt +ic"oWi"e 8 --

    3%C//@ 1-3it -? )t/nt +ic"oWi"e 1- --

    3C//@ 83it -? )t +ic"oWi"e1- --

    3C//@ 1-3it -? )t +ic"oWi"e 1- --

    3/ 8/1-3it - )t/nt +ic"oWi"e 1- -

    3%C/ 8/1-3it - )t/nt +ic"oWi"e 1- -

    3C/ 8/1-3it - )t +ic"oWi"e 1- -

    31/ 8/1-3it - )t/nt +ic"oWi"e 1- 8-

    3%C1/ 8/1-3it - )t/nt +ic"oWi"e 1- 8-

    3C1/ 8/1-3it - )t +ic"oWi"e 1- 8-

  • 5/21/2018 PonyProg - Manual

    19/28

    $' 4 ou epe"iment p"o3lems du"in# the Pw"iteQ ope"ationA use the P)tQ powe". PntQ powe" ma not wo" onsome !A it depends on how much cu""ent is capa3le ou" ! O+ po"t. 4 ou donCt use the L+2-, usethe P)tQ powe" with %LL devices.

    tmel Microwire &3:wire' Serial eeprom

    Part Code *rg( Soc9et Power &?' Menu %a6el

    3C4/ 8/1-3it - )t/nt +ic"oWi"e 1- (-

    3C4/$ 8/1-3it - )t/nt +ic"oWi"e 1- (-

    3C4/. 8/1-3it -? )t/nt +ic"oWi"e 1- (-

    3C4/ 1-3it - )t/nt +ic"oWi"e 1- (-

    3C4/C 1-3it - )t/nt +ic"oWi"e 1- (-

    3C5/ 8/1-3it - )t/nt +ic"oWi"e 1- ,-

    3C5/$ 8/1-3it - )t/nt +ic"oWi"e 1- ,-

    3C// 8/1-3it - )t/nt +ic"oWi"e 1- --

    3C//$ 8/1-3it - )t/nt +ic"oWi"e 1- --

    3C1/ 8/1-3it - )t/nt +ic"oWi"e 1- 8-

    $' 4 ou epe"iment p"o3lems du"in# the Pw"iteQ ope"ationA use the P)tQ powe". PntQ powe" ma not wo" onsome !A it depends on how much cu""ent is capa3le ou" ! O+ po"t. 4 ou donCt use the L+2-, usethe P)tQ powe" with %LL devices.

    ;o use ete"nal powe" ou need to connect a 6 3atte" to = and move =!2 to BetB position.

    3(#(1 PIC micro adapter

    ;his adapte" is needed to p"o#"am the +ic"ochip ! mic"ocont"olle"s: !1-F8(A!1-F8(%A !1-F8A !12,0. onnect the adapte" to main 3oa"d o3se"vin# pola"it.nse"t the ! in the co""ect socet $loo at the tet in silsc"een on the !5'. !a attentionto pola"it $pin 1'. ;o p"o#"am !1-F8(A !1-F8(% and !1-F8 ou need a 6 3atte"connected to 5;1A the =!2 on BntB positionA and the =!1 on B5atB position. 4 ou" O+ po"t

    canCt p"ovide enau#h cu""ent ou have to p"ovide an ete"nal powe": connect a sta3iliEed R1,6olt D.. to = $pa attention to the pola"it'A move =!2 on B)tB position and =!1 on B)tBposition. ;o p"o#"am !12,0 ou need a sta3iliEed R1 6olt D.. to = and move =!2 onB)tB position and =!1 on B)tB position.

  • 5/21/2018 PonyProg - Manual

    20/28

    3(#(

  • 5/21/2018 PonyProg - Manual

    21/28

    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

    !on!"o# S*!; is a tool to automate p"o#"ammin#. % sc"ipt is a tet 4ile with etension.e2s containin# a seJuence o4 commands to eecute. )ve" line contain a commandA linessta"tin# with the cha"acte" a"e sipped $comments' as well as 3lan lines.

    4(# !uic9 start

    With ou" 4avou"ite tet edito" c"eate a tet 4ile lie this:

    S;%*; !"o#"ammin# seJuenceS)L);D)6) %;;N12L)%*59FF)*LO%D!*O7 4lash.heLO%DD%;% eep"om.he!%9S) Bonnect and powe"up the ci"cuitA a"e ou "eadTB*)%D%L5*%;ON 044)*%S)%LLW*;)I6)*F%LL

    !a attention to NO; disa3le *S;DS5LFuse: B5ODL)6)L BAB5OD)N BABS!)N BAB*S;DS5L BABHS)L BABHS)L2 BABHS)L1BABHS)L0 B 1 1 1 0 1 1 0 1W*;)F9S) 0)D

    Loc: U?A?A?A?A?ABLoc2 BABLoc1 BA?V 0 0 0 0 0 1 1 0W*;)LOH 00- )ND

    Save the 4ile with etension .e2s $4o" eample sc"ipt.e2s' and then "un: ponp"o#2000.ee sc"ipt.e2s

    !on!"o# will sta"tupA select the %;tin12 deviceA clea" the 3u44e"A load 4lash and eep"om4ilesA "ead the osc.cali3"ation to location 044 in the 3u44e" and then p"o#"am the device with4lashA eep"omA 4uses and loc 3its. When 4inished !on!"o# eit.

    4 ou use the av"#cc compile" ou will 4ind use4ul to call !on!"o# di"ectl 4"om the mae4ile. nse"t the 4ollowin# lines in ou" mae4ile and then launch Bmae ispB

    S!)?) M c:/p"o#"ammi/ponp"o#2000/ponp"o#2000.ee+9 M atme#a128;*7 M mapp

    isp: $;*7'.he $;*7'.eepecho e BS)L);D)6) $+9'XnLO%D!*O7 $;*7'.heXnLO%DD%;%

    $;*7'.eepXnW*;)I6)*F%LLB isp.e2s$S!)?)' isp.e2s

    http://www.lancos.com/e2p/si-prog-v2_2.pdfhttp://www.lancos.com/e2p/mplan2_2.pdfhttp://www.lancos.com/e2p/si-prog-v2_2.pdfhttp://www.lancos.com/e2p/mplan2_2.pdf
  • 5/21/2018 PonyProg - Manual

    22/28

    4(2 Command reference

    5;)SW%!%LL YcommandL)%*59FF)*D)L% Ymsec)D;S)9*;)*%S)%LLFLL59FF)* Zval[Z4"om[Zto[LO%D%LL Z4ile[Z"elocationKo44set[LO%D!*O7 Z4ile[Z"elocationKo44set[LO%DD%;% Z4ile[Z"elocationKo44set[!%9S) Zmessa#e[*)%D%LL*)%D%L5*%;ON Yadd"essZmem[ZoscKinde[*)%DD%;%

    *)%D!*O7*)%DF9S)*)%DLOH*)S);S%6)%LL Z4ile \ CC[Z4ileKtpe[S%6)D%;% Z4ile \ CC[Z4ileKtpe[S%6)!*O7 Z4ile \ CC[Z4ileKtpe[S)L);D)6) YdeviceS)*%LN9+5)* Zvalue[Zsta"t[ZsiEe[Zmem[Z4o"mat[Zautoinc[6)*F%LL6)*FD%;%

    6)*F!*O7W*;)%LLW*;)D%;%W*;)!*O7W*;)F9S) Z3its[W*;)LOH Z3its[W*;)I6)*F%LLW*;)I6)*FD%;%W*;)I6)*F!*O7

    Z [ optional a"#ument

    Y "eJui"ed a"#ument

    Desc"iption:%n line sta"tin# with cha"acte" is conside"ed as a comment and sipped.

    S)L);D)6) Ydevice

    Desc"iption:Select the device model to "ead/w"ite.

    )ample:S)L);D)6) %;+)7%128

    http://www.lancos.com/e2p/ponyprog2000.html#cmd_sharphttp://www.lancos.com/e2p/ponyprog2000.html#cmd_byteswaphttp://www.lancos.com/e2p/ponyprog2000.html#cmd_callhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_clearbufferhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_delayhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_edit_securityhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_erasehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_fillbufferhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_loadhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_loadhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_loadhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_pausehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_readhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_read_calibrationhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_readhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_readhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_read_fusehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_read_lockhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_resethttp://www.lancos.com/e2p/ponyprog2000.html#cmd_savehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_savehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_savehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_selectdevicehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_serialnumberhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_writehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_writehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_writehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_fusehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_lockhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_and_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_and_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_and_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_sharphttp://www.lancos.com/e2p/ponyprog2000.html#cmd_byteswaphttp://www.lancos.com/e2p/ponyprog2000.html#cmd_callhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_clearbufferhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_delayhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_edit_securityhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_erasehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_fillbufferhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_loadhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_loadhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_loadhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_pausehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_readhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_read_calibrationhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_readhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_readhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_read_fusehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_read_lockhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_resethttp://www.lancos.com/e2p/ponyprog2000.html#cmd_savehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_savehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_savehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_selectdevicehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_serialnumberhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_writehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_writehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_writehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_fusehttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_lockhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_and_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_and_verifyhttp://www.lancos.com/e2p/ponyprog2000.html#cmd_write_and_verify
  • 5/21/2018 PonyProg - Manual

    23/28

    LO%D%LL Z4ile[Z"elocationKo44set[LO%DD%;% Z4ile[Z"elocationKo44set[LO%D!*O7 Z4ile[Z"elocationKo44set[

    Desc"iption:LO%D%LL load the whole content o4 the selected device 4"om the 4ile speci4iedA thiscommand is use4ul to load ! and ))!*O+ devices with &)? o" 5N 4o"matA o" is use4ul to

    load eve" devices with )2! 4iles.LO%D!*O7 load onl the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6*'LO%DD%;% load onl the data ))!*O+ po"tion o4 the device $use4ul with the %6*'4 no 4ile is speci4ied then open a 4ile dialo# to choose the 4ile to load. ;he "elocationKo44set isan optional a"#ument use4ul i4 ou want to load at memo" add"esses di44e"ent 4"om thatspeci4ied in the 4ile. n case o4 3ina" 4ile ou speci4 the add"ess 4"om which sta"t to load the3u44e".

    )ample:LO%D!*O7 p"o#Kmemo".heLO%D%LL memo".3in 0100 $sip the 4i"st 2,- 3tes o4 the 3u44e"'

    S%6)%LL Z4ile \ CC[Z4ileKtpe[S%6)D%;% Z4ile \ CC[Z4ileKtpe[S%6)!*O7 Z4ile \ CC[Z4ileKtpe[

    Desc"iption:S%6)%LL save the whole content o4 the selected device to the 4ile speci4ied.S%6)!*O7 save onl the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6*'S%6)D%;% save onl the data ))!*O+ po"tion o4 the device $use4ul with the %6*'4 no 4ile is speci4ied it saves to the cu""ent 4ile nameA in case o4 no cu""ent 4ile name it opensthe 4ile dialo# to choose a 4ile name. 4 the st"in# is speci4ied it opens the 4ile dialo# tochoose a new 4ile name. 4 ou speci4 the 4ileKtpe it saves the 3u44e" in the selected 4ile4o"matA use4ul to conve"t a 4ile 4"om one tpe to anothe". 4ileKtpe can 3e: e2p to select the de4ault )2! 4ile used 3 !on!"o#

    3in to select a "aw 3ina" 4o"mat

    csm to select a custom S+ 4ile 4o"mat used 3 some ;6 "epai"e"

    intelhe to select standa"d N;)?&)? tet 4o"mat

    mots"ec to select standa"d +O;O*OL% S*) tet 4o"mat

    )ample:S%6)D%;% dataKmemo".he intelhe

    S%6)%LL $save all the device and as the 4ile name'

    *)%D%LL*)%DD%;%*)%D!*O7

  • 5/21/2018 PonyProg - Manual

    24/28

    Desc"iption:*)%D%LL "ead the whole content o4 the selected device to the cu""ent 3u44e"*)%D!*O7 "ead onl the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6* o"!'*)%DD%;% "ead onl the data ))!*O+ po"tion o4 the device $use4ul with the %6* o" !'

    )ample:*)%D%LL

    W*;)I6)*F%LLW*;)I6)*FD%;%W*;)I6)*F!*O7

    Desc"iption:W*;)I6)*F%LL w"ite and then ve"i4 the whole content o4 the selected device "eadin#4"om the 3u44e"

    W*;)I6)*F!*O7 w"ite and then ve"i4 onl the p"o#"am FL%S& po"tion o4 the device$use4ul with the %6* o" !'

    W*;)I6)*FD%;% w"ite and then ve"i4 onl the data ))!*O+ po"tion o4 the device$use4ul with the %6* o" !'

    W*;)I6)*F commands "eJui"e !on!"o# ve"sion 2.0, o" mo"e "ecent. 9suall ou willuse the W*;)I6)*FA not the W*;) and then the 6)*F command 3ecause the 4o"me"ve"i4 onl p"o#"ammed locations instead the latte" ve"i4 all the 3u44e" $slowe"'.

    )ample:W*;)I6)*F!*O7

    W*;)%LLW*;)D%;%W*;)!*O7

    Desc"iption:W*;)%LL w"ite the whole content o4 the selected device "eadin# 4"om the 3u44e"W*;)!*O7 w"ite onl the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6* o"!'

    W*;)D%;% w"ite onl the data ))!*O+ po"tion o4 the device $use4ul with the %6* o" !'

    )ample:W*;)%LL

    6)*F%LL6)*FD%;%6)*F!*O7

    Desc"iption:6)*F%LL "ead and compa"e the whole content o4 the selected device a#ainst the 3u44e"

    6)*F!*O7 ve"i4 onl the p"o#"am FL%S& po"tion o4 the device $use4ul with the %6* o"!'6)*FD%;% ve"i4 onl the data ))!*O+ po"tion o4 the device $use4ul with the %6* o"!'

  • 5/21/2018 PonyProg - Manual

    25/28

    )ample:6)*F%LL

    )*%S)%LL

    Desc"iption:)*%S)%LL e"ase the whole content o4 the selected device. 9suall this ope"ation 3"in# all

    the locations o4 the selected device to FF.

    )ample:)*%S)%LL

    )D;S)9*;

    Desc"iption:Open the 4use and loc 3its dialo# to edit them.

    *)%DF9S)

    *)%DLOH

    Desc"iption:*)%DF9S) "ead the 4use 3its $device dependant' and open the 4use and loc 3its dialo#*)%DLOH "ead the loc 3its $device dependant' and open the 4use and loc 3its dialo#

    )ample:*)%DF9S)

    W*;)F9S) Z3its[

    W*;)LOH Z3its[

    Desc"iption:W*;)F9S) w"ite the 4use 3its $device dependant'.

    W*;)LOH w"ite the loc 3its $device dependant'.

    4 the a"#ument is speci4ied it is the nume"ic value o4 the 3its "ap"esentationA note t>at a #means programmed. 4 no a"#ument is speci4ied the cu""ent value is p"o#"ammed. !a%ttention to p"o#"am the F9S) 3its with the %6*A ou can speci4 a w"on# 3it com3inationthat will p"event ou to access the %6* device in the 4utu"e. *e4e" to the datasheets 4o" the

    meanin# o4 eve" 3it.

    Some %6* devices have mo"e than one 3te 4o" the 4use 3its. n such cases the a"#ument isa multi3te nume" and least si#ni4icant 3te is the standa"d 4use 3te. Fo" eample:

    a"#ument M 001020

    Standa"d 4use M 00

    &i#h 4use M 002

    )tended 4use M 001

  • 5/21/2018 PonyProg - Manual

    26/28

    )ample:S)L);D)6) %;0S1200

    Loc: U?A?A?A?A?ABLoc2 BABLoc1 BA?V

    0 0 0 0 0 1 1 0

    W*;)LOH 00-

    S)L);D)6) %;;N21

    Fuse: BS!+)N B ]

    BDW)N BAB))S%6) BABS!)N BABWD;ON BAB5ODL)6)L2 BAB5ODL)6)L1 BAB5ODL)6)L0BAB*S;DS5L B ]

    BHD68 BABHO9; BABS9;1 BABS9;0 BABHS)L BABHS)L2 BABHS)L1 BABHS)L0 B

    0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0

    W*;)F9S) 000(02

    S)*%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" time o" autoinc"emented 4"om the p"evious one.

    )ample:S)*%LN9+5)* 1- 0100 2 D%;% L;;L))ND%N NO

    Set the se"ial num3e" o4 C2C 3tes and value C1-C at add"ess C0100C sta"tin# 4"om CD%;%Cmemo". ;he 4o"mat should 3e L;;L))ND%N without autoinc"ement

    *)%D%L5*%;ON Yadd"essZmem[ZoscKinde[

    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" tpe D%;% o" !*O7'. ;he oscKinde a"#umentspeci4 which cali3"ation value should 3e "ead since some %6* have seve"al oscillato"4"eJuencies. ;he oscKinde a"#ument is availa3le onl 4"om the 2.0-c ve"sion

    )ample:S)L);D)6) %;+)7%128

    *)%D%L5*%;ON 0100 D%;%

    *ead the oscillato" cali3"ation value 4o" 8+&E 4"eJuenc

    5;)SW%!

    Desc"iption:Swap the o"de" o4 3tes within a wo"d in the 3u44e" $low 3te Y hi#h 3te'

  • 5/21/2018 PonyProg - Manual

    27/28

    *)S);

    Desc"iption:*eset the device

    L)%*59FF)*

    Desc"iption:lea" the 3u44e" $all 3tes to FF'

    FLL59FF)* Zval[Z4"om[Zto[

    Desc"iption:Fill the 3u44e" 4"om location C4"omC to location CtoC with the CvalC value. 4 no a"#ument is speci4ieda dialo# as 4o" these values.

    )ample:FLL59FF)* 2( 0100 0200

    !%9S) Zmessa#e[

    Desc"iption:!ause the p"o#"am and show a messa#e dialo# asin# con4i"mation to continue.

    %LL Ycommand

    Desc"iption:all an ete"nal p"o#"am and wait 4o" it te"minates.

    )ample:%LL notepad.ee

    D)L% Ymsec

    Desc"iption:Wait 4o" the speci4ied amount 4o milliseconds.

    )ample:D)L% 1000

    Suspend the sc"ipt and wait 4o" 1 second

    5 F((!(

    MMMMMMMMMMMMM%6* JuestionsMMMMMMMMMMMMM

    >: canCt p"o#"am %;me#aA alwas #ot BW"ite 4ailed messa#eB.>: canCt p"o#"am %6* %;0SA "eceive e""o" 21 and the p"o#"am 4ails. What is the p"o3lemT

    %: nc"ease the 4ollowin# pa"amete"s in the ponp"o#.ini 4ile $all times a"e in milliseconds'

    %6*5teW"iteDelaM0 CDela to complete the w"ite o4 a sin#le wo"d %6*)"aseDelaM100 CDela to complete the e"ase o4 all the memo"

    n case o4 %;me#a inc"ease also the 4ollowin# pa"amete":

  • 5/21/2018 PonyProg - Manual

    28/28

    %;+e#a!a#eW"iteDelaM,0 CDela to complete the w"ite o4 a pa#e o4 4lash memo"

    >: canCt "ead o" w"ite %;0S1200 device. "eceive the e""o" messa#e: BDevice missin# o" unnown device 2(B

    %: Select B#no"eB 3uttonA i4 the 4inal messa#e is BW"ite succes4ulB ou have a sample that doesnCt "epl to the identi4 command. t seems that ea"l devices donCt "epl to this command.

    >: need to p"o#"am the %6* mounted on the ta"#et ci"cuit $n sstem p"o#"ammin#'A 3ut !on!"o# 4ails to p"o#"am 3ecause an ete"nal "eset ci"cuit hold the "eset line low 4o" a lon# time.

    %: ;" to pla with the 4ollowin# pa"amete"s in the N 4ileA it should solve the p"o3lem $all thetimes a"e in milliseconds'

    S!*eset!ulseM100 C&ow lon# is the "eset pulse #ene"ated 3 !on!"o# S!Dela%4te"*esetM,0 C&ow man milliseconds !on!"o# waits a4te" the "eset pulse

    MMMMMMMMMMMMMMMOthe" JuestionsMMMMMMMMMMMMMMM

    >: What tpe o4 ca3le should use to connect S!"o# to the O+ po"tT

    %: ou must use Bst"ai#ht th"ou#hB ca3le with all pins connected. DonCt use Bnull modemB ca3le. $loo at .1.10'

    >: With Windows2000/?! canCt access the L!; po"ts without 3ein# administ"ato"A need to "un !on!"o#

    lo##ed in as no"mal use"A what can doT

    %: ou cannot load the DL!O*;O.SS d"ive" w/o 3ein# an administ"ato". %s %dminist"ato"A Sta"t the ompute" +ana#ement console Device +ana#e" 6iew: show hidden devices. ;hen )pand Non!lu# and !la D"ive"s and 4ind the d"ive" in the list. t ma show up as D"ive"LN? !o"t /O D"ive". ;henA 4o" this d"ive" p"ope"ties d"ive" sta"tup. Set sta"tup to 3oot. *e3oot the sstem.

    >: + ! doesnCt have an L!;/O+ po"tA can use a 9S52O+ o" 9S52L!; adapte"T

    %: Some 9S5 adapte"s donCt wo" at all while othe" adapte"s a"e ve" slow. So su##est to avoid 9S5 adapte"

    and 3u O+/L!; !+% o" ! adapte"s that emulates 100^ native L!; and O+ po"ts.

    >: have a Windows2000/?! ! with an et"a L!; ca"dA 3ut !on!"o# canCt select the added po"tA can 4o"ceitT

    %: Fi"st ou have to select the %v"S!/O inte"4ace instead o4 the %! ve"sion. ;hen ou have to edit ponp"o#2000.ini 4ile and disa3le po"t autodetection: %utoDetect!o"tsMNO then ou have to discove" the "eal add"ess o4 the et"a L!; po"t 3 looin# at ompute" +ana#ement console Device +ana#e" L!; po"ts "esou"ces. Fo" eample i4 the et"a L!;is L!;

    and the add"ess is DF00 ou need to ente" the line L!;!o"tsM8A28ADF00 Note that this 4i wo"s onl in some ve"sion $use 2.0-# and newe"'.

    http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10http://www.lancos.com/e2p/ponyprog2000.html#s3.1.10