Sie sind auf Seite 1von 6

12/27/2015 EPROMSimulator|HW.

cz

HW.CZ TRADE AUTOMATION BUSINESS DIR JOBS

Theoryandpractice Circuitdesign Component Production Products ActionsandEvents

Documentation Bookshelf Construction Trendy Blogs Totallyimpracticalthings

HomeTheoryandPracticeEPROMSIMULATOR SEARCH

EPROMSIMULATOR
UniversalindustrialconnectorsSeries
EditorsHW,December1,19970:00 STentrustpowersteering,aswellas
CompleteconstructiondocumentationwithsourcecodeanddetailedilluminatingthisArticle thetransmissionofsignalsfrom
differentsensors.

issues. PacificPowerCompanyintroducedtwo
newcompactmodelsofprogrammable
ACsourcewithanoutputADXSeries
1000VA...

Ifyouareamongthosewholoveorder
andatthesametimeworkingindulgein
EPROMsimulatorisaproductwithoutwhichvirtuallyimpossibletodevelopanddebugalmostanydevicein alittlepleasure,thenitisasetoftools
Wiha9300...
whichitiscontainedmicroprocessorcontrolledprogramfromexternalmemory.
FT600/601converter,USB3.0
SuperSpeed
o na16/32bitFIFO

interface,offeringanalternativeto
Ethernetforhighspeed...

Login

Username*
Onewaytodevelopand debugsoftwareformicroprocessorapplicationsisusingtounloadaprogrammablecircuit
(EEPROM,FLASHEPROM,orRAMZeroPower)betweentheprogrammerandthesocketpativcindebuggingfacilities.
Password*
Anotheroptionistouseaspecialdevelopmentboard,whichinadditiontotheSRAMcontainsadditionallyfixedmemory
with"monitoring"program,whichprovidesdownload(stretching)programofpersonalcomputersafteroneoftheinterface
(usuallyRS232)andstoredinSRAM.Thisseeminglyelegantsolution,however,severelydiminishingrangeof LoginusingOpenID
applications,sincethecustomerprogramisnotduetothepresenceofcontrolcommunicationinterface,thisinterfaceis
fullyused,accesstoallthememoryspaceformemoryusagewith"monitoringprogram".Incontrast,however,thesystem Createnewaccount

workswithamonitoroneadvantage.Anytimeyoucancheckthecontentsofanyregistryaddressesinmemory,etc. Requestnewpassword
Theuseofthesimulatorfacilitatestheusereg.Anyrepairsandmodificationsofsoftwarealreadyinthefinisheddevice.No
Login
needtocarryreplacementmotherboardsfordebuggingboard,aswouldbethecasewhenusingpreviousversions,simply
removeitfromtheslotwiththepreviousprogramEPROM,EEPROMconnectSimulatoraaeg.Usingalaptoptolocate
andanalyzethefault.ThensimplybeprogrammedintoEPROMnewversionofthesoftwareintheEPROMprogrammer,
insertitintotheslot,andtherepairiscomplete.ThedevelopmentisanEPROMsimulatormayseemlikethebeginningof
morecomplexandexpensive,buttheuniversalityandflexibilityofthisdevicemakesitaverygoodinvestment.

HowEPROMsimulatoroperatesandwhatitactuallyis?


XC5VSX50
Anydevice,controlledbyaprocessorneedsaprogramthatcanbestoredintheprocessoritself,orinanexternalprogram
memory.ThefirstoptionIwillexamineindetaillater.Iftheprogramisstoredinanexternalprogrammemory,itis
necessarythatthiscircuitcanbeeasilyreplaced,duetosoftwareupgrades.Themostcommonlyusedmemorytype
EPROMorFlashEPROMinthesocket.EPROMsimulatorisadevicethatsimplyplugginginthesocket,anditbehaves
likeEPROM.Leadhimbutalsoleadstoapersonalcomputer,fromwhichitcanbeloadedintothissimulateduserprogram
memory(ofcourse.BINformatorHEX,whichcorrespondstoafilethatwouldnormallybeburnedintoanEPROM)anda
microcomputerwilloperateaccordingtothisprogram.Toincreasecomfort,itispreferredthattheEPROMsimulator
includedaresetoutput,wherebyitispossibletoresetthemicrocomputeruponuploadinganewversionoftheprogramand
itthusimmediatelystarts.

