View previous topic :: View next topic |
Author |
Message |
falex
Joined: 18 Jun 2009 Posts: 2
|
Programming from PCWHD 4 using PICKIT2 |
Posted: Thu Jun 18, 2009 3:01 am |
|
|
Hello,
I am trying to program my 18F4550 from PCWHD 4 using PICKIT2, but it doesn't work. I can program it from MPLAB using PICKIT2, but I want to do it from PCWHD. I have tried to add an entry in User Defined Tools, like this: Compile > Program Menu : "D:\Electronica\Compilatoare\PK2CMDv1-20\pk2cmd.exe" /P%D /F%H /M , the entry apears on Compile tab > Program chip > PICKIT2 but it is grayed out.
How can I use my PICKIT2 to program my uC from PCWHD.
Thank you. |
|
|
bungee-
Joined: 27 Jun 2007 Posts: 206
|
|
Posted: Thu Jun 18, 2009 3:19 am |
|
|
I'm using PiCKIT2 and I use program that comes with it to program the PIC-s.
Program sicks with the supplied HEX name so when you press program button it takes new HEX and programs it to PIC. |
|
|
falex
Joined: 18 Jun 2009 Posts: 2
|
|
Posted: Thu Jun 18, 2009 8:06 am |
|
|
bungee- wrote: | I'm using PiCKIT2 and I use program that comes with it to program the PIC-s.
Program sicks with the supplied HEX name so when you press program button it takes new HEX and programs it to PIC. |
Thank you for your answer. Can you please be more specific about what program are you using and how you integrated it with PCWHD. My PICKIT2 is home made, so I don't know you program you refer to.
Thank you. |
|
|
bungee-
Joined: 27 Jun 2007 Posts: 206
|
|
Posted: Thu Jun 18, 2009 5:24 pm |
|
|
Sorry I forgot to write that it is not integrated with PCWHD, but that is not a problem, because you do not need to open the hex everytime, once if enough.
I use microchip's application: PICkit 2 V2.61 Install
On the same page, that I found this application is also "PK2CMD V1.20 PICkit 2 Command Line Interface" maybe this could be integrated into pcwhd ;)
Link to Microchip product page: PicKit2 |
|
|
|