Use the suggestion rmteo gave.
Whenever the hex is changed, PICKIT2 software will see it, reload it, and then program the PIC. You have to do nothing.
Use the suggestion rmteo gave.
Whenever the hex is changed, PICKIT2 software will see it, reload it, and then program the PIC. You have to do nothing.
Dave
Always wear safety glasses while programming.
What you need is the "PICKit2 Command Line Interface".
http://ww1.microchip.com/downloads/e...K2CMDv1-12.zip
1 click from Microcode Studio (compile and program).
DT
I've never tried it that way.
Perhaps it works fine ...
But I know the Command Line Interface gives one click from MicroCode Studio to PIC.
It's what I use for the PICkit2. I also have an EPIC, and a meLabs U2.
It's been awhile since the installation, I don't remember if it was automatic or if I had to figure it out.
But these are the parameters for the PICkit2 programmer.1Hr left this yearCode:-pPIC$target-device$ -f$hex-filename$ -M -R -T -h2
Well, In my time zone.
Happy new year!
Kiss someone next to you.![]()
DT
When I use windows I just use the PICKIT2 soft ware.
On Linux I use this
http://www.cannasoftware.com/content/view/32/1
Both work well.
I am in the shop by myself, a real party animal1Hr left this year
Well, In my time zone.
Happy new year!
Kiss someone next to you.![]()
HAPPY NEW YEAR!!!
Dave
Always wear safety glasses while programming.
Darrel...
Did this give you the one click flash function from the IDE?
-pPIC$target-device$ -f$hex-filename$ -M -R -T -h2
I tried this and several variants with no luck.
The programmer application starts... no problem... but does not do it's thing without clicking the auto import button.
Then kiss your DrillPress.Originally Posted by mackrackit
I would if I had one ...
But, right now, the mop looks pretty good too.
tcbcats: Thru my blurry eyes tomorrow, I will attempt to verify the process.
It works, It's sweet.
Hflppy Neflear!
DT
Maybe I did not ask my question in the correct way...
The IDE has a button that will compile and program(flash) your PIC with one click (if you have the correct script installed). It starts the programmer application if it is not running and then the programmer programs the PIC... you do not have to touch anything in the programmer GUI... it basically runs in parallel with the microcode IDE.... I mean ONE click to do everything. It is very fast and it is a part of the Microcode studio IDE to programmer interface.
The MEL programmers all can read a script and be automated.... I do not know if the PICkit2 has this feature where it can be totally remote controlled from the IDE.
Perhaps I should ask this on the Microchip forum??
**************
Bookmarks