I've successfully applied the floating licence to CodeWarrior IDE on my PC on Thursday last week. But since today afternoon, the debug feature doesn't seem to work properly (although compilation still works ), the error is as follows:
Here is the licence details:
status: "Activated"
License model: "class com.freescale.core.ide.license.flexlm.FlexlmActivate11"
Contact Email: licensing@freescale.com
Register URL: http://www.freescale.com/cwregister
Purchase URL: http://www.freescale.com/cwmcu10
FlexLM Eval Period: 15 day(s)
GTL Server: gtlsrvr.metrowerks.com
GTL Port: 80 (8,080)
Wants Host ID: true
License file path: C:\Freescale\CW MCU v10.6.4\MCU\license.dat
flexlmFileLocator: null
flexlmFile: ${MCU_TOOLS_HOME}/license.dat
License file URL: file:/C:/Freescale/CW MCU v10.6.4/eclipse/../MCU/license.dat
Error String:
Mandatory feature keys:
StandardEditionMCU 10.5, status : LASTS_PERMANENT
Alternate Keys:
(no keys)
LM_PATH=null
License file Content (C:\Freescale\CW MCU v10.6.4\MCU\license.dat):
#CodeWarrior Development Suite - Standard Edition, Perpetual Model, Floating
#License - CodeWarrior for MCU Standard Edition (Windows - Eclipse) for IFPL
SERVER Ungerboeck DISK_SERIAL_NUM=98894400 1200
VENDOR metrowks
USE_SERVER
INCREMENT StandardEditionMCU metrowks 10.5 permanent 1 2551D9D313E2 \
VENDOR_STRING="CodeWarrior for MCU Standard Edition (Windows - \
Eclipse)" DUP_GROUP=UH ISSUER="Freescale Semiconductor" \
ISSUED=13-nov-2015 ck=49 SN="FSL - 14718707" TS_OK
The FLTOOLS debug.log content is below:
9:35:07 (lmgrd) -----------------------------------------------
9:35:07 (lmgrd) Please Note:
9:35:07 (lmgrd)
9:35:07 (lmgrd) This log is intended for debug purposes only.
9:35:07 (lmgrd) In order to capture accurate license
9:35:07 (lmgrd) usage data into an organized repository,
9:35:07 (lmgrd) please enable report logging. Use Macrovision's
9:35:07 (lmgrd) software license administration solution,
9:35:07 (lmgrd) FLEXnet Manager, to readily gain visibility
9:35:07 (lmgrd) into license usage data and to create
9:35:07 (lmgrd) insightful reports on critical information like
9:35:07 (lmgrd) license availability and usage. FLEXnet Manager
9:35:07 (lmgrd) can be fully automated to run these reports on
9:35:07 (lmgrd) schedule and can be used to track license
9:35:07 (lmgrd) servers and usage across a heterogeneous
9:35:07 (lmgrd) network of servers including Windows NT, Linux
9:35:07 (lmgrd) and UNIX. Contact Macrovision at
9:35:07 (lmgrd) www.macrovision.com for more details on how to
9:35:07 (lmgrd) obtain an evaluation copy of FLEXnet Manager
9:35:07 (lmgrd) for your enterprise.
9:35:07 (lmgrd)
9:35:07 (lmgrd) -----------------------------------------------
9:35:07 (lmgrd)
9:35:07 (lmgrd)
9:35:07 (lmgrd) pid 2316
9:35:08 (lmgrd) Done rereading
9:35:08 (lmgrd) FLEXnet Licensing (v11.5.0.0 build 56285 i86_n3) started on Ungerboeck (IBM PC) (12/12/2015)
9:35:08 (lmgrd) Copyright (c) 1988-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
9:35:08 (lmgrd) US Patents 5,390,297 and 5,671,412.
9:35:08 (lmgrd) World Wide Web: http://www.macrovision.com
9:35:08 (lmgrd) License file(s): C:\Users\Kevin\Documents\Repository\IFPL\tools\freescale-FL-Licence\license (1).dat
9:35:08 (lmgrd) lmgrd tcp-port 1200
9:35:08 (lmgrd) Starting vendor daemons ...
9:35:08 (lmgrd) Started metrowks (pid 2416)
9:35:08 (metrowks) FLEXnet Licensing version v11.5.0.0 build 56285 i86_n3
9:35:08 (metrowks) Server started on Ungerboeck for: StandardEditionMCU
9:35:08 (metrowks) EXTERNAL FILTERS are OFF
9:35:08 (lmgrd) metrowks using TCP-port 1033
15:35:11 (lmgrd) TIMESTAMP 12/12/2015
21:35:11 (lmgrd) TIMESTAMP 12/12/2015
0:00:30 (metrowks) ERROR: Non-activation-capable daemon activation invoked with non-client-request event type
3:35:11 (lmgrd) TIMESTAMP 12/13/2015
9:35:13 (lmgrd) TIMESTAMP 12/13/2015
15:35:14 (lmgrd) TIMESTAMP 12/13/2015
21:35:15 (lmgrd) TIMESTAMP 12/13/2015
0:00:58 (metrowks) ERROR: Non-activation-capable daemon activation invoked with non-client-request event type
3:35:17 (lmgrd) TIMESTAMP 12/14/2015
9:35:17 (lmgrd) TIMESTAMP 12/14/2015
10:07:12 (metrowks) TCP_NODELAY NOT enabled
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "InternalCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "InternalCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "InternalCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "InternalCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "ProfessionalEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "StandardEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "StandardEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "StandardEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:07:19 (metrowks) UNSUPPORTED: "StandardEditionCDE" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:59:49 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:59:49 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
10:59:49 (metrowks) OUT: "StandardEditionMCU" Kevin@Ungerboeck
10:59:50 (metrowks) IN: "StandardEditionMCU" Kevin@Ungerboeck
11:06:52 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:06:52 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:06:52 (metrowks) OUT: "StandardEditionMCU" Kevin@Ungerboeck
11:06:52 (metrowks) IN: "StandardEditionMCU" Kevin@Ungerboeck
11:08:42 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:08:42 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:08:42 (metrowks) OUT: "StandardEditionMCU" Kevin@Ungerboeck
11:08:42 (metrowks) IN: "StandardEditionMCU" Kevin@Ungerboeck
11:09:27 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:09:27 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:09:27 (metrowks) OUT: "StandardEditionMCU" Kevin@Ungerboeck
11:09:27 (metrowks) IN: "StandardEditionMCU" Kevin@Ungerboeck
11:19:21 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:19:21 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:19:21 (metrowks) OUT: "StandardEditionMCU" Kevin@Ungerboeck
11:19:21 (metrowks) IN: "StandardEditionMCU" Kevin@Ungerboeck
11:19:25 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
11:19:25 (metrowks) UNSUPPORTED: "ProfessionalEditionMCU" (PORT_AT_HOST_PLUS ) Kevin@Ungerboeck (License server system does not support this feature. (-18,327:10054 ""))
15:35:20 (lmgrd) TIMESTAMP 12/14/2015
Could you advise what you I do to bring back debug feature? I kind of need this working urgently. I have been working on two temp licenses for two month. I very appreciate any help.
For the time being, can I request another temp license please?
Many thanks,
Kevin
Hi Kevin,
You're using a floating license file:
#CodeWarrior Development Suite - Standard Edition, Perpetual Model, Floating
#License - CodeWarrior for MCU Standard Edition (Windows - Eclipse) for IFPL
SERVER Ungerboeck DISK_SERIAL_NUM=98894400 1200
VENDOR metrowks
USE_SERVER
INCREMENT StandardEditionMCU metrowks 10.5 permanent 1 2551D9D313E2 \
VENDOR_STRING="CodeWarrior for MCU Standard Edition (Windows - \
Eclipse)" DUP_GROUP=UH ISSUER="Freescale Semiconductor" \
ISSUED=13-nov-2015 ck=49 SN="FSL - 14718707" TS_OK
This license file is associated to the registration DLP-STANDARD-FL_OBMPE12251.
This registration is a Standard Suite which includes:
• Eclipse IDE 4.2.1 (Juno) and CDT 8.1.1
• Unlimited assembler
• Unlimited C compiler and C source-level debugger
• Integrated flash programmer
• Full-chip simulation for S08 and RS08 derivatives
• On-chip trace/profile support for S08, V1 ColdFire and Kinetis devices
• Real-time trace/profile support for ColdFire and Kinetis devices
• MQX kernel-aware debug for Kinetis devices
• Processor Expert Software: RS08; S08; S12Z; ColdFire+; ColdFire V1-V4; DSC; Kinetis E, L and K Series
• Processor Expert Component Development Environment to develop components for internal use.
The Professional Suite includes Standard suites features and:
• Unlimited C/C++ compiler and debugger
• Processor Expert Component Development Environment to develop components for
resale.
• Kernel-aware debug
OSEK turbo: S08 derivatives
Linux: ColdFire V2–V4
MQX: ColdFire V1–V4 ColdFire+, Kinetis
MQX™ Lite: Kinetis
AUTOSAR: Qorriva
I don't see real problem in the license file or in the log file.
Strange is that I don't see the issue in log associated to the error message: download size limit has been exceeded.
Now 2 questions.
do you have C++ code or do you use the C++ compiler option ?
This could be the cause of the problem
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
I am not using C++. There are no cpp files.
I have check through Project Properties > C/C++ Build > Tool Settings > ARM Compiler and see no C++ compiler option.
Could it be that I miss a setting?
Many thanks
Kevin
Hi Kevin,
I'm remember a similar problem ... but in this case, the wrong license file was used.
According to the log file, it seems the floating license is working fine.
Is it linked to the project ?
without the project it's difficult.
Is it linked to the license file ?
Try with the temp license file attached.
Is it working ?
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
The temp license file is working fine. I can debug from J-Link.
How do I check if the floating license is linked to the project?
Clearly there are some Professional edition feature that prevent me from running debug.
Regards,
Kevin
Kevin,
The previous file was Professional one.
So it's normal if it worked.
Now attached it's a Standard temp file.
Can you try with this one ?
Restart Eclipse after to have change the license file to be sure the new one is really used.
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
If I use a smaller version of the code (77KB), debug runs ok. If I enable a software stack to run the full firmware (232KB), debug refuses to run.
Does it ring any bells?
Many thanks,
Kevin
Hi Kevin,
Strange very strange.
I've created an example running under TWR-K21D50M
In the main.c file there are some #if to enable/disable a part of code.
On my side with the Standard license file I sent I can build the attached project and debug it on board.
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
Sorry for bringing this up again but I haven't touched your test project until today. It has been a busy pre-Christmas period.
Now back to sorting this license problem for good.
I managed to modify the code and build the project for the K21FN1M0A but had some problem downloading the code.
After I click debug, I have this error below
After this, I cannot talk to the K21 via the J-Link at all. I've used Erase command from Code Warrior with no success, and J-Link commander refused to establish a connection with the chip. I think I've written to a memory location that would trigger a JTAG lock-down or something.
Anyway, I don't think this error is related to the License error mentioned in previous reply. I generated firmware file is 512kB and I can download it to the chip using debug facility. The license I'm using is the Floating License for Standard Edition.
Would it be beneficial to uninstall then reinstall the Code Warrior Standard Edition?
Best wishes,
Kevin
Hi Kevin,
Just to summarize the situation.
The license file is working fine now but you've a problem to establish the connection with the board.
Am I right ?
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
Thanks for your prompt reply.
The problem with the license is still there when I'm trying to debug my project on a good K21.
Best wishes
Kevin
Kevin,
So there are 2 issues:
- license problem,
- another issue to communicated with some devices (Protected may be ?).
I propose you to keep this thread to handle license problem.
For the second issue I recommend you to post a new issue.
Regarding the license problem, did you checked with the example I sent ?
On my side with the license file (standard suite), the project worked fine.
Is it not the case on your side ?
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
What is the charges to upgrade from the Standard to Professional License?
Many thanks,
Hi Kevin,
The charge to move Standard to Professional is $2500 (price difference between Standard and Pro suite).
However there are Unlimited C compiler and C source-level debugger for Standard suite so I don't see why you should have a problem with your application.
For me you don't need to have another version.
You can convert the project using Freescale to GCC.
Have a look to the \CW MCU v10.6.4\MCU\Help\PDF\MCU_Kinetis_GCC.pdf manual.
There is a chapter named 4.1.1 Change Tool Chain to GCC page 29.
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Kevin,
I've tried to convert the example project based on GCC to Freescale compiler.
However at this time I got an compiler error:
E:/Freescale/CW MCU v10.6.4/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Error
>### Error: Out of memory ###
It seems this is a common error message when a source file is too big.
The solution seems to be
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
I think there is a missing part in your answer.
You were saying "the solution seems to be ... ?"
The project I'm working on is originally based on the Freescale toolchain and the company developed it was using the CW Pro Edition. Indeed the entire source is written in C and there was no reason why not to buy the Standard license. And we did not notice the problem at the beginning when taking over the project because we were developing under the eval license, which is equiv to a Pro license. Just wonder how this can be avoided in the first place (perhaps there should have been a trial standard license ?).
It is now a collaborated work between several parties and we all develop on different branches of the same project. To add complications, there is a static library compiled using the Freescale toolchain from one party, and the linker file is manually written by another party. So it is not very nice and cost effective (every acceptance tests have to be performed yet again and it is pretty near delivery date) if we decide to go down the route of switching toolchain. We are leaning towards the upgrade-to-Pro-version route to save time and cost.
Kevin,
oups...
I'm still working to create an example testing the license file but it's more difficult using Freescale build tool chain than GCC because I need to have several source files instead of 1file for GCC.
Following the last comments, it seems your project is a complex one and you don't have all objects of this project under your control.
I can imagine if some colleagues working on this project are using Professional Suite they should have a reason.
The Standard suite includes Unlimited C compiler and C source-level debugger for CW for MCU V10.x.
You get an error when you load the application on board but not when you build the project.
The cause of the problem could be linked to a lib ...
If somebody is using a lib written in C++, you should get this type of error when the application is loaded on board.
This is why I asked you if your application was using C++ code.
The C++ could be in source files or in libraries.
Attached you will find an temporary license file based on Standard Suite.
This is a NL license file not locked (working on all PCs).
This license should expire January 23rd.
Can you try with this one ?
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal,
Looking at .cproject file from my project. I think the ARMCpp toolchain is used:
tool id="com.freescale.arm.cdt.toolchain.compiler.2063376439" name="ARM Compiler" superClass="com.freescale.arm.cdt.toolchain.compiler">
<option id="com.freescale.arm.cdt.toolchain.armCpp.input.userIncludes.1743901873" name="Include User Search Paths (-i)"
superClass="com.freescale.arm.cdt.toolchain.armCpp.input.userIncludes" valueType="includePath">
Is there a way to change the toolchain using the Properties dialogue?
Best wishes,
Kevin
Hi Pascal,
After converting your project to accommodate the K21FN1M0, it is debugging fine.
I'm wondering what the differences between my project and yours are.
Best wishes,
Kevin
PS. I decided to replace the K21s on the bad boards. I've encountered this problem before when memory location related to flash protection is written. Anyhow, chip replacement will do for now.
Hi Pascal,
Using the Standard Ed. license, I got the same error described in the first post:
Failed to resume target process.
Download size limit has been exceeded. Please check your license.
Regards,