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

CCS compiler and pickit3

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
CNS



Joined: 14 Nov 2011
Posts: 3

View user's profile Send private message

CCS compiler and pickit3
PostPosted: Mon Nov 14, 2011 10:02 am     Reply with quote

I am trying to determine best route for development work.
I like the demo CCS compiler's listing in which is shows the tight asm with the C code to the right. I however would like to use my existing pickit3 programmer which doesn't seem to be support by CCS.

So with that I have two questions.

1)If I compile code in CCS IDE is there an easy way to move the output over to MPLAB and then program with my pickit3?

2)If I decide to use the CCS command line compiler, I assume there is a way to run it from my existing MPLAB and burn with pickit3? If I however go this route, do I still get to see a nice listing that shows asm and C code together?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Nov 14, 2011 1:13 pm     Reply with quote

Quote:

2)If I decide to use the CCS command line compiler, I assume there is a
way to run it from my existing MPLAB and burn with pickit3? If I however
go this route, do I still get to see a nice listing that shows asm and C code
together?


The CCS command line compilers can be integrated with MPLAB.
Follow the instructions on this page:
http://www.ccsinfo.com/faq.php?page=ccs_mplab
The Pickit 3 programmer is also integrated with MPLAB (and CCS).
They all work together with no problems and no extra effort.

In the Project / Build Options menu, you can select from three different
.LST file formats. The CCS compiler generates the .LST file, not MPLAB.
You will get your "inter-mixed" format.
CNS



Joined: 14 Nov 2011
Posts: 3

View user's profile Send private message

CCS Compiler comparisons
PostPosted: Mon Nov 14, 2011 2:05 pm     Reply with quote

Very good explanation.
So if I proceed with command line packages PCD, PCH, PCM & PCB (I need all families available) that would be $650.

It seems like there are some features that I get when purchasing the IDE package PCWHD (all families here too) that is not supplied by the command line only versions. Can't remember what I read, maybe possibly RTOS features ?

At any rate, would the command line also be available in the PCWHD package as well. This would be the best way to go if that was the case.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Nov 14, 2011 5:18 pm     Reply with quote

You don't have to buy command line compilers for all PIC families.
Just buy the one or two that you need. I only buy PCM and PCH,
which are for 16F and 18F.

MPLAB comes with the PCB compiler vs. 4.073 for free. It's the full
compiler. It might not be the very latest version, but the PICs that are
used with the PCB compiler are simple 8-pin PICs that have very few
features. Vs. 4.073 is OK for them.

But yes, the IDE gives you the RTOS and a few other features that
you don't get with the command line versions.
CNS



Joined: 14 Nov 2011
Posts: 3

View user's profile Send private message

CCS Compiler comparisons
PostPosted: Tue Nov 15, 2011 6:10 am     Reply with quote

Yes, I realized that I didn't have to buy all but I just wanted to have them all available for future projects. I see that the PCB version appears in the wizard for 12F but CCSC.exe is missing, I guess mplab doesn't install that and I have to download it?

So on the $600 IDE version can I confirm that if I purchase that I also get the command line capability aswell?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Nov 15, 2011 2:15 pm     Reply with quote

When you install MPLAB, you have to select the tickbox for Third Party
applications so it will install the CCS PCB compiler. Then it puts the
compiler in the "third party" directory, and the Ccsc.exe file is right there:
Quote:

c:\program files\microchip\third party\picc\Ccsc.exe


I don't have the IDE compiler, but I believe you have option to use it with
MPLAB. You can email CCS support to confirm this.
gmua



Joined: 07 Feb 2011
Posts: 11

View user's profile Send private message

Re: CCS compiler and pickit3
PostPosted: Tue Jan 24, 2012 1:10 pm     Reply with quote

CNS wrote:
I however would like to use my existing pickit3 programmer which doesn't seem to be support by CCS.


CN, you could also check out this document "PICkitâ„¢ 2 Debug Express Getting Started CCS C Compiler" I imagine it works the same with PICkit 3.

Best Regards.
jgschmidt



Joined: 03 Dec 2008
Posts: 184
Location: Gresham, OR USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Mar 14, 2012 9:29 am     Reply with quote

You can use the PicKit3 with the standalone program. You select the hex file, set the part to program and off you go. I've been using the PicKit 2 and 3 exclusively with the CCS compilers (without MPLAB) because the programmers are much cheaper and smaller than CCS's, and they provide power to the board.

I also use the PicKit2 for programming memory and CAN chips.

You can find the standalone program here:

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en538340

Jurgen
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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