ICSP Programming: PIC16F882

Lately I have been diving more into C by trying to program a PIC16F882 chip ( datasheet ) with a ICSP programmer.

The pinout is fairly straight forward. Match up the follow pins:

ISCP Programmer -> Chip

MCLR -> MCLR

GND -> VSS

VDDTGT -> VDD

ICSPCD -> ICSPD (ICSP Data)

ICSPC -> ICSPC (ICSP Clock)

Write the code using MPLAB ( Leverage the xc.h library )

Using pinouts from PORTXbits ( PORTAbits, PORTBbits, PORTCbits, … )

 

For my future references, I used a Velleman EDU 10

Jon

Innovative, entrepreneurial and positively unsatisfied mind that constantly pushes the tech boundaries to create new solutions and devices that change people’s lives. Throughout my career, I have had the opportunity of having a multi-disciplinary experience, which led me to wear the hats of: Architect, IoT Consultant (Internet of Things Consultant), Developer, Designer, Engineer, Server Admin, Consultant and Project Manager – to name a few. Based on this diversified background, I get projects done by following smart ideas and well-planned goals. In a world which is getting more unconventional by the day, I use unconventional ways, and a very healthy dose of integrity, to create devices and solutions that help companies go from a steady present to a dynamic future.

You may also like...