http://vyvoj.hw.cz/teorieapraxe/konstrukce/simulatoreprom.html 1/6
12/27/2015 EPROMSimulator|HW.cz
Thissystemobviouslycannotanddoesnotwanttocompetewithsimulatorsaroundtheprocessor,whichallowseven
simulatetheinternalprogrammemory,todetermineinrealtimethecontentsofthevariousregistersoftheCPUtiming,
readports,etc.....allwithoutanyrestrictions.

Diagram:

Navigation

Forum
MyServices
Forum
Vivredeveloper
Recentposts
Calendar
Popularcontent

INTERESTINGEVENTS
FairenergysavingSOLARPRAGUE
/21.The1st2016/
Solarthermal,photovoltaics,biomass,heatpumpsor
CHP.ThesearethethemesattheSolarPrague,which

Functiondiagram: willbeheldJanuary21to23...

embeddedworld2016
/23.The2nd2016/

InternationalFairofembeddedsystemsinNuremberg,
Germanyheldfrom23to25February2016.Whetherit
Ontheparallelportisconnectedtoan8bitDtypeflipflop(34374),inresponsetotherisingedgeandthefamousbi isasafetyissue,...
directionalinput/outputport8255thPedigreecontrollingentryintothe74374isconnectedtoasimplenegationfeedback
Automaticon2016
thatshapestheimpulsetowriteto74374viaR2andC1.Thisfeedback,togetherwithterminatingresistorsmanagement /01.The3rd2016/
protectsagainstunwantedcrosstalkimpulses,whichoftenariseinthetwistedunshieldedcable.Alsoactsasacheckthat AutomaticonPolishtradefairautomation,control,
thesimulatorEPROMisconnectedtotheparallelport.8255controlsoutlets(/RD,A0,A1)areconnectedtotheremaining measurementandrobotics,willbeheld1to4March,
2016inWarsaw.
pinsofLPT.74374outputsareusedtocontrolthewholesimulatorEPROM.Particularattentionshouldbepaidonly
RESEToutput,whichresetsafterdownloadingtheprogramthemicrocontrollerandoutputLED,whichisusedbothto Amper2016
generateinformationonthestatusofthesimulator,aswellasapotentialsourceofclockpulses. /15thThe3rd2016/
24thInternationaltradefairofelectricalengineering,
automation,communications,lightingandsecurity,
AfterinitializationanddetectionEPROMSimulatoronLPTissettoresetpinactivelevel,indicatingdelimitersbusestoa Amper2016willbeheldMarch15to18...
highstate,removingSRAMinthesimulatorfromexternalcircuitry.Additionallythrough8255toprepareitsoutputportsPB
more...
andPCaddresswrittendata,indicatingSRAMtotherecordingmodeandwritestoSRAMdataportPA.Thisalgorithm
graduallyfillstheentireSRAMsimulatedprogram.
December
P AT WITH C P WITH N
Inthefinalstagetointroduceallthreegatecircuit8255inReadmodedata.Databitsarethankstobehaveasiftheywere
1 2 3 4 5 6
inastateofhighimpedance.Byconnectingdataseparators74244SRAMisconnectedtothedataandaddressesfromthe
7 8 9 10 11 12 13
application,andthesurroundinglogicensuresthatlookslikeanEPROM.
14 15 16 17 18 19 20
21 22 23 24 25 26 27
DelimiterdatalinesisalsousedtoputintothethirdstateintheeventofdisconnectionsimulatedEPROMusingpinson
28 29 30 31
theEPROM/CEand/OE.AfterthisoperationSimulatorEPROMcontainsallrequireddataisreleasedresetleveland
themicrocontrollercanexecuteprogram....EPROMsimulatorwasdesignedfromthe"classic"componentsthatarereadily
availableoneg.Theold286tkovchmotherboardsandeveryonehasthesocalledhome."uplkovchstocks."

LoginA15_INisalwaysnecessarytohavejoinedajumperifyoudonotusethesimulatorto64kilobytesoperation.(Atthe
verylastversionoftheboardismadebyathinseamjoints,providingdefaultconnectionofthesepins,incaseofomission
jumper.Tousetheentire64kBSRAM,itisthennecessarytointerruptthisconnection.)

