I have download Codewarrior10.6 Evaluation version and save the license.dat in C:\fresscalse\CW for MCU10.6\MCU, but when in use mwcceppc.exe in cmd, will aslo report no valid license.
C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools>mwcceppc.exe -c aa.c
### mwcceppc.exe Driver Error:
# License check failed: No such feature exists.
# Feature: Win32_Plugins_Comp_PPC
# License path: C:\Freescale\CW MCU v10.6\MCU\license.dat;
# FLEXnet Licensing error:-5,357
# For further information, refer to the FLEXnet Licensing documentation,
# available at "www.macrovision.com".
please help me...
Please check whether you have set the PATH Environment Variable in the script when building with command line tools:
SET CWFolder= C:\Freescale\CW MCU v10.6.4\MCU
SET LM_LICENSE_FILE=%CWFolder%/license.dat
Hope this helps!
Best Regards
Fiona Kuang
TIC - Technical Information Center
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Fiona :
Thanks for your repley!
I have set the Environment Variable in my .bat file (Codewarrior10.6, the license.dat was obtained from NXP evaluation):
SET PATH=C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools;
SET CWFolder= C:\Freescale\CW MCU v10.6\MCU
SET LM_LICENSE_FILE=%CWFolder%\license.dat
SET MWCIncludes=C:\Freescale\CW MCU v10.6\MCU\PA_Support\ewl\EWL_C\include;C:\Freescale\CW MCU v10.6\MCU\PA_Support\ewl\EWL_Runtime\Runtime_PA\Include;
SET MWCLibraries=C:\Freescale\CW MCU v10.6\MCU\PA_Support\ewl\EWL_C\include;C:\Freescale\CW MCU v10.6\MCU\PA_Support\ewl\EWL_Runtime\Runtime_PA\Include;
mwcceppc.exe -char unsigned -c C:\LDRA_Toolsuite\CodeWarrior\MPC56xx\__ppc_eabi_init.c
pause
The result is :
C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools>SET PATH=C:\Freescale\
CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools;
C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools>SET CWFolder= C:\Frees
cale\CW MCU v10.6\MCU
C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools>SET LM_LICENSE_FILE= C
:\Freescale\CW MCU v10.6\MCU\license.dat
C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools>SET MWCIncludes=C:\Fre
escale\CW MCU v10.6\MCU\PA_Support\ewl\EWL_C\include;C:\Freescale\CW MCU v10.6\M
CU\PA_Support\ewl\EWL_Runtime\Runtime_PA\Include;
C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools>SET MWCLibraries=C:\Fr
eescale\CW MCU v10.6\MCU\PA_Support\ewl\EWL_C\include;C:\Freescale\CW MCU v10.6\
MCU\PA_Support\ewl\EWL_Runtime\Runtime_PA\Include;
C:\Freescale\CW MCU v10.6\MCU\PA_Tools\Command_Line_Tools>mwcceppc.exe -char uns
igned -c C:\LDRA_Toolsuite\CodeWarrior\MPC56xx\__ppc_eabi_init.c
### mwcceppc.exe Driver Error:
# License check failed: No such feature exists.
# Feature: Win32_Plugins_Comp_PPC
# License path: C:\Freescale\CW MCU v10.6\MCU\license.dat;C:\Freescale\CW
# MCU v10.6\MCU\Bin\..\license.dat;
# FLEXnet Licensing error:-5,357
# For further information, refer to the FLEXnet Licensing documentation,
# available at "www.macrovision.com".
That is to say SET LM_LICENSE_FILE does not work.
Please help me if there is anthor way to resolve this problem.