0% found this document useful (0 votes)
947 views6 pages

Programmer For 89C51 - 52 - 55 89S51 - 52

The document describes Easy-Downloader V2.0, a cheap programmer for writing Intel HEX files to Atmel 89C51, 89C52 and 89C55 microcontrollers. It includes a circuit diagram, instructions for building the board, and information on using associated software to download HEX files from a PC. Updates have added support for 89S51/52 chips and connecting the programmer to a PC via USB.

Uploaded by

Ankit Dhiman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
947 views6 pages

Programmer For 89C51 - 52 - 55 89S51 - 52

The document describes Easy-Downloader V2.0, a cheap programmer for writing Intel HEX files to Atmel 89C51, 89C52 and 89C55 microcontrollers. It includes a circuit diagram, instructions for building the board, and information on using associated software to download HEX files from a PC. Updates have added support for 89S51/52 chips and connecting the programmer to a PC via USB.

Uploaded by

Ankit Dhiman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1/16/2015

Programmerfor89C51/52/5589S51/52

EasyDownloader V2.0 for ATMEL


89C51/52/55 89S51/52

WichitSirichote,kswichit@[Link]
BuildyourownaprogrammerforwritingintelHEXfiletothe89C51,89C52and89C55,PCBfileincluded,Window
versionUPLOADEREZ3,EZ3.1,
modifiedsourcecodewithsdcc.
updatedfirmwarefor89S51and89S52!

Introduction
Ifyouneedmorecodespaceforyourapplication,particularlyfordeveloping89Cxxprojects
withClanguage,[Link]'ssuitableandcheapwhichanyone
canbuildeasily.ThisversioniscapableofwritingintelHEXfiletoa89C51(4kB),89C52(8kB)
and89C55(20kB).AftercompilingthesourcefileinAssemblyorCthendownloadthehexfile
tothechipdirectlybyusingA:\>ez2myfirst(.hex),say.
Hardware
[Link]
receivesa9600baudserialdatafromPCandgeneratestheappropriatedsignalapplyingtothe
ZIFsocket.P0isforbidirectionaldatatransferring.P1providesA0A7,P2.0P2.6forA8A14.LookatA14,oursoftwareuses
P2.6,[Link]
programmingvoltageshownabitdifferentfromversion1.1,Vpppinneedsonly+5Vand+[Link]
[Link],noproblemsofar.

Figure1:CircuitDiagramofEasyDownloaderV2.0
ConstructingtheBoard
[Link],getthe
[Link]

1/6

1/16/2015

Programmerfor89C51/52/5589S51/52

[Link],openwithProtelversion2.73.ThecomponentsplacementisshowninFigure2.
ForthosewhocanmakethePCBwithPDFfile,[Link]

Figure2:ComponentsPlacementLayout
Software
[Link]
the89C51.Analternativeistouse89S8252chip,buildasimpleSPIdownloaderthroughLPTport.Thepreprogrammed89S8252
withez52.hexcanbeusedinplaceof89C51.
[Link],itneedsMicroCfor8051compilerfrom
DunfieldDevelopmentSystem.
[Link].
Note:EZ2dosversioncanuseonlywitholdPC,386or486machine.
Exampleofusingez2isshowninFigure3.

Figure3:ExampleofUsingez2,DOSversionUploader

[Link]

2/6

1/16/2015

Programmerfor89C51/52/5589S51/52

Figure4:ExampleofUsingEZ3andEZ3.1
DownloadEZUploaderV3.0forWindowAsseenintheEasyDownloaderV1.1,theEZUPLOADERV3.0canalsobeusedwith
EasyV2.0.Nowforthe89C51,89C52and89C55,thereisasignaturebyte,[Link]
[Link],everythingwilldoneautomatically.
DownloadEZUploaderV3.1forWindowThisisbetatestEZ3.1Uploader,[Link]
coderesidedinthechipscanbereadandsaveasanIntelHEXfile.
EasyIILinks
DownloadNowezdl4!![Link]
detectCOMPortandprogrammerboard.
UsingEasyDownloaderV1.1&V2.0withUnsortedHEXFilesKurniaWijayafromJakartaIndonesiahelpsmewritingthe
programthatsortstheintelhexfilegeneratedbysomecompilers.
EasyPROG:ModifiedversionofEasyDownloadermadebyFranciscoBarbosa
SimpleRS232CLevelConverterusingTransistorsReplaceDS275withthischeapcircuit.

Sourcecodeforsdcc
Downloadthesourcecode,ez52s.c,hexfile,[Link],[Link]
NewfirmwareisdesignedforusingwithEZDL4.

UpdatedFirmware
Jan7,2004betaversionfirmwareforIntegratedCircuitSolutionIS89C51A,IS89C52Asourcecode,ez52ics.c,hexfile,
[Link](notrecommendedfornewdesign)
Nov1,2004betaversionfirmwarefor89S51,[Link]
[Link],usermustknowthesizeofcodefora
givenchip,e.g.89x51has4096bytesand89x528192bytes!

[Link]

3/6

1/16/2015

Programmerfor89C51/52/5589S51/52

SincethenewSseriesneedsmorebitformodesetting.Soyouhavetomovesignalfrompin14topin13asshown
above.
Downloadsourcecodeandintelhexfile:[Link](bothfileswereupdatedSep13,2004,extendtheerasing
pulselenghtandmayneedpowercyclingifverifyfailed)Pleasereportyourtesting.

ContributiontoEasyDownloaderV2.0

Runner51TheprogrammerboardbasedonEasy2,OrcadV7DSNandPCBfilesmadebyFernandoBallesterosfrom
Argentina.
ISP51InSystemProgrammerforflashmicrocontrollermadebyTaufikIR.
Adapterboardfor89Cxx51andmodifiedfirmwareusingsdccmadebyNguyenHoaiNamfromVietnam.

ConnectingtheEasyDownloaderV2.0toaPCwithUSBport:
NewerPC,orlaptopcomputermaynotprovidestheCOMport,insteadithastheUSBportasastandardserialport.I
foundacheapadapter,[Link]
[Link],weneedsonlythreepins,[Link],RXD,and
[Link]+5VfromUSBport.

[Link]

4/6

1/16/2015

Programmerfor89C51/52/5589S51/52

Asshowninabovephoto,weremovetheDS275,RS232transceiver,andprovidethe6pinSIPsockettoconnectthe
FTDI232serialadapter.

[Link]
[Link]

5/6

1/16/2015

Programmerfor89C51/52/5589S51/52

(pin11ofthe8051)RX(pin5)
RXD(pin10ofthe8051)TX(pin4)
GND(pin20ofthe8051)GND(pin1)
WhenconnectingtheadaptertotheUSBport,[Link]
calledVCP(VirtualCOMport)[Link]
recognizetheconnectedUSBportastheCOMport.
I'[Link]
interface!

1stPostedNov1,2004
LatestupdatedJan3,2014

[Link]

6/6

You might also like