Article Details

ID: 5060
Case Type: faq
Category: Licensing
Related To: Lattice Diamond
Family: All Devices

Search Answer Database

What is Node-Locked License? What are the most probable issues with Lattice Diamond Software while using Node-Locked License in Linux or Windows platform and what are the steps for debugging?

The Lattice Diamond Node-Locked license contains the license features required for the Lattice Diamond Software tool to authenticate the usage of the license across all Lattice Semiconductor devices and platforms. A Node-Locked license should be used only by an individual system locally without any server setup in contrast with the floating license setup. The license is generated specifically keying the intended system’s (PC/Laptop) Network Interface cards MAC ID (it can be Ethernet or WLAN).

A) The debug steps for issues with Lattice Diamond Software tool in Windows OS related to Node-Locked License are:

1. If ‘License not found (error code -1)’ error occurs during the execution of Lattice Diamond in Windows, please check the environment variable settings for Windows.

a. Click the Start button, and right click on Computer.

b. Click Properties.

c. In the Properties window click Advanced System Settings, and then Environment Variables.

d. Check for the variable named LM_LICENSE_FILE=XXXXXXXXXX under User and System Variable, where XXXXXXXXXX should be the path of license.dat file generated from the Lattice Semiconductor website or issued by Lattice License Admin. Please ensure that the path provided should be in Windows format with separators as ‘x:\xx\xxx\xxx.dat’.If there are multiple license file path required, separate using a “;”. Make sure that if there exist LM_LICENSE_FILE variable under User and System variable, it has the same value.

2. Please check the MAC address provided by you on the Lattice Semiconductor website while requesting Node Lock License contains the correct MAC ID of your Ethernet LAN card.

3. If you are getting a "License Checkout Failed" message and the Failure cause is mentioned as "Cannot check out an uncounted license within a Windows Terminal Services guest session" then kindly request for a floating license for your system used in the remote set-up by creating a Technical Support ticket. Note that Lattice Diamond requires a floating license when run in a remote desktop session.

B) The debug steps for issues with Lattice Diamond Software tool in Linux OS related to Node-Locked License are:

1. If ‘License not found (error code -1)’ error occurs during the execution of Lattice Diamond in Linux, please check the environment variable settings for Linux.

a. Type the command ‘printenv | grep ‘LM_LICENSE_FILE’

b. Check for the variable named LM_LICENSE_FILE=XXXXXXXXXX, where XXXXXXXXXX is the path of license.dat file generated from the Lattice Semiconductor website.

c. To set the LM_LICENSE_FILE value type the command ‘export LM_LICENSE_FILE=XXXXXXXXXXXX’. Please ensure the provided license path format should be in ‘c:/xx/xx/xxx.dat ’ format.

2. The ‘Invalid host. The hostid of this system does not match the hostid (error code -9)’ error occurs, as Lattice tools use the hardcoded Network Interface Name (eth0) and if the active Network Interface name on the system is set to other than eth0, it fails to check the license file and generates the above error. To avoid this you need to rename the active Network Interface Name to eth0 as follows:-

a). Run the following command with root privileges:

i). cd /etc/udev/rules.d/

ii). vi 70-persistent-net.rules

In the 70-persistent-net.rules file you will see a value as: NAME =”

b). Reboot the system.

3. Please check the MAC address provided by you on the Lattice Semiconductor website contains the correct MAC ID of your Ethernet LAN card.

Note - For License Generation:

For Free, Subscription, New, Renewal, please check the Licensing page on the Lattice Semiconductor website under Support.

Link to Licensing page: http://www.latticesemi.com/en/Support/Licensing

For questions about product licensing, please check the Licensing FAQ section at http://www.latticesemi.com/Support/AnswerDatabase and select the category as Licensing

For questions about IP Licensing, please check the IP Licensing FAQ section at http://www.latticesemi.com/Support/LatticeIPSupport

Note -For Submitting Support Ticket:

When submitting a case, please select the appropriate Windows/Linux version, and provide the output screenshot of the error, output screenshot of the command ‘ipconfig/all’ for Windows or ‘ifconfig –a’for Linux and your current license file.
Like most websites, we use cookies and similar technologies to enhance your user experience. We also allow third parties to place cookies on our website. By continuing to use this website you consent to the use of cookies as described in our Cookie Policy.