Powerapplicationequipmentwasnotatrivialproblem.Theapplicationhadtobeprotectedagainstovervoltageandreverse
polarityforminimalvoltagedrop.Accomplishesthisbyusingafuseandzenerdiodes.EPROMsimulatoritselfconsumes
negligiblecurrent,butduetothetopologypoweringthemajorityofanapplicationmicroprocessorofthesimulatoreither
onlythroughtheEPROM(torecallabout100mA)orevenacablespecial.Powerconnectorisbroughtundertheslotfor
thecableoutlet.

http://vyvoj.hw.cz/teorieapraxe/konstrukce/simulatoreprom.html 2/6
12/27/2015 EPROMSimulator|HW.cz
SocketEPROM

Ifyouarerevivingmoredifferentmicrocomputers,itisnecessarytobasethatsimujujeEPROMoftenpendavat.Inuse
connectionsviaaribboncableandconnectorknownasKK28025inthecatalogGM.Thesetappingconnectorsthat
correspondmechanicallyintegratedcircuitinthewideportion28,however,aremanufacturedintwoversions.Oneisa
blackplasticoutletsareflat,goldplated,theotherisgray,thepinsarethinner,hasaslotonaflatplastichousing
numbers.Theproblemofblacktappingsleeveisthatitsoutlets,althoughgoldcannotbefitintothepreciseslot.
Anyonewhohasevermade devicethatshouldworkinalittlemoreproblematicenvironmentalsoknowsthatregularslots

areasignificantsourceoffailureandthereforetheprofiEquipmentexclusivelyusedprecisionslot.SinceIrecommendyou
takethetroubletogetabetterinsulationdisplacementsleeveinagrayfinish.Thenyou'llsaveyourselfalotofproblems.

Theprocedureforrecovery:
Populartopics

Thedeviceshouldworkonthefirsttry.Nocomplicatedrecoveryisnotneeded,butifthesimulatorisunresponsiveseveral
SoftwareEthernetMCURF
options. ProcessingISPmeasurement

DocumentationConstruction
Thefirsttimestendtobeshortcircuitedbyproducingfacetenablingdirectconnectiontotheserialconnectoronthecable,
becausetouchingthePCBregion,andthereareconnectedbyathinconductingedge,hiddenbehindthemask. ofthepowerindustrySOS
2ndDidyouremembertofitajumperatinputA15?????JumpermustbefittedALWAYSifyoudonotusetheentire electronicFreescaleshows
64K.Ifyoudonotwanttousethisfeature,Irecommendsettingthestraightwirejumper. MicrochipAtmelautomationPIC

3.Theprogramreportsthatthesimulatorisnotconnected:Thiserrorcanoccurduetoyourparallelport.Althoughwehave productspowercircuits
usedinthedesignofthesimulatorallourexperience(mostlyterrible),aparallelport,buttheremaybeasmallpercentage
oftheportsonwhichtheywillwork.Testwhetherthesimulatorconnectedisperformedonlynegovnmsignalatpin/
componentprogramming
ERRORsignalfrom/AUTOFEEDtoLPT.Thisrequiresonlyaninverter(producedfrom7402)andthesupplyvoltageof interface
bookshelf
whichisthemosterrors.Ifitworksaswellasthepowerinverterprogrambutstillcannotfindthesimulator,trychecking
theconnectionsthathavenohairagainstshortcircuitsresultingintheproductionofprintedcircuitboardandinitstin. developmentSchools
4.Theprogramreportsthateverythingisfine,buttheEPROMsocketcontainsonlythesame"FF".IftheLEDlightsasa processorTheoryand
(=aftertheprogramgoesoff,andafterloadingthedataintomemorylightsupagain)theerroriseitherincompletewiring,
orextendercables.Checkthereforethediagramlevelonthecontrolpins.Especiallypins/CS,/OE,/WE61256andpin PracticeWirelessNews
1ofeach74,244th More

Anothertheoreticalerrordoesnotmakesensetodescribe,ifyouencounteranyfurthercomplications,Irecommendfinding
thembysteppingthroughsourcecodeinPascalorC++andomovnlevellogicprobe. 0

Upcomingandsupportedtheextension:

