**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

LPC-Link may not be found when IDE run under Virtual Machine

If using the Code Red IDE with LPC-Link under a Virtual Machine (such as Virtual PC, VirtualBox, VMWare etc), the LPC-Link may not be found. This article describes the background and explains a workaround.

Background

The LPC-Link contains an LPC3154 that manages the USB connection to the host PC and controls the debug of the target board (via JTAG/SWD).

The LPC3154 is a RAM-only device, so must be loaded with firmware every time the power is applied. When the LPC3154 is powered up, it enters a special USB mode, known as DFU (Device Firmware Update), which allows the host PC to load the firmware required to turn it into an LPC-Link.

After the firmware has been loaded and runs, it reconfigures the USB as different device, but without physically disconnecting from the USB.

Many Virtual Machines fail to recognise the reconfiguration and so the IDE cannot find the newly booted LPC-Link.

Workaround

After this occurs, you can force the VM to disconnect from the DFU USB device (although it may now be 'unknown') and then to reconnect to the newly booted device.

The exact steps to do this are dependent on the VM being used, but most of them provide the facilities to do this.

LPCLinkVMissue (last edited 2010-09-20 15:37:15 by CrSupportAb)