1. Download service manager. License Manger for Windows https://www.nxp.com/webapp/sps/download/license.jsp?colCode=CWX-FLEX-LMWIN-V1-4&location=null LMTOOLS https://www.nxp.com/webapp/sps/download/license.jsp?colCode=LMTOOLS_X64_64BIT_WIN Installation Guide https://www.nxp.com/docs/en/brochure/FLTLICINSTWINBR.pdf 2. License Manger update If your license manager have the following view, an update is needed. Updated License Manager view In the previous links the updated License Manager can be downloaded. 3. Open LM Tools / Go to Config Services tab Service Name: Please type a new service name. Service Name: Please type a new service name. Path to the license: select the location of the license file. Path to log file: create a file to save the log file from server. Uncheck Start Server at power-up. Check Use Service. 4. Open Start/Stop/Reread tab Select the new created service and click on reread License file. Check on the license status on the low left side of the windows. License read successfully is expected. 5. License path information Review the license.dat file in in the installation path location. Make sure you have the same copy that holds the server, so the serve information referenced in license.dat file can be the same. Classic CodeWarrior IDE, save the license.dat file in the directory where you installed the software (usually C:\Program Files\NXP\Code Warrior for XYZ\). Eclipse IDE, save the license.dat file in the directory where you installed the software (usually C:\Program Files\NXP\CW XYZ v10.x\XZY\license.dat). CodeWarrior for Networking C:\Freescale\CW4NET_v2018.01\Common 6. How to set an environment variable Go to System within control panel. Click on advanced system settings. Go to Environment Variables. Look for METROWKS_LICENSE_FILE – if there is no variable please click on add. Assign value to for client Classic CodeWarrior IDE, save the license.dat file in the directory where you installed the software (usually C:\Program Files\NXP\Code Warrior for XYZ\). Close and test
In this document we will guide you on how to extend your CodeWarrior Software for another 45 days, this action can be performed using the www.nxp.com site and it can be done 3 times after your original evaluation has expired. login to www.nxp.com Click on My NXP from the top right menu Click on the link called Software Licensing and Support Click on Renew Expired Software Click on the Extend button of the software you like to Extend. Select the Product that you like to generate the new license for Accept the terms and conditions Click on the License Keys Tab Click on Generate Click on Save all Save the license.dat file to the correct location CodeWarrior Legacy Classic: (Example) C:\Program Files (x86)\Freescale\CWxyz... CodeWarrior Legacy Eclipse: (Example) C:\Freescale\CW MCU v11.1\MCU CodeWarrior for Networking applications: (Example) C:\Freescale\CW4NET_v2019.01\Common Regards,
Dongle drivers for Win 7 or Win 10 working with eclipse-based CodeWarrior versions. How to install dongle drivers haspdinst Download and Extract in a know folder. Open CMD Go to extraction directory path Type haspdinst.exe -? Type haspdinst.exe -install C:\Users\n760\Downloads\dongle18.104.22.168_v6\x64_n6\FLEXID9_Windows_v7_80_x64>haspdist.exe -install Operative System supported Windows 7 SP1 Windows 7 SP1 Embedded standard (x86) Windows 8.1 SP1 Windows Server 2008 R2 SP1 Windows Server 2012 R2 Windows Server 2016 Windows 10 Version 1709
There is a broken link on the web site, this happens when trying to enter to your SW from the view order site. Error The workaround for this is to access thru SW Licensing and Support view, log to www.nxp.com in go to the home site. this broken link will be fixed early September.
Option A Multiple license generation 1. Login www.nxp.com 2. Click SW Licensing & Support 3. Select your account if you have multiple 4. Click on Order History , Find the entitlement you need and click 5. Go to licenses options 6. Check mark the license needed 7. Generate license file 8. Copy in the app folder C:\Freescale\CW4NET_v2016.01\Common Option B Multiple entitlement license generation, Files downloads 1. Login www.nxp.com 2. Click SW Licensing & Support 3. Click on the product list needed 4. Select the version you want to license or download 5. Go to license tab 6. Assig a host 7. Generate license 8. Copy in the app folder C:\Freescale\CW4NET_v2016.01\Common
These are CodeWarrior Licensing Community Document list: Web License System: New Web license system - December 8th, 2014 & Problems with Freescale Account. New Web license system - Registering your physical shipment Software and Support contracts. How to download a Service Pack / Patch / Update from Web License System? Register and Purchase: How to register and retrieve CodeWarrior suite licenses How to complete a Software Activation Share Account Invite. Are you getting an Error that your registration code does not exist? How to extend my evaluation license file for CodeWarrior Renewal: How to apply renewal code on registration? How to renew support for CodeWarrior suite licenses How to purchase your support renewal for multi-seat software registration. How to renew MQX RTOS add-on SW IPv6 DL-MQXIPV6-SR-PS Rehost: How to rehost CodeWarrior suite license Cannot Re-host a license - License Lists is empty (valid to generate a license file associated to a registration too). Floating License Related: How to install/check if my floating license file is running ? (known issues) Step Byt Step Screenshot Guide Floating license FlexLM for CodeWarrior.pdf USB Dongle Related: How to install/use USBdongle license under Win 8.1? (Include test with CW for MPC55xx V2.7 & CW for HC12 v5.1) USBdongle license is not running for CW for PA V10.4 and MCU V10.4 (sometimes) -> "LM_NOTTHISHOST" Misc: How to merge multiple floating and NL license files in 1 file What is the difference between the Offline and the Online Installer for MCU 10.5 License FAQ: Licensing and Registration FAQ|NXP More CodeWarrior Licensing Discussions: CodeWarrior Licensing Community
How to apply renewal code on registration? A- Annual subscription An annual subscription is valid for 1 year (12 months). The license files associated to an annual subscription will expire the end date defined to the registration. To continue to use it you need to purchase an annual renewal code and apply it to the registration. This will change the end date to current date (today) + 12 months. Then you need to re-generate the license file. For single seat (Nodelocked or 1 floating), please have a look to: http://www.nxp.com/products/software-and-tools/software-development-tools/codewarrior-development-tools/licensing-and-registration/licensing-and-registration-faq:CW_LICENSE_FAQ#12 For multi-seat, please have a look to: http://www.nxp.com/products/software-and-tools/software-development-tools/codewarrior-development-tools/licensing-and-registration/licensing-and-registration-faq:CW_LICENSE_FAQ#29 Attached you will find a video showing you to apply a renewal code to annual subscription and how to get the new license file. B- Permanent subscription A permanent subscription as an end date too (1 year). The end date is just to determine the tool versions you can use, have access to. The license file associated to the permanent registration will not expire. It’s permanent one. If a new version of tool is released the July 1 st and your registration expired the May 1 st , you will not have access to this new version. In this case you need a valid registration and so need to purchase and apply a renewal code which is not the same than annual subscription. For single seat (Nodelocked or 1 floating), please have a look to: http://www.nxp.com/products/software-and-tools/software-development-tools/codewarrior-development-tools/licensing-and-registration/licensing-and-registration-faq:CW_LICENSE_FAQ#11 For multi-seat, please have a look to: http://www.nxp.com/products/software-and-tools/software-development-tools/codewarrior-development-tools/licensing-and-registration/licensing-and-registration-faq:CW_LICENSE_FAQ#28 Here you can refer to the video attached. The process is the same
How to merge several license files in 1 file? I’ve created 2 videos showing/explaining how to generate a license file for several products in same time. The doc explains the process to: Download multiple NL license files for different products based on 1 registration Download multiple Floating license files for different products based on 1 registration and how to merge them in 1 file. Note: If you have several floating registrations and want to merge the license files in one file, the process is similar to 2. You must copy all license files in 1 file and keep only the first 3 server lines. The other must be commented by adding a # as explained above.
How to install/check if my floating license file is running ? + Known issues for CW for PA V10.4, CW for MCU V10.6, CW for HC12 V5.1, ... Most of the time the “Product Licenses” is working fine but there are some cases where the information provided in the Product Licenses dialog are wrong. This is the case for: USBdongle license file is used for NL, Floating license file. What’s about the Floating License file ? A Floating license requires a PC defined as server (which can be a client too) and other PC(s) defined as client(s). How to install a floating license file ? A client has 3 ways to contact the server (in fact the service running on server): Using license.dat file – same file used by server and client Using Environment variable LM_LICENSE_FILE= port@host (METROWKS_LICENSE_FILE=port@host) Using Environment variable LM_LICENSE_FILE= port-daemon@host (METROWKS_LICENSE_FILE=port-daemon@host) On server side On server you must have a service managing the floating license file. You must download the Flexlm tool available on web site: http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_LICENSE_FXDL_LMI Please have a look to the documentation for more details: http://cache.freescale.com/files/soft_dev_tools/doc/brochure/FLTLICINSTWINBR.pdf The license must be locked on the Server DiskID (vol C:) or HostID. You can check if the license is running by: Server Status + Perform Status Enquiry, Server Diags + Perform Diagnostics On Client side The client has 3 ways to contact the server but only 1 of these ways must be used. Sometimes the 3 ways are running and sometimes only the port@host or port-daemon@host can be used. This is directly linked to your LAN structure. How the tool is checking the license ? Case A: By default the tool tries to find the license.dat in the installation folder. It could be C:\Freescale\CW_PA_v10.4.0\PA\license.dat -> this is the first way Else if a LM_LICENSE_FILE or METROWKS_LICENSE_FILE environment variable is defined, the system will check all variables defined in this environment variables. Here there are 2 ways to define the license.dat. Case B: If the license.dat is not placed in the default folder (Case A). You must set the environment variable. For instance the license.dat is placed in C:\Freescale\license_all\license.dat You should have: LM_LICENSE_FILE=C:\Freescale\license_all\license.dat or METROWKS_LICENSE_FILE=C:\Freescale\license_all\license.dat Case A and B required than the same license file used by the server is used on the client. Case C : No license.dat file is used on client. Using LM_LICENSE_FILE or METROWERKS_LICENSE_FILE environment variables allow you to define a server and a port. This information must be compliant with the license file defined on server. Example of license file: SERVER My_server_name 00123456789A 1710 Server Name: My_server_name Port: 1710 To access this server you must use: LM_LICENSE_FILE=1710@My_server_name or METROWKS_LICENSE_FILE=1710@My_server_name Case 😧 Now depending of your LAN, this is the case for complex architecture (different subnets, access via VPN, etc),the Case C (as case A & B) could not work. The solution is to define a port on the daemon. Extract of new license file: SERVER My_server_name 00123456789A 1710 VENDOR metrowks port=27000 To access the license file you can use port-daemon@host LM_LICENSE_FILE=27000@My_server_name or METROWKS_LICENSE_FILE=27000@My_server_name Most of the time we recommend to check floating license in order: - Case A, - Case B, if it's not working then you can try - Case C, - Case D. How to check if a license file is running ? For floating license, the info provided in the License details could be corrupted. You can have a message saying the license file is not found or not running whereas the tool is working fine. The information is not really relevant for Floating license. The right way to check if the license is running is to: - open/create a project, - build the project. On the server, the log file captures all accesses done to the service If there is an issue, the problem will be captured in the log file. The log file contains lot of information to understand what is the problem (If there is one). To generate this file, on the server, launch lmtools and select Config Services tab. Inside "Path to the debug log file" field define a file as - for instance CW for PA v10.4: If the C:\FSL_FlexLM\license_PA_10_4.log is already generated, I recommend you to: - stop the service, - delete the log file via explorer, - re-start the service, - reproduce the problem on client, - try with an example project requiring a license file, - stop the service. Open the log file to check how the floating license file is used. Specific trouble for CW for PA V10.4 & CW for MCU V10.6 Under PA V10.4 for instance when the port@host environment variable is used and the service is running on server, when we launch Eclipse we get a wrong license information: According to the message the license file is not found. For MCU V10.6, the Help + Freescale Licenses menu is not available. PA v10.4 and MCU V10.6 using port@host protocol gives you the same message than if no license file was used/defined. It seems the Product is not detect when the LM_LICENSE_FILE Environment variable is using port@host. Most of the time the license file is running fine. Is there a way to check it ? ……….. YES, generate the log file as explained above. You can use the project examples for CW for MCU V10.6 and CW for PA V10.4 provided in the https://community.freescale.com/docs/DOC-105542 Attached a video showing the behavior when port@host is used with CW for MCU V10.6 Specific trouble for CW for HC12 V5.1 As explained above a client has 3 ways to contact the server: - Using license.dat file – same file used by server and client - Using Environment variable LM_LICENSE_FILE= port@host (METROWKS_LICENSE_FILE=port@host) - Using Environment variable LM_LICENSE_FILE= port-daemon@host (METROWKS_LICENSE_FILE=port-daemon@host) We used the following configuration: Server: Win 7 64 bit Client: Win XP 32 bit CodeWarrior for HC12 v5.1 using a project requiring a suite Basic or higher (attached license_test_project.zip - using the simulator) Description Using the license.dat or the LM_LICENSE_FILE= port@host, we can build the project but not debug it: - When the IDE is launched, we got a message “This is the last day …” - We can build the project without problem. The license file is reconized - When we launch the debugger we got an error saying the debugger is running at demo mode. If we check the log file generated by the server, we see the client is asking for compiler and linker keys but no entries for the debugger key. If the Server and Client is the same PC, the license is working as expected. The problem occurs only when the server and client are different PCs Solution: We found the LM_LICENSE_FILE= port-daemon@host is working. The IDE is launched without message (This is the last day …) and we can build and debug an application without problem.
How to install/use USBdongle license under Win 8.1? Configuration used: Native installation Win 7 Enterprise 64 bit Oracle VM VirtualBox V4.3.28 r 100309 Windows 8.1 Enterprise 64 bit This doc will answer the question: Can we use USBdongle license under Win 8.1 ? There are 2 parts: - How to install the Dongle driver and check it ? - How to use a development tool with USBdongle license file under Win8.1 ? Attached you will find 2 videos explaining the processes. - How to install the Dongle driver and check it ? Refer to the USBDongle_driver_installation.avi BEFORE Phase 4, to avoid problem we recommend to un-plug ethernet cable or switch-off wifi. If network connection is not switched-off, for Phase 4 and Phase 5, a wrong driver could be installed . Right Driver version (USBDongle + FlexID Driver installed + Windows 7 64bit) - How to use a development tool with USBdongle license file under Win8.1 ? To test it I used: - CW for MPC55XX V2.7 Refer to the USBDongle_win8_MPC55XX.avi - CW for HC12 V5.1 Refer to the USBDongle_win8_hc12v5.1.avi Include example project -> HC12_V5_1_test_project.zip Hope this will help. Pascal
Get “ LM_NOTTHISHOST" license error message A- Description Most of the time the “Product Licenses” is working fine but there are some cases where the information provided are wrong. This is the case for: USBdongle license file is used for NL, Floating license file. What’s about the USBdongle ? Under PA V10.4 for instance when the USBDongle is plugged and the license file correctly installed when we launch Eclipse we get a license information: According to the message there is a problem with the USBDongle or with the license file. Most of the time the license file is running fine. Is there a way to check it ? ……….. YES. For MCU V10.6 the error is: "Unknown error with key ProfessionalEditionMCU 10.5, LM_NOTTHISHOST. " B- Solution For the USBdongle, we can check the license file using an example project: For MCU V10.6, we can launch the HC08compiler in standalone mode and try to build a big application (requiring a valid license). For PA V10.4 we must use an application using Freescale tool chain (requiring a valid license). CW for MCU V10.6 Refer to MCU_full_test.avi attached Project file attached too. By default the USBDongle should work fine. However I know some customers experienced a problem similar to CW for PA V10.4. How can we test if an USBdongle license file is running ? The best way is to create a project using HCS08 for Simulator. For this test I will create a project and added lot of asm nop code to have a big application. 1st test: Add USBDongle license file in \CW_MCU_v10.6\MCU path. However the USBdongle is not plugged on the PC. So the license file is not running. Re-start Eclipse and re-open same project. 2nd test: Same as 1st test but I plugged the USBdongle key now. Here the license file is correctly recognized - Activated. However you could have same problem as 1st test. In this case to check the license you must build the project. Now the project is built without any license error (even if the license information always provides wrong information). CW for PA V10.4. Refer to the PA_full_test.avi attached How can we test if an USBdongle license file is running ? The best way is to create a project using Freescale compiler (GCC is free so more difficult). For this test I will create a project based on 8250 device. 1st test: Without no license file. 2nd test: Add USBDongle license file in \CW_PA_v10.4.0\PA path. However the USBdongle is not plugged on the PC. So the license file is not running. Re-start Eclipse and re-open same project. 3rd test: Same as 2nd test but I plugged the USBdongle key now. Now the project is built without any license error even if the license information always provides wrong information. Hope this will help you. Pascal
In order to renew your MQX RTOs add-on SW IPv6, DL-MQXIPV6-SR-PS 1. Go to http://www.freescale.com/mqx/ipv6 2. Select Buy/specification 3. Click on Buy Direct for DL-MQXIPV6-PS-M Part ID 4. Complete Buy Direct Process. order confirmation and e-mail will be sent with the Registration ID 5. Go to www.Freescale.com/activation 6. Enter your registration ID 7. Select the Parent Registration/Entitlement ID to renew 8. Check the Registration Confirmation and new expiration date. Note: If you don’t have an active/expired DL-MQXIPV6-SR-PS , you will get an error message saying you currently do not have an active entitlement to the required software necessary to register this software product. Before purchasing make sure you have a valid registration/entitlement ID.