View previous topic :: View next topic |
Author |
Message |
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
MPLAB X IDE compatible with CCS compilers ? |
Posted: Thu Jun 25, 2015 5:32 am |
|
|
Hi,
I have finally decided to upgraded to MPLAB X IDE version 3.05.
but I would like to know if the IDE is compatible with the CCS compilers, versions : PCM 3.249, PCB 4.141, PCH 4.073 ??
after installation of the sucessful installation of the MPLAB X IDE (version 3.05) and the CCS tools, while compiling a new project I get an error
Quote: | make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/MPLABXProjects/Test.X'
make -f nbproject/Makefile-default.mk dist/default/production/Test.X.production.hex
make[2]: Entering directory 'C:/MPLABXProjects/Test.X'
gnumkdir -p build/default/production
gnumkdir -p dist/default/production
"C:\Program Files\PICC\CCSCON.exe" out="build/default/production" test.c +FH +DF +CC +Y=9 +EA +DF +LN +T +A +M +J +EA +Z -P #__18F2620=1
nbproject/Makefile-default.mk:99: recipe for target 'build/default/production/test.o' failed
make[2]: Leaving directory 'C:/MPLABXProjects/Test.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/MPLABXProjects/Test.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
mv: cannot stat `build/default/production/test.cof': No such file or directory
make[2]: *** [build/default/production/test.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)
|
the test program is ...
please help...
thanks
a |
|
|
davidpk
Joined: 29 Apr 2004 Posts: 13 Location: Opelika, AL
|
|
Posted: Thu Jun 25, 2015 6:42 am |
|
|
Wow, this really proves to me that X was such a good idea...
I'm struggling myself and don't have any real advice, I just wanted you to know you're not alone.
David |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1345
|
|
Posted: Thu Jun 25, 2015 8:23 am |
|
|
There is an option in MPLABX to install a CCS plugin (not the same one from the CCS website...a different one). Did you go through that process in MPLABX? Older versions of MPLABX didn't require this step but newer versions do.
I don't know if it works with older versions of CCS, but I have had very little trouble out of the newer versions of CCS when paired with MPLABX.
Not my favorite IDE though. I actually prefer the CCS one despite its bugs. |
|
|
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
|
Posted: Thu Jun 25, 2015 11:10 am |
|
|
Quote: | There is an option in MPLABX to install a CCS plugin (not the same one from the CCS website...a different one). Did you go through that process in MPLABX? Older versions of MPLABX didn't require this step but newer versions do. |
The small program (redirect.exe)?? that had to be renamed and used ??
even that did not work, I get the same error...
thanks anyway...I think I will use the MPLABX for xc compilers..
thanks
a |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1345
|
|
Posted: Thu Jun 25, 2015 12:38 pm |
|
|
arunb wrote: | Quote: | There is an option in MPLABX to install a CCS plugin (not the same one from the CCS website...a different one). Did you go through that process in MPLABX? Older versions of MPLABX didn't require this step but newer versions do. |
The small program (redirect.exe)?? that had to be renamed and used ??
even that did not work, I get the same error...
|
No, it is an option within MPLABX, not a separate program. It's buried in the tools setup dialogs. I'll see if I can find a link. I know another thread on this forum already has it, so try searching for that.
EDIT: A simple forum search reveals:
http://www.ccsinfo.com/pdfs/mplabx_ccs_tutorial.pdf
Have you followed that process yet?
EDIT: also note that if using the latest MPLABX version, then you may have to update the compiler to 5.018 or higher as they made some (unknown) change to be more compatible with a change Microchip made in the IDE. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19496
|
|
Posted: Thu Jun 25, 2015 1:52 pm |
|
|
Have to say that the only reason to use MPLAB X, rather than the older MPLAB 8, is for now processors not supported by the older IDE. While a bit 'clunky at times the older MPLAB, works well, the simulator is one of the best, and it tends to keep running (more than can be said for any release I have yet tried of MPLAB X).
Given that the compiler versions listed don't support many (if any) processors not supported by 8.92, I'd just install this..... |
|
|
daveh
Joined: 30 Aug 2013 Posts: 19
|
|
Posted: Fri Aug 21, 2015 11:25 am |
|
|
The other day I tried to modify some existing code on a PIC16F1518 using MPLAB 8.83 and the ICD3 and I kept getting an ICD3Err0035 - Failed to get Device ID. Eventually I tried switching to MPLAB X and was able to connect with no problem. Since it was a small project I just switched it over to X
Today I tried doing a similar thing with a PIC18F66J50 and had the same device ID error. I tried upgrading to 8.92 but still have the problem.
I'm switching the drivers back and forth for the ICD3 using the MPLAB driver switcher.
Since this is a larger project I don't really want to switch over to X if I don't have to. I've been using the same setup before and since I can get the device ID's fine in X it doesn't seem to be a hardware issue.
Anyone run into this problem, have a solution? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Aug 21, 2015 1:42 pm |
|
|
Check out this post about ICD3 firmware differences between MPLAB 8.92
and MPLAB-X. They suggest that to guarantee you have MPLAB 8.92
firmware in the ICD3 when running with vs. 8.92, you should do a manual
download of it:
http://www.microchip.com/forums/m827926.aspx
I can recall having this problem too, with a Pickit 3. When I switched
back to MPLAB 8.92, the Pickit appeared dead or damaged. Then I
thought about the firmware and downloaded it and was relieved to find
that the Pickit3 worked again. |
|
|
daveh
Joined: 30 Aug 2013 Posts: 19
|
|
Posted: Fri Aug 21, 2015 2:11 pm |
|
|
To manually download the firmware (if this helps anyone else):
In MPLAB IDE - Click Programmer -> Settings -> Configuration -> Manual Download
I used:
C:\Program Files (x86)\Microchip\MPLAB IDE\ICD3\ICD3FW_012890.jam
PCM programmer - that was it, thanks so much for your help I really appreciate your input on these forums, there have been many times I've read your responses which helped me out or were otherwise informative! |
|
|
|