Packet loss in network, affects licenses
Technical Note 42725
Arkitekturer:
All
Komponent:
lms
Uppdaterad:
2015-11-06 10:37
Introduction
Earlier versions stopped immediately with an error Status code 0x03 if a client doesn't manage to reach the server.
Later versions tries several times before giving up, which is good news if you have packet losses in your network.
Typical error
Fatal error[LMS001]: Failed to obtain feature: "R32C.EW.COMPILER_STD" version: "1.00".
Failed to resolve the server host. Status code 0x3. [LicenseCheck:IP_ADDRESS, RMS:8.5.0.0021, Feature:R32C.EW.COMPILER, Version:1.00]
Fatal error detected, aborting.
Solution for some versions
There is an environment variable IAR_LMS2_WAIT_FOR_LICENSE that can be set on the client computer which makes some releases try more than once.
On the command line it is done as set IAR_LMS2_WAIT_FOR_LICENSE=YES. Below you have a picture showing what it looks like in the Windows dialog.
These releases have good use of that variable:
430 |
V5.51.6 |
Releases that are too old and will always give the error:
8051 |
V8.11 |
Releases with the License Manager 2.13.1 and higher (releases after April 2013) has the wanted functionality built in.
All product names are trademarks or registered trademarks of their respective owners.