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.
pickit3 parameters
Moderator: Benj
- 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
-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
* 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
-
- 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
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.
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
-
- 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
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.
Glad you have found what your looking for.
Thanks for letting us know.
Martin
- 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
http://www.matrixmultimedia.com/mmforum ... 678#p16524
This link also shows the command line parameters for pickit 3
This link also shows the command line parameters for pickit 3