'How to Program a Microchip PIC' Flow Chart

8 downloads 2534 Views 67KB Size Report
http://microchip.com/mplab. Got a PIC. Programmer? Do you have MPLAB software installed ? Buy a PIC programmer. Recommend PICkit2 · Part # PG164120.
‘How to Program a Microchip PIC’ Flow Chart http://picprojects.org.uk © 2010

Have you got the source code or HEX file?

NO

Can’t program it without the code

NO

Buy a PIC programmer. Recommend PICkit2 Part # PG164120

YES

Got a PIC Programmer?

Google: PG164120 YES

Do you have the HEX file for the program?

NO

Do you have MPLAB software installed ?

NO

Download and install MPLAB IDEfrom http://microchip.com/mplab

NO

Fix errors

YES

Run the MPLAB IDE application program additional information see this web page File – Open load the .ASM file for the PIC program code Configure – Select Device Set device to PIC variant being used

Make changes to code if required Project – Quickbuild

YES

BUILD SUCCEEDED

YES Run the PIC programmer application program. Load the HEX file Program the PIC

Done

http://picprojects.org.uk © 2010