View previous topic :: View next topic |
Author |
Message |
eyewonder300
Joined: 09 Jun 2004 Posts: 52
|
Microchip ICD-2 with PCW? |
Posted: Mon Dec 31, 2007 4:37 pm |
|
|
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
|
|
|
eyewonder300
Joined: 09 Jun 2004 Posts: 52
|
Still no go |
Posted: Mon Dec 31, 2007 5:13 pm |
|
|
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
|
|
Posted: Mon Dec 31, 2007 5:18 pm |
|
|
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
|
That problem fixed, more to go ... |
Posted: Mon Dec 31, 2007 6:05 pm |
|
|
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
|
|
Posted: Mon Dec 31, 2007 7:16 pm |
|
|
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 |
|
|
eyewonder300
Joined: 09 Jun 2004 Posts: 52
|
Still lost |
Posted: Mon Dec 31, 2007 7:28 pm |
|
|
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
|
Clarification |
Posted: Mon Dec 31, 2007 7:56 pm |
|
|
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
|
|
Posted: Wed Jan 02, 2008 11:41 am |
|
|
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! |
|
|
|