LPC-Link2 fails to enumerate with CMSIS-DAP firmware

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC-Link2 fails to enumerate with CMSIS-DAP firmware

11,590 Views
lpcware-support
Senior Contributor I

Notes:

  • This FAQ applies to both the standalone version of LPC-Link2, as well as the version built into LPCXpresso V2/V3 boards.
  • For further background information see the FAQ: Booting LPC-Link2

 

Introduction

 

On some systems, after booting LPC-Link2 with CMSIS-DAP firmware, the booted debug probe does not enumerate correctly and the LPCXpresso IDE (or other toolchain) is unable to see the debug probe.This problem is normally caused by on old, obsolete, version of the VCOM driver being found by Windows instead of the the correct driver. To see if this is the cause of a problem on your computer, find the version number of the LPC-Link2 VCOM driver. The obsolete driver version is 1.0.0.0.

 

To find the version number of the LPC-Link2 VCOM driver

 

If you are using a soft-booted LPC-Link2 debug probe, start by booting your LPC-Link2. If your LPC-Link2 debug probe is booting from an image programmed into the flash, you can skip this step.

 

  • connect LPC-Link2 to your PC
  • open a Command Prompt and change to the LPCXpresso bin directory. e.g


    C:\nxp\LPCXpresso_(version)\lpcxpresso\bin

  • boot LPC-Link2 by running the boot_link2 script. e.g.
                                                            

    boot_link2

 

Once your LPC-Link2 has booted, find the device in Device Manager and look at the driver version number.

 

  • open the Windows Device Manager
  • expand the "Ports (COM and LPT)" section
  • RIght-click on "LPC-LinkII UCom Port", and select Properties
  • Click on the Driver tab of the Properties dialog

 

146944_146944.pngdevice_properties.png

Note that this image shows the current correct version of the driver (2.0.0.0).

 

Removing the obsolete 1.0.0.0 LPC-LinkII UCOM driver

 

To remove the obsolete driver, perform the following actions

  1. In Device Manager, right-click on the LPC-LinkII UCOM device and select Uninstall
  2. If there is an option to delete the driver software, make sure it is checked, and press OK
  3. Select the menu item Action->Scan for hardware changes
  4. In Windows Control Panel, select Add/Remove program or Uninstall a program option
  5. Find the LPC Driver Installer, right-click on choose Uninstall
  6. Let the uninstaller complete
  7. Switch back to the Device Manager and Scan for hardware changes again
  8. If the LPC-LinkII UCOM driver version is still present, Uninstall it again (steps 1 through 3) and repeat until the LPC-LinkII UCOM driver no longer appears
  9. Now run the lpc_driver_installer.exe found in the LPCXpresso "Drivers" directory, or downloadable from LPCXpresso Link2 USB driver package.

 

Note: A reboot is recommended after running the lpc_driver_installer.exe installer.

 

Check Windows - Devices and Printers to see if the device now appears correctly as an LPC-Link2 CMSIS-DAP Vx.xxx.

 

If this fails to correct the problem, there is one final thing to try:

 

  • Open a Command Prompt as the Administrative user and run the following commands
    cd %temp% 
    pnputil -e >devices.txt 
    notepad devices.txt 
  • Search devices.txt for an entry similar to this, and note down the Published name (oemXX.inf)
    Published name :            oem38.inf  
    Driver package provider :   NXP   
    Class :                     Ports (COM & LPT)  
    Driver date and version :   09/12/2013 1.0.0.0 
    Signer name :               NXP Semiconductors USA. Inc. 
    
  • Using the name notes above, run the following command (replacing XX with the number found above)
    pnputil -f -d oemXX.inf 

Original Attachment has been moved to: lpc_driver_setup.exe.zip

Labels (1)
0 Replies