View previous topic :: View next topic |
Author |
Message |
johnl
Joined: 30 Sep 2003 Posts: 120
|
<SOLVED> Windows 7+MPLAB 8.88 +CCS Plugin =No Compiler |
Posted: Thu Jan 17, 2013 4:20 pm |
|
|
On a new Win7 64 machine, I get the error, "The CCS C Compiler is not installed on this computer"
The location of the tool suite is set as C:\Program Files (x86)\PICC\Ccsc.exe and that's exactly where the file is.
PCM is v 4.121 and it runs from the command line.
Last edited by johnl on Wed Jan 23, 2013 8:46 pm; edited 3 times in total |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Fri Jan 18, 2013 1:36 am |
|
|
There's a utility that CCS provides to configure MPLAB so that it knows for sure there's CCS's compiler available.
http://www.ccsinfo.com/downloads/setup_mplab_plugin.exe
Did you run that in additional to the compiler install and MPLAB install?
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
johnl
Joined: 30 Sep 2003 Posts: 120
|
|
Posted: Fri Jan 18, 2013 4:45 pm |
|
|
Yes, but I'll try uninstalling the plugin and reinstalling. Thanks. |
|
|
johnl
Joined: 30 Sep 2003 Posts: 120
|
|
Posted: Fri Jan 18, 2013 5:02 pm |
|
|
Reinstalling the plugin didn't help.
I'll start all over again.
Can someone tell me the proper order to install things in?
Is it Mplab, then CCS, then Plugin?
Also in the control panel's uninstall window, CCS is not listed. Should it be? |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Fri Jan 18, 2013 5:08 pm |
|
|
It's usually MPLAB, CCS (and then if needed, the plugin program)
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
johnl
Joined: 30 Sep 2003 Posts: 120
|
|
Posted: Fri Jan 18, 2013 5:28 pm |
|
|
One link concerns the debugger and the other concerns a failed build. I am not close to either of these since Mplab is not recognizing that the compiler even exists.
Now the big question is do I install MPLAB X or MPLAB 8.89?
Also why is there no uninstall for CCS in the control panel?
Thanks guys. |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1354
|
|
Posted: Sat Jan 19, 2013 7:11 am |
|
|
If it is the most recent version of MPLABX, microchip changed how you install the plugin. You have to open up MPLABX, to to Tools->Plugins and find the CCS plugin there and install it through their interface. Then MPLABX should be able to see CCS again (Though you still may have to add the Toolchain afterwards) |
|
|
unitrant
Joined: 18 Jul 2005 Posts: 9 Location: Hertfordshire. UK
|
|
Posted: Sat Jan 19, 2013 10:59 am |
|
|
In MPLab, on the Project menu you need to ensure"Select Language Tool Locations..." is filled in correctly.
You probably know this already but I frequently forget to check when I install a new version of MPLab (I always do a full uninstall first). Ensure the location of the CCSC.exe is set correctly.
I've had no difficulty with either of two Win7 64bit machines.
J. |
|
|
johnl
Joined: 30 Sep 2003 Posts: 120
|
|
Posted: Sat Jan 19, 2013 12:55 pm |
|
|
jeremiah wrote: | If it is the most recent version of MPLABX, microchip changed how you install the plugin. You have to open up MPLABX, to to Tools->Plugins and find the CCS plugin there and install it through their interface. Then MPLABX should be able to see CCS again (Though you still may have to add the Toolchain afterwards) |
Installed MPLABX 1.60, installed CCS plugin for MPLABX. The Tools dropbox shows nothing. |
|
|
johnl
Joined: 30 Sep 2003 Posts: 120
|
|
Posted: Sat Jan 19, 2013 1:19 pm |
|
|
Just discovered that I might have a bigger problem with MPLABX. It appears that it does not support the ICD2 hardware. This is a deal breaker for me. Back to MPLAB 8.x... |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1354
|
|
Posted: Sat Jan 19, 2013 1:41 pm |
|
|
Yeah, the ICD2 is really old now, so they stopped supporting it. Their intent is to drop MPLAB in favor of MPLABX in the future, but that is ways off. Still, you might keep that in mind if you plan to use the ICD2 forever.
On a side note, sounds like your installation of MPLABX is fouled up. If your tools menu in MPLABX is empty, then it isn't correct, mine always has Plugins and Options in the tools menu among other things.
When you installed the plugin, did you do it from their interface or did you use the one from the CCS website (EDIT: Well if the tools menu is empty as you say, that means you couldn't have used their interface...so I am assuming you installed the one from the CCS website)? |
|
|
johnl
Joined: 30 Sep 2003 Posts: 120
|
|
Posted: Sat Jan 19, 2013 2:32 pm |
|
|
I didn't see anywhere on the simple MPLABX interface from where I could install the plugin, so I must have done it the wrong way by running the exe from Windows Explorer. Anyway it's a moot point now since I need the ICD2 to work. If there are compelling reasons for me to go to 3 I will, but certainly not just to use MPLX.
I reinstalled MPL 8.88, reinstalled the plugin, reinstalled the compiler and set the tool locations. When attempting to build, I get the PIC C COMPILER window that says, "External exception C000001D.'
When I close MPL, there's still the MPL process running and I am forced to kill it with the task manager before starting MPL again.
At least I'm getting farther than when I first started this thread. The IDE seems to know there's a compiler installed on the machine now. |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1354
|
|
Posted: Sat Jan 19, 2013 8:09 pm |
|
|
If you ever end up messing with MPLABX again, check this out for how to install CCS. PCM Programmer pointed it out to someone else in another thread: http://www.ccsinfo.com/pdfs/mplabx_ccs_tutorial.pdf
I realize that doesn't help you with the ICD2, but if you want to mess around MPLABX as an IDE and use other means to program the chip (mplab or other programs), then hopefully that will help you get started. |
|
|
johnl
Joined: 30 Sep 2003 Posts: 120
|
|
Posted: Wed Jan 23, 2013 8:44 pm |
|
|
Instead of running the setup program for the compiler on the new computer, I copied the PICC folder from the old machine to the new one and after installing the plug-in, everything works. |
|
|
|