View previous topic :: View next topic |
Author |
Message |
DaveMorris
Joined: 13 Oct 2003 Posts: 6 Location: Stourbridge, England
|
MPLAB X CCS compiler version. |
Posted: Sun May 15, 2022 4:04 am |
|
|
Hi
I have just installed a compiler update (from V5.107 to V5.109), it appears to work ok and the listing file shows the new version of the compiler in the header.
However, when a run up the Microchip MPLAB X IDE and show the project properties, it still shows the compiler version as V5.107 for the CCS C Compiler.
Can anyone help? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19504
|
|
Posted: Sun May 15, 2022 8:01 am |
|
|
When you installed the compiler, did you tell it to install the MPLAB-X
plug in with it?.
This needs to be installed separately with each compiler version or the
MPLAB IDE will not find the compilers automatically.
You can manually add the compiler inside the IDE. |
|
|
DaveMorris
Joined: 13 Oct 2003 Posts: 6 Location: Stourbridge, England
|
|
Posted: Mon May 16, 2022 9:37 am |
|
|
Thanks for the response
Answer question 1 - Installation I did tick the box to install the Plug-in (I also ticked the box to remove the previous version).
Answer question 2 - it does find the compiler but description is the previous version. When you do run the compiler the CCS box that appears does say V5.109.
How do you add the compiler inside the IDE? If CCS have a link that will do.
Perhaps I should uninstall the plug-in and re-install it to change this text state the latest version?.
Dave |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19504
|
|
Posted: Mon May 16, 2022 9:50 am |
|
|
Are you sure you ticked the right plug-in.
There is a tick box for the MPLAB plug in, and a separate one for the
MPLAB-X plug in.
It sounds as if you have not installed the newer MPLAB-X plug in.
You can download this separately from the CCS site. |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Mon May 16, 2022 8:04 pm |
|
|
I do not use MPLAB X, never found it friendly, instead I use the old MPLAB IDE v8.92. In this version you can define the
compiler access path, in "Project" label, there are the option "Set Language Tool Location"
You get the MPLAB-X User Guide in this link:
https://ww1.microchip.com/downloads/en/DeviceDoc/50002027E.pdf
Section 4.6 Set Up or Change Language Tool Option
best wishes _________________ Humber |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9225 Location: Greensville,Ontario
|
|
Posted: Tue May 17, 2022 5:01 am |
|
|
I'm with Hum, have used MPLAB since day one (PCM 2.534 ish...) NEVER had a problem, been rock stable...dang for over 20 years.....
One day I should see if Win10 likes everything...,maybe.... |
|
|
kda406
Joined: 17 Sep 2003 Posts: 97 Location: Atlanta, GA, USA
|
|
Posted: Tue May 17, 2022 12:00 pm |
|
|
DaveMorris wrote: | Thanks for the response
How do you add the compiler inside the IDE? If CCS have a link that will do.
Dave |
Tools -> Options -> Embedded -> Build Tools
Add button
Browse to the directory of the NEW tool (hopefully you have them all in different dirs, but that's a topic for another thread)
OK
MPLabX will generally find and identify the compiler version for you at that point.
Next, you must change the compiler you are using for your project in the project properties. If you did it right, you should have 5.107 and 5.109 (and others) to choose from. EACH project you have open can use different compilers, which is great if you have to maintain code that is in production out in the real world. When I save off projects into our versioning system, I generally put in notes like "Compiled using 5.073" so I can be assured that if I edit the old code, I can recompile using a known working and tested version. |
|
|
E_Blue
Joined: 13 Apr 2011 Posts: 417
|
|
Posted: Tue May 17, 2022 12:27 pm |
|
|
temtronic wrote: | I'm with Hum, have used MPLAB since day one (PCM 2.534 ish...) NEVER had a problem, been rock stable...dang for over 20 years.....
One day I should see if Win10 likes everything...,maybe.... |
Me too. I like more MPLAB IDE.
MPLAB X has a lot of issues, from the GUI colors, if you set dark environment a lot of windows doesn't have good foreground vs background contrast.
You can't insert and MCH file or edit a buffer to debug, that's done pretty easy with the old MPLAB IDE.
Every new update needs to set again a lot of parameters because the compilers and tools doesn't work anymore, is like starting from scratch.
If you float any window outside the MPLAB X good luck trying to re attach it; it can be done but is not intuitive at all.
Many tools has some issues with specific devices, even the new ones.
It feels to raw and uncooked.
Also I don't understand why some tools like the ICD3 needs to change the USB driver and all the 3 firmware layers every time that I change from the old MPLAB to the new one. Is a fight every time, exhausting and annoying. _________________ Electric Blue |
|
|
|