View previous topic :: View next topic |
Author |
Message |
adilsongutierres_
Joined: 21 Jul 2014 Posts: 7
|
My Mplab X 5.50 does not work with ccs 5.103 SOLVED |
Posted: Thu Aug 12, 2021 5:02 pm |
|
|
Dear friends, mplabx 5.50 does not work with ccs 5.103. Does not compile.
I will use a pic18f57Q84. It's only supported on mplabX 5.50 for my burning tool a pickit4. I will use a pic18f57Q84. It's only supported on mplabX 5.50 for my burning tool, a pickit4.
Help, please.
tks.
Gutierres.
error:
make[1]: *** No rule to make target '.build-conf'. Stop.
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Gutierres/18F57K42_SIMULADOR_PUC.X'
make[1]: Leaving directory 'C:/Users/Gutierres/18F57K42_SIMULADOR_PUC.X'
make: *** [.build-impl] Error 2
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 71ms)
Last edited by adilsongutierres_ on Thu Aug 19, 2021 10:02 am; edited 1 time in total |
|
|
danieldonairealbino
Joined: 26 Oct 2019 Posts: 2 Location: Campinas,SP - Brasil
|
Makefile problem. |
Posted: Fri Aug 13, 2021 5:37 am |
|
|
Hello everyone,
I am also having the same problem.
I tried to create projects with 16F and 18F pics and had the same problem. Apparently version 5.50 is not compatible with the CCS plugin (makefile issues).
We have two options:
Use CCS IDE or return version 5.45 of IDE MPLABX. With this version it works normally!
Big hug Prof. Gutierres
Att,
Daniel Albino |
|
|
adilsongutierres_
Joined: 21 Jul 2014 Posts: 7
|
|
Posted: Fri Aug 13, 2021 8:19 am |
|
|
Hi Daniel.
My problem is that version 5.45 doesn't support the PIC I'm using.
I'm having to compile on mplabx 5.45, and program the PIC on IPE 5.50.
Grateful for the attention.
A big hug my friend! |
|
|
danieldonairealbino
Joined: 26 Oct 2019 Posts: 2 Location: Campinas,SP - Brasil
|
|
Posted: Fri Aug 13, 2021 12:16 pm |
|
|
I just compile a do nothing code test.
Code: |
#include <18F57Q84.h>
void main(void) {
for (;;);
}
|
I'm using MPLABX v5.45
CCS v5.105
MCU: PIC18F57Q84
the result:
Code: |
"C:\Program Files (x86)\PICC\CCSCON.exe" out="build/default/production" main.c +FH +EX +DF +CC +Y=9 +EA +DF +LN +T +A +M +J +Z -P #__18F57Q84=1
Compiling C:\~\teste_18F57Q84.X\main on 13-ago-21 at 15:13:
Memory usage: ROM=0% RAM=0% - 0%:
0 Errors, 0 Warnings.:
Build Successful.:
gnumkdir -p dist/default/production
make[2]: Leaving directory 'C:/Users/eng2/Dropbox/Vitaltech/Transf/teste_18F57Q84.X'
make[1]: Leaving directory 'C:/Users/eng2/Dropbox/Vitaltech/Transf/teste_18F57Q84.X'
BUILD SUCCESSFUL (total time: 1s) |
I hope I have helped you, professor!
We keep adding up the hours around here!
Att,
Daniel |
|
|
adilsongutierres_
Joined: 21 Jul 2014 Posts: 7
|
|
Posted: Fri Aug 13, 2021 12:22 pm |
|
|
Good afternoon Daniel, the problem is not compiling, the problem is programing.
The version 5.45 when connected to Pickit 4 does not support this PIC.
The version 5.50 Pickit 4 has support for the PIC, however it does not compile with ccs.
Which forces me to compile in 5.45, export to the IPE of 5.50.
Thanks for the attempt.
Thanks.
Cheers! |
|
|
PrinceNai
Joined: 31 Oct 2016 Posts: 479 Location: Montenegro
|
|
Posted: Sat Aug 14, 2021 8:12 pm |
|
|
Nice that you've found a solution. This is not an answer, just my thoughts. I've run into this kind of problem with MPLABX before. For me the Microchip's move from MPLAB to MPLABX is by far the worst upgrade ever. The deciding factor, 20 years ago to use PIC was the user friendliness of their IDE. Did it in assembler then. Right now it is only this forum, my laziness and the fact that I can still use the old IDE for older micros that keeps me working with PIC's and not switching to way cheaper and faster ARM's (with their IDE's as complicated as MPLABX).
So from my perspective, I'd always choose a PIC supported by MPLAB 8.92 for any project, unless there is a peripheral or a footprint I just need to use and I can't find it on older micros. I don't need 39 different sleep modes or to work in FemtoWatt range when in full speed. MPLAB 8.92 is stable. It works like a bomb with CCS. UI is simple. Debugging is simple. Programming is simple. Works with any Chinese Pickit3. It is a set and forget thing. Very unlike MPLABX, where every new version is just much bigger and also much worse. Like Forrest Gump said, MPLABX is like a box of chocolade, you never know what you'll get. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19518
|
|
Posted: Sun Aug 15, 2021 1:08 am |
|
|
Your problem 'does come when compiling'. Think about it, it is the make that
is complaining. Now, like Daniel, I just compiled a real test program, and it
merrily worked for me. I then tested programming with a PicKit 4, and
it too worked OK.
However key difference for both him and me, is that we are running 5.105.
It looks as if the changes in 5.50, require the compiler to be the current
version.
Have to agree wholeheartedly with PrinceNai. MPLAB-X, has never worked
well.
The early versions were 'awful'. It is now close to being useable sometimes,
but is still very unreliable, and does not provide features that the older MPLAB
had working well. On a scale of 1..10, I rate it as a low '2' as a development
environment, when MPLAB, was perhaps a 7 or 8. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Sun Aug 15, 2021 4:43 am |
|
|
I'm with the 'Prince' as well ! OK, I'm a 'dinosaur', still using MPLAB 8v92 (last version ?), a real PICkit3 and an early 5 version of compiler. I'm kinda stuck using the 18F46K22, the 'Swiss Army Knife' of PICs, though I suppose that's 'obsolete' to many.....
While upgrading the compiler would allow me to program the current PICS, I don't actually need a new 'feature' or 'peripheral', the 46k22 has done everything for me.
As for power consumption, anything less than 1ma is 'micropower' to me. I've always used far bigger batteries than the 'math' said were 'OK' cause unless they're in a warm room, the capacity is 1/2 or less of the rating on paper....
For your low power need though, I'd code a PIC with just the USB code,NOTHING else(so maybe 20-30 lines ?), and see what the amps are when asleep. Less code is easier to SEE what's going on.
Jay |
|
|
RNR107
Joined: 19 Dec 2014 Posts: 23
|
|
Posted: Thu Aug 19, 2021 8:03 am |
|
|
Hi,
The problem is not with MPLAB X or CCS compiler. Well not directly...
It's with the CCS compiler plugin for MPLAB X.
You need the latest version of the plugin V3.14.
I had the same problem so asked Tech support from CCS and they emailled me the latest plugin (not available to download from their web site).
I don't know how to attach a file here...
If you want it, give me your email address...
Ta!
Laurent |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19518
|
|
Posted: Thu Aug 19, 2021 8:39 am |
|
|
That makes sense.
The latest plugin is included with the compiler when you do the install.
Just checked, and only 5.105 has the newer plugin. |
|
|
adilsongutierres_
Joined: 21 Jul 2014 Posts: 7
|
|
Posted: Thu Aug 19, 2021 9:09 am |
|
|
RNR107 wrote: | Hi,
The problem is not with MPLAB X or CCS compiler. Well not directly...
It's with the CCS compiler plugin for MPLAB X.
You need the latest version of the plugin V3.14.
I had the same problem so asked Tech support from CCS and they emailled me the latest plugin (not available to download from their web site).
I don't know how to attach a file here...
If you want it, give me your email address...
Ta!
Laurent |
my email is adilson_gutierres@hotmail.com
Tks Laurent. |
|
|
RNR107
Joined: 19 Dec 2014 Posts: 23
|
|
Posted: Thu Aug 19, 2021 9:21 am |
|
|
No wories... Check your email (check your junk mail as well if you can't find my email). |
|
|
adilsongutierres_
Joined: 21 Jul 2014 Posts: 7
|
|
Posted: Thu Aug 19, 2021 9:58 am |
|
|
RNR107 wrote: | No wories... Check your email (check your junk mail as well if you can't find my email). |
Thank you so much Laurent.
Solved the problem.
The plugin version 3.14 worked very well.
Gutierres. |
|
|
RNR107
Joined: 19 Dec 2014 Posts: 23
|
|
Posted: Thu Aug 19, 2021 12:08 pm |
|
|
No worries. Enjoy! 😉 |
|
|
gerhard@renix-electronics
Joined: 28 Aug 2021 Posts: 3
|
Re: My Mplab X 5.50 does not work with ccs 5.103 SOLVED ??? |
Posted: Sat Aug 28, 2021 1:10 pm |
|
|
I installed CCS V5.103 as suggested.
I have MPLAB X V5.50
But the Makefile is still not generated correctly by MPLAB X, even with the CCS V5.103 plugin.
It works when I use the xc8 compiler. MPLAB C generates a makefile.
When I choose the CCS compiler, ..\nbproject\Makefile-impl.mk is empty.
Any ideas what additional setting may be needed for MPLAB X v5.5
The CCS C compiler plugin is installed, active and recognized.
I use the latest CCS V 5.105.
It compiles just fine.
Any help appreciated
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: *** No rule to make target '.build-conf'. Stop.
make: *** [.build-impl] Error 2
make[1]: Entering directory 'D:/MPLABX/CCS5105-Test3.X'
make[1]: Leaving directory 'D:/MPLABX/CCS5105-Test3.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 104ms) |
|
|
|