PIC Programming

Some handy links for those into programming PIC micro-controllers. You can use MPLAB or the dedicated programmer application to program PIC chips.

* [http://www.microchip.com/pagehandler/en-us/devtools/dev-tools-parts.html Dev Tools] The last version before MPLAB-X is 8.92

===Programming Example 1===
This example is when you have an assembler file and are using a PicKit3 with a ZIF socket adapter board.
* Start MPLAB
* Open the assembler file you want to compile and program
* Select chip type: '''Configure > Select Device'''
* Select programmer: '''Programmer > Select Programmer > PicKit3'''
* Go into '''Programmer > Settings > Power''', set the voltage to 5V (PicKit3 only) and enable it
* Make any changes to the assembler file (options, etc)
* Make sure the assembler file window is focused
* Compile to hex: '''Project > Quickbuild xxx.asm'''
* Program the chip: '''Programmer > Program'''

==PicKit 2==
* [http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20v2.61.00%20Setup%20A.zip PICkit™ 2 Programmer Application v2.61] [[image:zip_icon.gif]]

Here's the list of chips supported by the PicKit 2 ICSP programmer:
* [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en027813 PICkit™ 2 Device Support List]

Some newer families of PIC chips may require an updated device file:
* [http://ww1.microchip.com/downloads/en/DeviceDoc/PK2DFUpdate-1-62-14.zip PICkit™ 2 Device File v1.62.14] [[image:zip_icon.gif]]

==PicKit 3==
* [http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit_3_Programmer_1_0_Setup_A.zip PICkit™ 3 Standalone Programmer Application v1.00] [[image:zip_icon.gif]]
* [http://www.youtube.com/watch?v=3EkNUa2nSDE PICkit™ 3 Standalone Programmer Application] [[image:Youtube_icon.gif]]
* [http://www.youtube.com/watch?v=K2kNit7KcX0 PICkit™ 3 Programmer To-Go Function] [[image:Youtube_icon.gif]]

* [http://www.gooligum.com.au/tutorials.html PIC Tutorials] Gooligum Electronics

* [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2680&dDocName=en547784 Application Libraries]
* [http://www.embeddedcodesource.com/ Embedded Code Source]

==Other Tools==
* [http://www.microchip.com/productselector/MCUProductSelector.html Product Selector Tool]
* [http://www.micromagicsystems.com/#/pic-baud/4523812801 PIC Baud Rate Calculator]
* [http://gputils.sourceforge.net/html-help/index.html PIC Info Lookup]

This page has been seen 771 times.

Recent wiki activity

Icon legend

  • Normal page
  • Color code

    • Content has new updates
    • Content has no updates