USBdongle license is not running for CW for PA V10.4 and MCU V10.4 (sometimes) ->  "LM_NOTTHISHOST"

Document created by Pascal Irrle Employee on Jun 11, 2015Last modified by Diana Torres on Feb 28, 2017
Version 4Show Document
  • View in full screen mode

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

Outcomes