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

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

Postby stephan » Fri Mar 11, 2011 1:03 pm

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: 1060
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 275 times
Contact:

Re: pickit3 parameters

Postby DavidA » Fri Mar 11, 2011 1:25 pm

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

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8546
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2457 times
Been thanked: 3529 times
Contact:

Re: pickit3 parameters

Postby medelec35 » Fri Mar 11, 2011 2:12 pm

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 172 times
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

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

Postby stephan » Fri Mar 11, 2011 2:39 pm

Hello,

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

Stephan

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8546
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2457 times
Been thanked: 3529 times
Contact:

Re: pickit3 parameters

Postby medelec35 » Fri Mar 11, 2011 5:05 pm

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

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

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

Postby tmd_63 » Fri Aug 12, 2011 1:19 pm

viewtopic.php?f=29&t=6678#p16524
This link also shows the command line parameters for pickit 3
These users thanked the author tmd_63 for the post:
DavidA (Mon Aug 15, 2011 9:39 am)
Rating: 5.26%