PDA

View Full Version : Adding picKIT to MICROCODE STUDIO



OLDSCHOOL
- 3rd May 2008, 20:27
I am just starting with PICs. I have a PICKIT1 programmer and it works fine, I can program to it with the pickit1 classic program, but I am having trouble adding it to my list of programmers from the MIRCOCODE STUDIO.

So far everything I've tried has not worked - is there another program that PICKIT uses?

mackrackit
- 3rd May 2008, 21:11
The PICKIT Classic is the only one I know of.
I have not used it for some time, but worked well.

Is the PIC Classic not updating the hex or not executing?

I will try it here tonight and see if there are problems with MCS3.0.

mister_e
- 3rd May 2008, 21:40
Yikes, sorry i don't know for PICKIT1.. but PICKIT2 have command line and it's pretty easy to add it to MCS.

Maybe you could try with Piklab?
http://piklab.sourceforge.net/

HTH

bcd
- 4th May 2008, 02:33
I just got my PicKit2 and it is the best $40 I have spend for quite some time.

You will need to download the command line tool from the Microchip site - do a search for PKCMD2.exe. You can then call it from MCS using the following command line:
/PPIC$target-device$ /F$hex-filename$ /M -h3

I currently use my other USB programmer in ICSP mode (DIY Kiys K150) to program and use the PicKit 2 as a logic analyser. Its fantastic !

Oops, just noticed you have the PicKit 1 - sorry not sure....

Bill.

OLDSCHOOL
- 4th May 2008, 05:16
Thanks I tried the PK2CMD and the command line paramters you posted, but it didn't work for me.

I searched the MICROCHIP website and there was nothing else for PicKit1, It is not too
big of a deal, it is just a couple of extra steps to use the CLASSIC

mackrackit
- 4th May 2008, 05:47
I did not have much luck.

No problem having MCS start PICKIT Classic.
The first entry in the setup at Program Filename = PICKit1 Classic.exe
next the program path = c:\program files\microchip\pickit 1 v2
next is the parameters. That is the problem

The classic program will default to the last directory that a hex was loaded from.

[ALT+F,I]

will open the file load dialog, but I can not remember how to have it select the file.

Sorry I was not any help.