Page 1 of 1

pickit3 parameters

Posted: Fri Mar 11, 2011 1:03 pm
by stephan
Hello ,

I saw one post about the use of Pickit3 talking about compiler options like:

"
Set the Programmer location to: C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit3\pk3cmd.exe
Set the Programmer parameters to:-P%p -F%f.hex -E -M -Y
"

I wanted to know , where could i find datsheet about those parameters : -P%p -F%f.hex -E -M -Y

I look microchip datasheets but i didn't find any !

Did somebody know where i could find the origin of those parameters?

Thanks for all.

Re: pickit3 parameters

Posted: Fri Mar 11, 2011 1:25 pm
by DavidA
-P$target-device$ -F$hex-filename$ -E -M -Y -L -V5.0 -B

* The -B (batch) is only to keep the DOS window open after programming to
see completion messages and could be left out. A space bar press will exit DOS.
* Erase all -E.
* Write all -M.
* Verify all -Y.
* If the PIC hangs after programming add a -L to release the MCLR.
* Add an V5.0 or V3.3 and possibly other voltages to power the PIC from the Pickit3 USB.

Is what i found, this may not be the case, ben might come in and tell me its wrong :)

Re: pickit3 parameters

Posted: Fri Mar 11, 2011 2:12 pm
by medelec35
Hi stephan,
You should find details of command line switches within the microchip folder:
....\Microchip\MPLAB IDE\Readmes
There you will see a text file called:
Readme for PK3CMD.txt
Just in case you have not got it, I have attached the text file.
Note: It is best to open file with Wordpad and not notepad.

Edit: For the latest version see:
http://www.microchip.com/stellent/idcpl ... t=SW007002
which is the website that hosts MPLAB.
Download:
MPLAB IDE Current Release Notes
Text file will be contined within zip file.

Re: pickit3 parameters

Posted: Fri Mar 11, 2011 2:39 pm
by stephan
Hello,

I would like to thank you ,that what i was looking for !

Stephan

Re: pickit3 parameters

Posted: Fri Mar 11, 2011 5:05 pm
by medelec35
Not sure if your referring to mine or Daves post (or both), but thanks anyway.
Glad you have found what your looking for.
Thanks for letting us know.

Re: pickit3 parameters

Posted: Fri Aug 12, 2011 1:19 pm
by tmd_63
http://www.matrixmultimedia.com/mmforum ... 678#p16524
This link also shows the command line parameters for pickit 3