pickit3 parameters

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
stephan
Flowcode v5 User
Posts: 12
Joined: Wed Nov 17, 2010 8:04 am
Has thanked: 1 time
Been thanked: 2 times
Contact:

pickit3 parameters

Post 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.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: pickit3 parameters

Post 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 :)

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: pickit3 parameters

Post 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.
Attachments
Readme for PK3CMD.txt
(12.59 KiB) Downloaded 328 times
Martin

stephan
Flowcode v5 User
Posts: 12
Joined: Wed Nov 17, 2010 8:04 am
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: pickit3 parameters

Post by stephan »

Hello,

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

Stephan

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: pickit3 parameters

Post 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.
Martin

User avatar
tmd_63
Flowcode V4 User
Posts: 21
Joined: Sat Dec 26, 2009 9:47 pm
Location: Swindon, England
Has thanked: 9 times
Been thanked: 1 time
Contact:

Re: pickit3 parameters

Post by tmd_63 »

http://www.matrixmultimedia.com/mmforum ... 678#p16524
This link also shows the command line parameters for pickit 3

Post Reply