12 years ago.

LPC1768 Disconnects from computer

I am working on my mbed device but the device keeps disconnecting from the computer (the hardware is connected but the file drive closes).

What could cause this? How can I stop it doing it again?

3 Answers

12 years ago.

Nick, the most likely cause would be an application running on the mbed that accesses the local file system. See LocalFileSystem on the Handbook page. You can typically hold reset to replace/remove the program on the mbed to recover from this.

If this is not the cause, I looked for other discussions on this topic, and found nothing definitive - check the USB cable, that type of thing.

12 years ago.

This is typical behavior when you program the device, but it should come right back, if you haven't disconnected the USB plug. Are you doing anything in particular when you lose connection, or is it just random?

The original mbed LPC1768 doesn't do this, also the original LPC11u24 doesn't do it, all others do.

posted by Erik - 24 Feb 2014
12 years ago.

This happened to me as well. In my case, it was the USB cable. Changing it to another helped.