Using dongle with an old version

Technical Note 62867

Targets:
All

Component:
Licensing

Updated:
10/3/2014 11:48 AM

Introduction

This Technical Note applies to IAR System products that uses License Management System version 1 (LMS1).

Topic

The Technical Note covers suggestions for troubleshooting dongled licenses in LMS1. 

Aplies to dongled licenses

This text is applicable for products using SafeNet SuperPro (a.k.a. Sentinel, Rainbow) hardware locks. There are two types of these "dongles":

  • Yellow (older units are gray) "PP-dongles" that connects to a parallel port.  
  • Black (older units are yellow) "USB-dongles" that connects to a USB port.  

Aplies to old versions

This text aplies to versions released in 2011 (and older). Troubleshoting dongles in License Management System version 2 (LMS2) is covered in Technical note 44489. A list of versions that uses LMS2 is found in Technical Note 30478.

Message

The typical message is:

"No valid license found for this product"

If you have dongle problems, please try:

  • (A) -- Install/Update/Repair drivers
  • (B) -- Install present IAR License Manager

For the very few problems that persist beyond (A and B):

  • (C) -- Download and Run Medic

For PP (parallel port) dongle:

  • (D) -- Check parallel port settings
  • (E) -- Check the parallel port itself

For USB dongle:

  • (F) -- Change settings for driver
  • (G) -- Remove and add driver
  • (H) -- Remove PP dongle driver
  • (I) -- USB dongle still not recognized

Otherwise:

  • (J) -- Contact support

A. Install/Update/Repair drivers

Download and run the driver installation program.

  • The latest version (from SafeNet) of the driver can be downloaded from Dongle Driver.  

Note that if the driver installation is made on an computer that runs the IAR License Server application, then the server application has to be restarted (or PC rebooted) after the driver installation.

In case of difficulties installing/obtaining drivers, please use the Request technical assistance link to contact support. As always when contacting support, please state your product name, version and license/serial number.

Background:

Depending on product and version as well as operating system version and configuration, drivers may or may not be required. For example, Windows NT/2000/XP always requires drivers, while for older products running under Windows 95, drivers may or may not be required. In any case no problems should be caused by installing drivers, be they required or not.

Use configuration tool:

In order to configure the installed driver, start the program Driver Configuration Utility” found at...

... version 7.x.x, 64-bit windows

C:\Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel System Driver\SetupSysDriver.exe

... version 7.x.x

C:\Program Files\Common Files\SafeNet Sentinel\Sentinel System Driver\SetupSysDriver.exe

... version 5.x.x

C:\Program Files\Rainbow Technologies\Sentinel System Driver\SetupSysDriver.exe

If you are running Windows NT/2000/XP, you can in this program also start and stop the NT parallel driver.

B. Download, install the present version of the IAR License Manager

Some problems arrise when combining an old IAR product with modern utilities. Download and install the present IAR License Manager (LMS1) from Technical Note 14255.

C. Download, install and run the dongle test utility

There is a utility that checks the dongle.