Intothesimulatorcanbeconnected32KSRAM,however,ifneeded,itcanbeusedNEXT_RAMpinandattachanother
32KSRAMcircuitinparalleltothepreviousone.OnlyoutletforothermemorychipselectpinconnectwithNEXT_RAM.
thatcandoublethecapacityofsimulatedmemory.LastaddresswirefortheEPROMsocketisthenavailableatthepin
withresistorR4.ItmusthaveALWAYS,whennotinuse64K,closejumper.!!!!hardwaresimulatorcalculatesthatin
conjunctionwithafullystaticCPUwillbeabletostepthroughtheinstructionsandhardwaredebugbadwiringtested
microcontroller.InaspecialmodetoconnectLEDpintotheclockinputprocessorandPCwillstepthroughindividual
instruction.ThecontrolprogramonthePCcanthenincludeadisassemblerforindividualprocessorsandlistingthe
contentsofallregisters,busstates,anystandardperipheralsetc.....Fullystaticprocessor,butdonotthink80C31suchas
thisrequiresasmallestpossiblefrequencyofapproximately32kHz.Astheonlytrulystaticprocessors,theXX51serieswe
provedonlycircuitsATMEL89C5x.EPROMSimulatorwillbesmallmodificationsalsobeusedasastandardSRAM,
whichcanbereadonaPC.Thisexpansion,however,willbeusedonlyinconjunctionwithenhancedparallelportstandard
EPPandECPduetobidirectionaldatalines.

Additionaltechnicalnote10/15/2002
Ifyouwillbeonpin9ofIC2(74374)disconnecteddatabuslogiczeroandatthesametimewilloutputgate4IC6B
(7402)logicone,therewillbenopowertreatedcondition.AsasolutioncanbeconnectedresistorR5toVccinsteadof
GNDandtheoutputgate4IC6Bthroughthediodecathodetothegateatthesamepointasitis.

Experienceandprotectionofconstruction:

http://vyvoj.hw.cz/teorieapraxe/konstrukce/simulatoreprom.html 3/6
12/27/2015 EPROMSimulator|HW.cz
StartingWindows95sendinitializationsequencestoaprinter,whichthusinvolvedSimulatorEPROMandresetstatedata
inSRAMintoindefinablestate.

Constructionischnnafuseandpolarityreversalprotectiondiode.Ifyouuseazenerdiodeforexample.6V8,Fusealso
protectsagainstovervoltage.Protectiononlyworkswiththepowerinputterminals,ifyousimulatorpoweredbya
microcomputer(whichisperfectlynormalprocedure),protectionwork.Itwouldthereforebeadvantageoustogetusedto
eitherpowerthemicrocomputerfromthesimulatorandthusthroughthelock(designcontainsbothsupportPoweroverhow
thedatacableandotherterminalsforconnectingthepowermicrocontrollers),orpayattentiontothesupplyvoltage.From
myownexperienceIknowhowmuchpowermaycauseproblems.VerydangerousmistakeisalsoaPCand
microcomputersintotwodifferentphases.Veryoften,itmaynotbeeitherofthetwophases,notjustonestage,butthe
connectiontotheendsoftwodifferentbranches.I'malreadyhome,thankstoitsarchitecture(deskisinacornerofthe
roomthanthePCandthusonanotherbranchofthesamephase)destroyedtwoparallelports.Thesurestistherefore
connectedtoapoweroutletandbestdebuggingmicrocomputerdirectlytothePCsource.Atleast0.5to2Aof5Vcanbe
removedwithoutproblems.Moreover,itisprotectedagainstshortcircuit.Shortcircuitdisconnectsthesupplyandafter
about250mStrytorestorepower.Ifyoudisconnectthedevicenothinghappens.SeveraltimesithappenedtomethatI
havefallenevenWindows95(whichindicatesalargecapacityforpowersupplyfilteringonmymotherboard).

