Hello ,
Not sure what's wrong with CW10.2 to have error messages as attached.
Even we uninstall and reinstall CW10.2.
Same codes were successfully compiled before by same CW10.2.
Wondering if some changes of environment settings we have accidentally triggered to get into the problem?
--
MG
Hello!
I have a similar problem, any updates on this matter?
Regards,
Burak
Hi Burak,
this is a thread that was posted 4 years ago regarding old version CW.
Now we always encourage customer to use the latest CW10.6.4
CodeWarrior for Microcontrollers-Eclipse IDE|NXP
please test your problem with CW10.6.4 with creating a new workspace and new project.
if problem persists, please create a new question for it rather than post the thread under the old one.
It's always good for solving the problem if you could post your project with the problem.
thanks!
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
maybe this helps:
"The Error 255 is produced by make as a result of its command shell not being able to find a command for a particular rule.
Messages from the standard error stream (the lines saying Error 255) and standard output stream (all the other lines) are merged in the Console view here."
Have a look at the Console View which shows the full error/history. Maybe your project/path/tools are not found. I notice that you have a system with Chinese characters. I would try to use it in 'english' mode:
- open eclipse\cwide.ini
- add this *before* -vmargs:
-nl
en
(important: it is -nl on one line, and en on the next line.
Restart eclipse, and it should be in english mode.
Hope this helps,
Erich
Hello Erich ,
It's already English mode, same error messages.
Found no .obj files generated to get into make error. Probably something's wrong with compiler path/settings.
Odd, uninstall/reinstall can't resolve it!
Quoted from Console :
**** Build of configuration dtim_flash for project Test_Fslbot_dtim ****
D:\Freescale\CW MCU v10.2\gnu\bin\mingw32-make -j6 all
'Building file: ../twr_mcf5225x/mcf5225x_sysinit.c'
'Building file: ../twr_mcf5225x/mcf5225x_twr.c'
'Building file: ../project/servos.c'
'Building file: ../project/timer_main.c'
'Building file: ../drivers/uart/uart.c'
'Building file: ../drivers/spi/qspi.c'
'Executing target #1 ../twr_mcf5225x/mcf5225x_sysinit.c'
'Executing target #2 ../twr_mcf5225x/mcf5225x_twr.c'
'Executing target #3 ../project/servos.c'
'Executing target #4 ../project/timer_main.c'
'Executing target #5 ../drivers/uart/uart.c'
'Executing target #6 ../drivers/spi/qspi.c'
'Invoking: ColdFire Compiler'
'Invoking: ColdFire Compiler'
'Invoking: ColdFire Compiler'
'Invoking: ColdFire Compiler'
'Invoking: ColdFire Compiler'
"D:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"twr_mcf5225x/mcf5225x_sysinit.args" -o "twr_mcf5225x/mcf5225x_sysinit_c.obj" "../twr_mcf5225x/mcf5225x_sysinit.c" -MD -gccdep
'Invoking: ColdFire Compiler'
"D:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"twr_mcf5225x/mcf5225x_twr.args" -o "twr_mcf5225x/mcf5225x_twr_c.obj" "../twr_mcf5225x/mcf5225x_twr.c" -MD -gccdep
"D:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"project/servos.args" -o "project/servos_c.obj" "../project/servos.c" -MD -gccdep
"D:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"project/timer_main.args" -o "project/timer_main_c.obj" "../project/timer_main.c" -MD -gccdep
"D:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"drivers/uart/uart.args" -o "drivers/uart/uart_c.obj" "../drivers/uart/uart.c" -MD -gccdep
"D:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"drivers/spi/qspi.args" -o "drivers/spi/qspi_c.obj" "../drivers/spi/qspi.c" -MD -gccdep
mingw32-make: *** [twr_mcf5225x/mcf5225x_sysinit_c.obj] Error -1073741811
mingw32-make: *** Waiting for unfinished jobs....
mingw32-make: *** [project/servos_c.obj] Error -1073741811
mingw32-make: *** [drivers/spi/qspi_c.obj] Error -1073741811
mingw32-make: *** [drivers/uart/uart_c.obj] Error 255
mingw32-make: *** [project/timer_main_c.obj] Error 255
mingw32-make: *** [twr_mcf5225x/mcf5225x_twr_c.obj] Error 255
--
MG
Hello,
this looks like a problem with ming32-make. Have you the MCU10.2 update 1 installed, or just 'plain' 10.2? I ask because the update comes with a fix for the mingw32-make if you have Cygwin installed on your machine. Is this the case, do you have Cygwin installed? If so, then it should be usually installed on c:\cygwin. Try renaming that folder (so cygwin is not found any more and try building with CodeWarrior again. Does the issue go away? If yes, then you have that problem with Cygwin.
Then a new mingw32 make (or the update) will solve your problem.
Hope this helps,
Erich
Should be no Cygwin.
We did four tests :
A. Install update 1.0 to CW10.2
1. compile project
2. import old .mcp project and compile
3. compile example project in "CW MCU v10.2\MCU\CodeWarrior_Examples\ColdFire_Examples"
B. Uninstall CW10.2, install CW10.1
4. compile project
All failed in same stage with same error messages.
Wondering if CW10 has some pitfalls in WIN7 system.
I'm using Win7 with MCU10.x for a long time, and no issues like this.
Does it work with a project created by the wizard (File > New > Bareboard Project)? Is so, then it must be something around your imported project?
What about access/permission rights? Can you make sure you run it with administrative rights?
Another thing: any firewall/anti-virus software which might block execution of the make utility?
Try new project by wizard, turning off firewall/anti-virus, running with administrative rights.
No good news, same errors still.