Using a parallel port dongle with an old version of IAR Embedded Workbench

Technical Note 170914

Targets:
All

Component:
Licensing

Updated:
10/13/2017 3:29 PM

Introduction

This technical note applies to versions of IAR Embedded Workbench that use the License Management System version 1 (LMS1). (That is, versions released up to 2011-2012.)

This technical note gives suggestions on how to troubleshoot a parallel port dongle. Note - Neither 64-bit Windows systems nor Windows 8 (or later) can handle parallel port dongles.

Related technical notes:

  • Troubleshooting an USB dongle with an LMS1 version of IAR Embedded Workbench is covered in technical note 62867.
  • Troubleshooting License Management System version 2 (LMS2) is covered in technical note 44489.

Discussion

When a parallel port dongle isn’t detected by the computer, a typical message is:

‘No valid license found for this product’.

These actions often help to re-establish the connection between the computer and the parallel port dongle:

  • Install/update/repair drivers
  • Install the latest 1.xx IAR License Manager
  • Use the SafeNet tool Medic to check the dongle
  • Change the settings for the parallel port
  • Check the physical parallel port
  • Remove the dongle driver support for USB dongles

Install/update/repair drivers

Perform these actions to update the dongle driver. (If updating the driver installation is done on a computer that runs the IAR License Server application, the server application must be restarted or the computer rebooted.)

  • Download the SafeNet dongle driver installation program. Version 7.5.2 (latest tested version for LMS1) of the dongle driver can be downloaded from the link: Dongle Driver.
  • Run the SafeNet dongle driver installation program, located at:
C:\Program Files\Common Files\SafeNet Sentinel\Sentinel System Driver\SetupSysDriver.exe

or:

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

Install latest 1.xx IAR License Manager

Download and install IAR License Manager (LMS1) from Technical Note 14255.

Use the SafeNet tool Medic to check the dongle

These actions will test the dongle with a SafeNet tool.

  • For dongle drivers version 5.41.1 and later, download and use SuperProMedic.
  • For dongle drivers older than version 5.41, download and use SentinelMedic.

The information gained from running Medic is summarized below:

  • System Driver Information:  Displays the system driver that is installed on your system, or the error that occurred trying to communicate with the system driver. Note: If you cannot see a version number in the window, this is a strong indication that there is something wrong with the installed drivers.
  • Error/Status and Description:  This area displays the error/status of the search for the key. Medic will display a brief description of the error/status.  
  • Medic Says:  This button will display Medic's recommendations (if any) for fixing the problem.  

Change the settings for the parallel port

Change the parallel port settings in the driver configuration application.

The location and name of the application depends on which operating system and driver version you use. Examples of locations are:

C:\Program Files\Common Files\SafeNet Sentinel\Sentinel System Driver\SetupSysDriver.exe
C:\Program Files\Rainbow Technologies\Sentinel System Driver\SetupSysDriver.exe
C:\Program Files\Common Files\IAR Systems\License\SDongle\WIN_NT\Setupx86.exe
C:\Program Files\Common Files\IAR Systems\License\SDongle\WIN_9X\Sentw9x.exe

Try these actions:

  • Change the driver configuration in the setup program to the same parallel port mode as in the BIOS settings. If this does not help, try changing the settings in the BIOS.
  • 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, that is, uni-directional, standard, AT-Compatible or similar, and use the same settings for the driver configuration.  

On notebook computers - try these actions:

  • Connect to main power, but do not connect to the docking station.
  • Turn off energy saving features in Windows and BIOS.  

Check the physical parallel port

Try these actions:

  • Check that the parallel port itself is working by, for example, connecting a printer and try printing.
  • Try the dongle as the only device on the parallel port.
  • Try the dongle with a printer connected to it.

The hardware lock system requires that the parallel port fulfills a basic technical standard:

  • The port must be bi-directional (allow both reading and writing). This prevents it to be used with some notebook computers.
  • 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.

Remove the dongle driver support for USB dongles

These actions remove the driver sub-system that communicates with USB dongles.

  • Choose Start > Settings > Control Panel > Add/Remove Programs.
  • Select Sentinel Protection installer 7.5.2 (latest tested version for LMS1)
  • Click Change.
  • Click Yes / Next until you get a window with choice of drivers to install.
  • Click the ‘disk icon’ to the left of the phrase Parallel System Driver.
  • From the drop-down menu, choose This feature will not be available.
  • Select Next until the installation application ends.

Conclusion

The suggestions in Discussion usually establish connection to the parallel port dongle.

If you still cannot establish contact with the parallel port dongle, contact IAR Systems support for assistance. Mention that you have followed the advice in technical note 170914.

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

© IAR Systems 1995-2017 - All rights reserved.