SimulatingEPROMinthesocketEPROMprogrammerisalsopossible.However,problemscanoccuratveryuniversal
programmersthatareprogrammableeachpinseparately.Ontheinternalcircuitrymayresistors,throughwhichcurrentcan
flow,whichisfedbythesimulatorEPROM.Forsimilarexperimentsitisusedtofuse100mApin1mustbeconnectedvia
adiode,aswellastheVccpin.(Thisadditioncanbeeasilyimplementedusingtwoslotswithinterconnectedoutletsand
twodiodes.

Allthepicturesonthewebsitearetoosmalllivid(75or150DPI)Asmanyas300DPIisfollowedbytheGIFfilescreated
specificallyforprintingona300DPIprinter.ThesefilescanbefoundintheattachedarchivezdrojovmKedemandfull
documentation.

PCB
Partyconnections

Partycomponents

PlantingPlan

http://vyvoj.hw.cz/teorieapraxe/konstrukce/simulatoreprom.html 4/6
12/27/2015 EPROMSimulator|HW.cz

Listofcomponents:

Part Value Package Library


CON1 LPT_PC CANN25 KonectorCannon25malePCB

IC1 8255 DIL40 TTL74XXX

IC2 74374 DIL20 TTL74XXX

IC3 74244 DIL20 TTL74XXX

IC4 74244 DIL20 TTL74XXX

IC5 74244 DIL20 TTL74XXX

IC6 7402 DIL14 TTL74XXX

GASH 61256 DIL28CH SRAMMEMORY(bothversions)

LED/CLK CON04X1 CON04X1 Solderingtip4x1

NEXT_RAM CON2 CON2 Solderingtip2x1

SLOT 27256 DIL28 DIL28socketorsolderingtip17x2

POWER CON2 CON2 Solderingtip2x1

POWER1 CON2 CON2 Solderingtip2x1

RESET RESET CON03X1 Solderingtip3x1

A15_IN CON2 CON2 Solderingtip2x1

Total15x1+optionally17x2

R2 1k R10 ResistanceE12

R3 4k7 R10 ResistanceE12

R4 1k R7,5 ResistanceE12

R5 4k7 R7,5 ResistanceE12

R_LED 220 R7,5 ResistanceE12

ZB1 4k7 RZEBRIK ResistancerankingE12

ZB2 4k7 RZEBRIK ResistancerankingE12

C1 220p C5 CapacitorE12

C2 10uF E2,5 CapacitorE12

C_pwr1 100uF E2,5 CapacitorE12

C_pwr2 100nF C2,5 CapacitorE12

C_pwr3 100nF C2,5 CapacitorE12

C_pwr4 10uF E2,5 CapacitorE12

http://vyvoj.hw.cz/teorieapraxe/konstrukce/simulatoreprom.html 5/6
12/27/2015 EPROMSimulator|HW.cz

C_pwr5 100nF C5 CapacitorE12

C_pwr6 10uF E2,5 CapacitorE12

C_pwr7 100nF C2,5 CapacitorE12

D1 D7,5 D7,5 Adiodeforexample.KA261

ZD1 6V8and5V6 D7,5 Zenerdiode6V8and5V6

ICE green5mm LED5mm

P_FUSE KS20SW Fuseholder(labelingofGM)

FUSE 1A Glass Fuse

DIL28 Rigorous

2xconnectorforflatcable Rathergrayversionseetext

FlatCable 28lived 0.5m

AsCACHEmemorycanbeusedfromacomputer.Inmyexperience,circuits61256and62256arealmostidentical.They
differonlyinconsumptionandspeed,butnotonewearenotinthesystemdesignlimited.

TheboardispipavenoutputconnectorforbothEPROMintheimplementationofthesecondwideslot,DIL28,whichis
themostcommonandsolderingtip2x13forPFL.Inthecaseofusingsoldersideitisnecessarytoultrapowerwires
connecttoaseparateconnector,becausethePFLwasdiscontinuedfor28pins.

Platewithponmiboardisfullyoperational.

ThealbumunderthecodeSE32canbemuchcheaperandfastertoorderacompany
SEMACH.Contacthere

ComponentstocompletecostGMabout300CZK+8255(80CZK)+ribboncable.

AsinthecaseofprogrammerAtmel.SoftwareinPascalandCforLinux,includingsourcecode,drawings,PCBGIFfor

300DPIareavailableherecompressedintoaselfextractingarchivesforDOS.:SimEpDOC.EXE

ThisfileisavailablefortheproductionofprintedcircuitEAGLE2.6pcb_doc.zip autilityforprintingcanbe
obtainedwww.cadsoft.delink).

ForthosewishingtoworkwithsinglechipmicroprocessorsImentionalinktoyourarticleaboutcompilingfiles,whereitis
possibletoobtainothernecessaryinformationcompiledfromthe.asmtobinfile.

Ifyouwanttoprintthisdocumentation,thereisa.pdffileforpublishingonpapersimeprom.pdf

Yourfactualandsubjectiveobservationsarelookingforwardtothevisit:Rehak@hw.cz
Ratethisarticle: 0

addcomment

19972014HWserversroexternal),connectedprostednitcvmWIAexternal).Allrightsreserved! News|Authors|RSS|Advertising|Contacts

http://vyvoj.hw.cz/teorieapraxe/konstrukce/simulatoreprom.html 6/6

Das könnte Ihnen auch gefallen