CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PicKit2 integration in CCS

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
qiqe



Joined: 14 Sep 2006
Posts: 2
Location: Spain

View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger

PicKit2 integration in CCS
PostPosted: Thu Sep 10, 2009 7:47 pm     Reply with quote

Hello somebody, I have a pickit2 integrated in CCS with PK2CMD??
I try to make the connection but it doesn't work. I followed all steps but it
doesn't run properly. I'm based in this page:
http://blog.drskippy.com/2008/01/02/pickit2-command-line-setup-in-ccs-compiler-ide/

Somebody give me a hand??

Many thanks
vasiliok



Joined: 17 May 2011
Posts: 19
Location: Kaunas, Lithuania

View user's profile Send private message

PostPosted: Tue May 17, 2011 2:21 am     Reply with quote

Hi!

I've successfully integrated PK2CMD to CCS.

Steps:

1) Put PK2CMD folder somewher. I put it to "C:\Program Files\". So the full path to exe file is: ""C:\Program Files\PK2CMD\pk2cmd.exe"

2) Go to CCS 'Options-->Tools' and put a line there:
"C:\Program Files\PK2CMD\pk2cmd.exe" "-P%D" "-F%H" "-M" "-J" "-R" "-YP" "-H2"

Let's describe the keys:
-P microcontroller type you work with
-F path to hex file
-M to programm flash memory
-J to display operation percent (we all like to see it Wink )
-R to release RESET pin after programming
-Y to verify after programing
-H2 to delay CMD window for 2 secs after programming

Thet's it!
Working fine!

Don't forget to choose 'Usage' option in 'Options-->Tools'
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group