Topic: RLink Driver installation problem on Win XP SP3

Hi,

There has recently (around Januray 2009) been an 'update' from Microsoft in the Windows XP SP3 driver installation procedure, that changes the way drivers are selected when there are several candidates.

Now it uses the .inf file date tag to select between the drivers that it finds and chooses the latest. (in previous versions it was asking which one to take, when it found several)
It also always searches on CDs, even when you tell it not to. (before the update it was searching the CDs only if you asked it to, and only if it did not find a preinstalled driver in DriverStore)

As a result, it now tries to use the RLinkWinUSB driver, which is for Vista, when it should use the Jungo driver, which is for XP.

The workaround is to remove the Ride CD from the drive after installing Ride and before plugging RLink.
Then Windows will just take the Jungo driver that the Ride installer has preinstalled in the DriverStore directory, like it did before the Windows update regardless on the CD in the drive.

This has also been workarounded in the latest CDs, available on our website since last week, by removing the 'unpacked' version of the drivers from the CD. (You can still find all the drivers after installing Ride in <RideInstallDir>\Drivers\...)
But all the CDs that had been shipped before that to distributors along with RLinks, Primers or REva boards might show the problem. (only on XP with automatic update activated, or very recent Windows with brand new PCs or CDs, a priori)

If you have already attempted (and failed) to install the RLinkWinUSB driver, then you will have to uninstall it before you can install the Jungo driver. For this you must plug the RLink and go in the Device Manager to tell Windows to uninstall the driver. In case of problems, here is an advanced procedure for that, more complex but with more chances of success:
http://raisonance-forum.xsalto.com/view … hp?id=2173

Best Regards,

Vincent

Re: RLink Driver installation problem on Win XP SP3

Update:

You must also take care of not letting Windows search  in "<Ride>\Driver", as then it would find both drivers and select the wrong one. (or maybe not, but don't take that risk...)

So if you select the manual driver search, you must point to "<Ride>\Driver\RLinkDrv\Jungo_WinDriver_2000_NT_XP\..." if in XP, and to "<Ride>\Driver\RLinkDrv\MS_WinUSB_XP_Vista\..." if in Vista.

Re: RLink Driver installation problem on Win XP SP3

Here is the RLink documentation, which contains mostly a summary of the USB driver problems and solutions:
ftp://www.raisonance.com/pub/RLink_USB_ … dRLink.pdf

Re: RLink Driver installation problem on Win XP SP3

Update:

The PDF referenced in the previous post has been updated.
It now includes an alternate recovery procedure for the USB driver to apply in case the normal one fails.
Thanks to klausr and hairykiwi for their detailed feedback. More information here:
http://www.stm32circle.com/forum/viewtopic.php?id=113