Close

PIC16LF1824 Programming

A project log for SubPos Positioning System

A "dataless" Wi-Fi positioning system that can be used anywhere GPS can't.

bleckyBlecky 03/31/2015 at 11:090 Comments

If you own the PICkit this is a pretty easy process, and I recommend if you are going to be doing a lot of PIC development to invest the small amount into one.

First you want to look at the following manuals:

PICkit 3 Programmer - http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit_3_User_Guide_51795A.pdf
PIC16LF1824 Programming Specification - http://ww1.microchip.com/downloads/en/DeviceDoc/41390D.pdf

The datasheet is also important.

Inside those documents you will find the information you need to connect the chip up to the programmer, ready to program.

In the PICkit 3 manual, you want to look at figure 1-2:

And in the programming specification figure 2-6:

In this case we have 5 pins to connect (the ones marked in bold in figure 2-6). Note: VDD needs to be connected even if using your own power supply.

We have an EUSART in the micro which we can use for one of the UARTs. Take note of the following table from the datasheet:

Once you have connected them it should look something like this (I have also connected the ESP3288 and USB to UART too):

You are now ready to start programming/debugging in MPLab. Make sure you select the correct variant (in this case the LF model without an internal voltage regulator) in MPLab.

Discussions