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

Microchip ICD-2 with PCW?

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



Joined: 09 Jun 2004
Posts: 52

View user's profile Send private message

Microchip ICD-2 with PCW?
PostPosted: Mon Dec 31, 2007 4:37 pm     Reply with quote

I just upgraded from the command line compilers to the PCW IDE program. I had been using MPLAB with an ICD-2, and had assumed (usually a bad idea) that I could use the ICD-2 with it. Can't seem to find a way to configure it to use the ICD-2.

Is there something that I am overlooking to set up PCW? Or did I just make an 'OOPS'?

Steve
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 31, 2007 4:42 pm     Reply with quote

Yes, look near the end of this thread in the Programmers forum.
http://www.ccsinfo.com/forum/viewtopic.php?t=32160
eyewonder300



Joined: 09 Jun 2004
Posts: 52

View user's profile Send private message

Still no go
PostPosted: Mon Dec 31, 2007 5:13 pm     Reply with quote

I got on CCS web site, downloaded the 'mctools' file, tried to run it but got an error 'app failed to start ... MPMaptrace.dll not found'.

I tried that a couple of times with the same result.

Checked my version of PCW: 4.064 The MPLab version is 7.20. Operating system is WIN XP Home.

I also downloaded the 'GDIPlus' file from CCS.

Any other ideas?

Steve
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 31, 2007 5:18 pm     Reply with quote

Quote:
The MPLab version is 7.20.

Read my post in the thread linked above, regarding the required
version of MPLAB.

Read Darren's post in this thread regarding the required vs. of MPLAB.
http://www.ccsinfo.com/forum/viewtopic.php?t=32882
eyewonder300



Joined: 09 Jun 2004
Posts: 52

View user's profile Send private message

That problem fixed, more to go ...
PostPosted: Mon Dec 31, 2007 6:05 pm     Reply with quote

OK, I jumped over the part where it said MPLab 8.0 was required. I downloaded v8.0, installed it, and then got MCTools to load correctly.

But I still do not see 'ICD-2' anywhere, as a selection. BTW, is there a tutorial on how to use the IDE? That might keep me from asking such basic questions.

If I click on the main 'TOOLS' tab, I see ICD & MPLab icons on the right. Clicking the ICD tries to connect to COM 3-5, which are not there. No mention of ICD-2. Clicking on the MPLab icon starts up & sends me to MPLab. Is that how we get to ICD-2 to program?

All very confusing, but thanks for the help.

Steve
octal



Joined: 15 Jan 2007
Posts: 39

View user's profile Send private message Visit poster's website

PostPosted: Mon Dec 31, 2007 7:16 pm     Reply with quote

See my first post about CCS and ICD2 support !

http://www.ccsinfo.com/forum/viewtopic.php?t=32882

I got it to work fine. If you installed the plugin (addin) for ICD2 support correctly, just enable the ICD as you would do with CCS ICD. If it tries to connect to COMxxx just say ok (and forgot the com error), go to the debug window, open the drop down combo-box and choose ICD2 instead of the CCS ICD. Thats all.


Regards
octal
_________________
http://www.pocketmt.com the GLCD Font Creator home Smile
eyewonder300



Joined: 09 Jun 2004
Posts: 52

View user's profile Send private message

Still lost
PostPosted: Mon Dec 31, 2007 7:28 pm     Reply with quote

Octal,

I have never seen the screen that you attached to the post. Please, spoon-feed me - how do I get there? I have (I think) gone through every tab/option on the IDE & have not seen anything like what you show.

Steve
eyewonder300



Joined: 09 Jun 2004
Posts: 52

View user's profile Send private message

Clarification
PostPosted: Mon Dec 31, 2007 7:56 pm     Reply with quote

I have been referring to debugging, but the basic chip I am working on does not have that capability. I was wanting to use the ICD2 to program it. Other projects will probably use chips with that ability.

Does that make any difference? After a good compile, clicking the 'program chip' icon still only shows the CCS ICD, not the ICD2. And I again downloaded & ran the plugin 'MCTools', with no errors.

Steve
rlgreen



Joined: 07 Dec 2007
Posts: 8

View user's profile Send private message

PostPosted: Wed Jan 02, 2008 11:41 am     Reply with quote

The debug your thinking about is not a chip module. It's built in to the ICD/IDE program. The debug function works on any PIC supported by CCS.

I have not been able to use the "Program" tab. I only see ICD and "greyed" out MACHX. No other ICD choices are available. Also, I can only program my target in debug mode with the ICD2. The MPLAB ICD2 is selected in the debug screen shown above.

Should the MPLAB ICD2 be displayed in the program tab also?

PS. I can program just fine with the ICD-U40. I only wanted to get the MPLAB ICD2 to work for backup!
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