Content originally posted in LPCWare by Rob65 on Wed Jul 13 03:39:28 MST 2011
Quote: navman
It seem we have been able to trace the problems to an unshielded USB cable being used to power the board.
Unshielded cables are low speed only.
High-/Full-speed cables require a shielding according to the USB specification (see usb_20.pdf, page 92 & 102).
Use only high-/full-speed cables with the LPCXpresso boards.
I thought (and that idea is confirmed by the usb spec.) that low speed cables must have a fixed connection to the device. An unshielded USB cable with A and B connectors is not a proper USB cable (and is not allowed to carry the USB logo ...).
Use only cables that are marked "USB high speed" to prevent any problems.
Quote:
Once we replaced it with a shielded USB cables, things are much better. Although, we still have sporadic problems where we have to unplug and replug the USB cable or even restart the PC sometimes to get the LPC link recognized.
Sound like you are having a general problem with your setup.
Verify the power connections to your target board, what kind of power supply do you use, is it connected to the same power outlet as your PC, are you powering your application via the 3.3V output from the LPCXpresso module (i.e. the 3.3V regulator from the LPC-Link module) ?
[B]Is all your equipment properly grounded at one point?[/B] Is your PC connected to a power outlet with an earth connection?
Quote:
After much reading the posts, it seems most of these problems occur because the LPCxpresso IDE tries to reboot & change the driver for the LPC link. If Codered can build the LPC link firmware so this changing of drivers is not necessary (or atleast user can change depending on the need), then things will be much faster & less problematic. Is this possible Codered?
The LPC-Link module contains an lpc3154 and it uses DFU to download the driver after applying power the first time. Just make sure that you always have power to your LPC-Link module, then the LPC-Link only reboots once.
Again: if rebooting/changing the driver of the LPC-Link module is giving you any problems it is most likely you have a problem with the power connections in your system. If your target is powered through the LPC-Link module it is most likely that you are drawing too much current on the 3.3V connection from the board.
Regards,
Rob