TLM: Determine license system, license type and other details

02-Dec-2024

License system

If you want to know which licensing system is included in your product version, visit our website.

Some of our older products, or older versions of current products uses the FLEXlm licensing system.

Note that this article is about TLM licenses.


License types

For the TLM licensing system, three license types exist:

  • Node-Locked License
  • Floating License
  • Build Server License

For more information, see License Types in the TASKING License Management.


License details


One of the major new features of TLM in products that are built with a newer version is the setting of variable TSK_LOG_VERBOSE=3. With level 3, when you invoke a tool, it will display detailed license information, which can be very useful for debugging licensing problems. It will display, for example, which environment variables or options are used, the license key, search path, etc.  See Licensing Options File.


Locate License key

The 16-character license key is included in the licopt.txt file, which is typically located in the \etc sub-directory of the product installation directory. It appears in the line:

TSK_LICENSE_KEY_SW<TASKING PRODUCT CODE> = xxxx-xxxx-xxxx-xxxx

Missing 16-character license key in the licopt.txt file

If your licopt.txt file does not include a 16-character license key but contains an entry like one of the following, it indicates that you are using a license from a license pool.

TSK_LICENSE_KEY_SW<TASKING PRODUCT CODE> = PRODUCT

or

TSK_LICENSE_KEY_SW<TASKING PRODUCT CODE> = POOL-...

In this case, you will use different serial numbers during a compile session as the TLM license server assigns a free seat to any of the serials included in the license pool.

To determine the serial number, you can do one of the following:

  • Review the content of our tool-generated .src file (an assembler input file), or the map file with the .map extension. The serial number is listed at the beginning of those files.
  • Use a command line invocation of, for example, the C compiler executable with the option -V. For the TriCore product, this is:
ctc -V


Identify license types
  • If the licopt.txt file contains a TSK_LICENSE_SERVER entry with the following format, it indicates that a remote server-based license is used, which might be either a floating or node-locked:
TSK_LICENSE_SERVER = lic1.tasking.com:8080;lic3.tasking.com:8080;lic1.tasking.com:8936;lic3.tasking.com:8936;lic1.tasking.com:80;lic3.tasking.com:80
  • If the TSK_LICENSE_SERVER entry is formatted as shown below, it indicates that a local license server-based floating license is used:
TSK_LICENSE_SERVER = <local server name or IP address>:<port number>
  • If the licopt.txt file does not include a TSK_LICENSE_SERVER entry but has an entry like the one below, this indicates that a client-based node-locked license is used. The licfile.txt file includes the encryption key for the node-locked license, which identifies the PC for which the license key has been issued.
TSK_LICENSE_FILE = "<path to the product installation directory>\etc\licfile.txt"


More resources

Was this answer helpful?