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

How to use Pickit3 with CCS C?

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



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

How to use Pickit3 with CCS C?
PostPosted: Fri Mar 29, 2019 2:55 am     Reply with quote

Hello,
How do I debug with CCS C using pickit3 ?
How can I program the PIC microprocessors using CCSLOAD ?
I downloaded the file from the web site: http://www.ccsinfo.com/downloads.php which required the MPLAB® ICD2, MPLAB® ICD3, MPLAB® ICD4, MPLAB® PICkit3, MPLAB® PICkit4 & MPLAB® REAL ICE ™ Interface.
_________________
Es
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 8:42 am     Reply with quote

Do you have MPLAB IDE or MPLAB X installed?
_________________
Electric Blue
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 29, 2019 8:51 am     Reply with quote

MPLAB IDE v8.92 is installed.
MPLABX v5.10 is installed.
But I want to debug with CCS C compiler. Is this possible?
And I want to load my hex code from CCS LOAD to my processor. Is this possible? I want to make them using PICKIT3. Is CCS C 5.083 suitable for these jobs?
_________________
Es
temtronic



Joined: 01 Jul 2010
Posts: 9241
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 8:55 am     Reply with quote

I use MPLAB v8.92 and a PICKit3. It's easy to program the PIC .
Be SURE to select 'release' in the 'build configuration' THEN compile(F10), THEN download to PIC.
If you download a 'debug' version of your program it will not work...

I've never used 'debug' in 25+ years with PICs, prefer to run code in the 'Real World'.
Jay
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 29, 2019 8:59 am     Reply with quote

I am using CCS C licensed product. My ICD-U80 is broken. I ordered the new one. I'm gonna get my work done with pickit3 until he gets here. But I want to debug with pickit3 in CCS C. How can I do that. Write if you know. You don't have to say anything else.
_________________
Es
Ttelmah



Joined: 11 Mar 2010
Posts: 19535

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 11:55 am     Reply with quote

OK. This is one of those 'slightly complicated' things.
The CCS IDE can't directly talk to the MicroChip debug tools. What
it can do is use the driver that is inside MPLAB, and then talk using this.
You need to ensure the debugger is connected to one of the MPLAB
products using Microchip's driver switcher. I'd suggest that probably
MPLAB 8.92 is likely to be more reliable than MPLAB-X. Then exit this
and launch CCS. You need the interface module from the CCS download
page to add this support.
Then if the hardware is attached, and you launch CCS, and go to the
option to select the debug tool, it should offer you the Microchip
debugger.

This page gives the details:

<http://www.ccsinfo.com/faq.php?page=icd2_real_ice>

It does work, but it is fussy to get working. I've managed to use
two Microchip debuggers in the CCS IDE like this.
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 29, 2019 1:45 pm     Reply with quote

I did it according to the page but it didn't. He's giving that error.
The gives error: Error occurred while programming : program failed.
How can I do ?
_________________
Es
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 2:26 pm     Reply with quote

Getting PICkit 3 working with CCS IDE:
http://www.ccsinfo.com/forum/viewtopic.php?t=53831

In CCS IDE can't debug, can't find MPLAB X:
http://www.ccsinfo.com/forum/viewtopic.php?t=57648
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 29, 2019 3:17 pm     Reply with quote

As far as I understand, CCS C cannot debug with pickit. I need to use mplabx for this. Then why is this option in CCS C? So, when I install or debug the program, if I'm using mplab ie and mplab x, then this option should remove CCS C. or, should share a video about how it is used.
_________________
Es
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