PDA

View Full Version : PIC programming using MPLAB



Wayne J
08-25-2007, 08:13 PM
I put together this flash video for programming PIC's.

It is not narrated, so a few notes here....

Create a folder to work from on the C drive. There is a character limit in the software, so a short path is needed.
Download the .asm file you wish to use and put it in this folder you created, this should be your folder to save the output to also.

Once you have the files built and you programmed and verified the first IC, you can remove that IC and do a second, third...ect.
When you have saved the workspace, if you need to program more of the same PIC's at a later time, just open that workspace and start the writing process. No need to go though the assembly procedure again.

The video can be seen here.

8)

EDIT.....
The post above is older, this link is the current.....
http://doityourselfchristmas.com/forums/showthread.php?t=490 (http://doityourselfchristmas.com/forums/showthread.php?t=490)

grages
08-27-2007, 05:48 PM
This is absolutely great. Wonderful job Wayne.

tealman353
05-26-2008, 11:22 PM
I have a few questions regarding this method.
-First, In the first step, How do you know which of these devices to chose?
-In the second step, my "MPLIB Librarian (mplib.exe)" has a red X next to it and MPLAB will not let me proceed until "the tool paths are correct", what do I do about that?
-Third and most important, is there a posted version of the firmware that is already in .hex format so that I can just use it as is in the PICKIT2 software I have?

Thank you for your time.


Tim Ambrose: Teenage Inventor/Scientist

scorpia
05-26-2008, 11:58 PM
With regards to the third question, If you have the .hex file then yes you can just use the pickit2 program to program the chip.

as for the others it sounds like you need to check the setup of MPLAB.

as for how to set it up, im not sure. but when i need to do stuff with mplab i have found the help files to be good, maybe its in there.

Peter

lytnin
02-17-2009, 10:57 PM
Is this video still around?

I remember watching it and wanted to check it out again as I'm about to start my PIC programming.

Cheers
Dave

Wayne J
02-17-2009, 11:02 PM
Is this video still around?

I remember watching it and wanted to check it out again as I'm about to start my PIC programming.

Cheers
Dave

Sure is... actually, it is now broke up into sections and sticky'd in the How To section, but here is the direct link.

http://doityourselfchristmas.com/forums/showthread.php?t=490

lytnin
02-18-2009, 12:51 AM
Thanks Wayne, that's the post I remembered.

Cheers