For dongle drivers version 5.41.1 and later, use the SuperProMedic. (For older dongle drivers up to version 5.41, use the SentinelMedic. Please Note that SentinelMedic don't work on 64 bit PC.)

The information gained from running the Medic is summarized below:

  • System Driver Information:  Displays the system driver that is installed on your system, or the error that it incurred trying to communicate to the system driver. Please Note: If you can not see a version number here in the window, this is a strong indcation that there is something wrong with the installed drivers. Go to Step F and make sure to uninstall all drivers before reinstallation of version 7.5.2.  
  • Error/Status and Description:  This area displays the error/status of the search for the key. The Medic will display a brief description of the error/status.  
  • Medic Says button:  This button will display the Medic's recommendations for fixing the problem if any.  

D. Check parallel port settings (PP dongle)

Try this:

  • For notebooks, connect to main power, but do not connect to docking station.  
  • Turn off any energy saving features in your OS and/or BIOS.  
  • Make sure that the driver configuration in the setup program* are set to same parallel port mode as in the BIOS settings. If this does not help, try to change in the BIOS settings. If the parallel port is set to [Auto], change to [Enabled] (This change usually solves many problems) .

    Set the parallel port mode to "lowest possible", e.g. uni-directional, standard, AT-Compatible or similar, and use same settings for the driver configuration.  

* The location and name of the setup program depends on which operating system and driver version used.  For example:

  • For driver version 7.x.x
C:\Program Files\Common Files\SafeNet Sentinel\Sentinel System Driver\SetupSysDriver.exe
  •  For driver version 5.39.2 to 5.41.1
C:\Program Files\Rainbow Technologies\Sentinel System Driver\SetupSysDriver.exe
  • For driver version 5.39.1 or earlier
    Windows NT/2000/XP:
C:\Program Files\Common Files\IAR Systems\License\SDongle\WIN_NT\Setupx86.exe

     Windows 95/98/ME:

C:\Program Files\Common Files\IAR Systems\License\SDongle\WIN_9X\Sentw9x.exe

 

E. Check the parallel port itself (PP dongle)

Try this:

  • Check that the parallel port itself is working (e.g. connect a printer to it and try printing).  
  • Also, try the dongle both as sole device on the parallel port and with a printer connected behind it.  
  • The hardware lock system requires a basic technical standard from the parallel port. For example, the port must be bi-directional (allow both reading and writing). This fact prevents it to be used with some notebooks. Also, the port needs to be able to provide a certain voltage level on some pins. Connected equipment, like printers, behind the hardware lock could possibly decrease the voltage level so that the hardware lock fails. A quick solution could be to install a second parallel port. Though they are cheap, they normally meet the technical requirements by a wide margin.  

F. Change settings for driver (USB dongle)

(This advice is not useful on Windows98 (Second Edition).)

If you are running Windows NT/2000/XP, you can stop the NT parallel driver. This is done using the program SetupSysDriver.exe. Found in ...  ... for version 7.x.x

C:\Program Files\Common Files\SafeNet Sentinel\Sentinel System Driver\

... for version 5.x.x

C:\Program Files\Rainbow Technologies\Sentinel System Driver\

Start the program. Push the button "Stop NT parallel driver".

G. Remove and add driver (USB dongle)

If point F does not help AND the dongle is detected in point C , then try this:

  • Important Remove the USB dongle from the PC. Important  
  • Close all IAR applications, for example IAR Embedded Workbench and IAR License Manager.  
  • Point to Start > Settings > Control Panel > Add/Remove Programs. Double-click on this icon to view the list of software programs installed on your system.  
  • Click "Sentinel Protection installer 7.5.2"
  • Perform the "remove" action.  
  • If there are several lines (in Add/Remove Programs) with "Sentinel System Drivers" perform the "remove" action on ALL of them.  
  • Download the present driver from SuperPro System Drivers.  
  • Install the driver, version 7.5.2  
  • Insert the USB dongle. (Windows will now correctly detect the USB dongle.)  
  • You might also need to perform point F (above) once more.  

Please Note -- If the steps above doesn't help to remove the drivers, then contact IAR Support (through you ordinary channel) and mention that you are using TN 62867 - step G. (The "support action" will be to use other tools for removal.)

H. Remove PP dongle driver (USB dongle)

If point F + G (and possibly point F once more) does not help AND the dongle is detected in point C, then try this:

  • Important Decide if it is OK to remove the driver for PP dongles, i.e. you will from now on only use a USB dongle. If yes, then you can proceed. Important
  • Important Remove the USB dongle (once more) from the PC. Important
  • Point to Start > Settings > Control Panel > Add/Remove Programs. Double-click on this icon to view the list of software programs installed on your system.
  • Click on the "Sentinel Protection installer 7.5.2"
  • Select the "modify" action.
  • Answer "Yes"/"Next" until you get a window where you can choose which drivers to use.
  • Click on the "disk icon" to the left of the phrase "Parallel System Driver". This will show a drop-down menu.
  • In the menu select "This feature will not be available".
  • Continue to click "Next"-buttons until the installation application ends.
  • Insert the USB dongle.  

From now on, the Dongle Driver routine will only search for a dongle at the USB-port, never at the Parallel Port.

I. USB dongle still not recognized

If the USB dongle still is presented as an unknown device in the Windows Device Manager, then follow the instructions in Technical Note 67644.

J. Contact support

Contact support for further assistance (Request assistance). As always, please state your product name, version and license/serial number.

All product names are trademarks or registered trademarks of their respective owners.

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.