0% found this document useful (0 votes)
234 views

PICPgm Tutorial PDF

This document provides a tutorial on using PICPgm software to program PIC microcontrollers. It describes how to connect a PIC programmer hardware board to the computer, use the software to detect the programmer and PIC microcontroller, and program a PIC by selecting a .hex file containing code. The software works with Windows 98, XP, and Vista, and can program 16F and 18F series PICs through the programmer board.

Uploaded by

SelvaGanapathy
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)
234 views

PICPgm Tutorial PDF

This document provides a tutorial on using PICPgm software to program PIC microcontrollers. It describes how to connect a PIC programmer hardware board to the computer, use the software to detect the programmer and PIC microcontroller, and program a PIC by selecting a .hex file containing code. The software works with Windows 98, XP, and Vista, and can program 16F and 18F series PICs through the programmer board.

Uploaded by

SelvaGanapathy
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
You are on page 1/ 4

PICSerialProgrammerTutorial(Software)

WeusethePICPgmDevelopSoftwareforwritingourcodesintotheFlashMemoryofthePICMicrocontroller.
PICPgmisverygoodopensourcesoftwareforWindows.WorkswellwithWindows98,XPandVista.It
supportsevenourJDMbasedprogrammercircuit.

HereisaScreenshotofthesoftwareasyouopenit(withoutconnectinganyhardwarecircuitry).

PICPgmDevelopProgrammerTutorial
Page1of1

SourabhSankule&MakarandMijar
SummerProject2008

Now,ifyoujustconnecttheProgrammerHardwarePCB(withouttheactualPICMicrocontrollerICplacedon
it)totheSerialPortoftheComputerCPU(throughaSerialPortConnectionWire),andpresstheAutodetect
ProgrammerHardwareButtonyouwillgettoseethetypeofProgrammerHardware,asfollows:

Nowadditionally,ifyouplaceany40pinPICMicrocontrollerIC(belongingtothe16For18FSeries)onthezip
socket,andpresstheAutodetectPICTypebuttonyouwillgettoseetheICNumber.

(Youcanalsoprogramanon40pinPICICusingtheexternalpinconnector,insteadofusingthezipsocket)
PICPgmDevelopProgrammerTutorial
Page2of2

SourabhSankule&MakarandMijar
SummerProject2008

IftheJDMprogrammerisnotautomaticallydetected,thenyoucantrysettingHardwaresettingsfromHardwareoption.
Seethescreenshotforsettingitup.

Anyprogramthatyouwishtofeedintothe(Flashmemoryof)Microcontroller,mustbeintheHex
(Hexadecimal)FileFormat.i.e.withthe.hexfileextension.

Youcanwriteforyourself,theprograminanyhigherlevellanguage(forexample:C).Butthenyouneed
anothersoftware,ormorespecifically,acompiler;thatcompilesyourhigherlevellanguageprogramintothe
Assemblylanguage(bydefaultinHexFormat),whichcanbeunderstoodbythespecificMicrocontrollerinuse.

TherearevariousCompilersavailable,whicharemadespecificallytoprogramanytypeofPICMicrocontroller.
Fore.g.:MicroC,MPLAB.Eachoneofthemwillcreatea*.hexfileofyourrequiredprogram.

PICPgmDevelopProgrammerTutorial
Page3of3

SourabhSankule&MakarandMijar
SummerProject2008

Tofeedthe.hexfileintothemicrocontroller,locatethe.hexfilethroughthebrowsefunction,andusethe
ProgramPICbutton.

Ifeverythingisfine,thenyouwillgetaGreenmessagewindowsignifyingthesuccessfulprocessofburning
(programming)thefileintotheTargetMicrocontroller.

Now,yourPICICisfullyprogrammed(asperthefedcode),andcanberemovedfromtheZIPSocketfor
furtheruse.

PICPgmDevelopProgrammerTutorial
Page4of4

SourabhSankule&MakarandMijar
SummerProject2008

You might also like