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 support@ccsinfo.com

Help: CCS C Compiler with MPLAB ICD2

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



Joined: 13 May 2010
Posts: 42
Location: Ottawa, Canada

View user's profile Send private message

Help: CCS C Compiler with MPLAB ICD2
PostPosted: Sat Jun 19, 2010 10:34 pm     Reply with quote

How do I get my CCS C Compiler to work with my MPLAB ICD2 LE?
(I don't want to use the MPLAB IDE with a CCS C plugin, because this is not available in the college's lab.)

I have a PIC16F877A development board (sold by both Microchip and CCS), and a CCS C compiler (PCM/PCH V3.170b) with a V3.36 IDE. This is a limited edition evaluation version, but restrictions should not impact the use of an ICD.

Selecting Tools>ICD, displays a "Start Connection" window with choices for serial port and speed. But the ICD is on a USB connection. So picking either COM1 or COM3 and any one of several baud rates, causes the error message: "Could not connect: Cannot detect ICD type".

Further info:
The MPLAB IDE V8.50 and ASM assembler work fine with the ICD2 and the same development board. I can assemble code, program the PIC and then step through it with the debugger.

When I first plugged in the ICD, I noted that a driver was automatically installed. Using the Device manager it is listed under "MicrochipTools" as "Microchip MPLAB ICD 2 Firmware Client", of vintage 2002. The driver was still there from earlier use of MPLAB for another PIC.

Regards,
Lou.


Last edited by louarnold on Sat Jun 19, 2010 10:45 pm; edited 1 time in total
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jun 19, 2010 10:42 pm     Reply with quote

I assume you are trying to get the ICD2 to work within the CCS IDE.
CCS has a "plug-in" program that must be installed for this. It's called:
Quote:
MPLAB® ICD2, MPLAB® ICD3 & MPLAB® REAL ICE™ Interface

Here's the download page:
http://www.ccsinfo.com/downloads.php#mplabPlugIn
louarnold



Joined: 13 May 2010
Posts: 42
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Sat Jun 19, 2010 10:50 pm     Reply with quote

PCM programmer wrote:
I assume you are trying to get the ICD2 to work within the CCS IDE.
CCS has a "plug-in" program that must be installed for this. It's called:
Quote:
MPLAB® ICD2, MPLAB® ICD3 & MPLAB® REAL ICE™ Interface

Here's the download page:
http://www.ccsinfo.com/downloads.php#mplabPlugIn

Didn't work. Still the same symptoms. At the URL, the text says the plug-in is only for CCS IDE V4.065 or greater, but I hoped for a miracle. Is it still possible?

I also found this:
Selected Options>Debugger/Programmer; gives Debugger/Programmer Options windows with:
Device Programmer
Name Command
WARP-13 C:\PROGRA~1\WARP13\WARP13.EXE %H /%D
ICD "c:\program files\picc\ICD.EXE" \T"%H"

Debugger
Name Command
MPLAB c:\program files\mplab ide\dlls\mplab.exe %P
where:
%H is the hex file name
%D is the base part number
%P is the project file name
%C is the debug file name
louarnold



Joined: 13 May 2010
Posts: 42
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Sat Jun 19, 2010 11:42 pm     Reply with quote

I started another thread "ICD unit does not have CCS firmware loaded".

So below is obsolete.
In fact, this works part way, even with a V3.36 IDE:

I selected menu Debug>Enable. This brings up a new pane with many tabs. On the Debug Configure tab, on the drop-down list, I selected MPLAB ICD2. The result was the error message "ICD unit does not have CCS firmware loaded". It says the ICD doesn't have its operating system. How/where would I get one?
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