11 years, 1 month ago.

Any one successfull in interfacing USB device to mbed??..

Hello,I am trying to interface USB mass storage device to mbed lpc1768.Its not working,.anyone successfull,.please help me out.

prashanth shetty prashanthshetty149@yahoo.com

3 Answers

11 years, 1 month ago.

I just tried it with an mbed application board, and the MSCUsbHost program simply works. So the conclusion if you just import that program and it doesnt work, is that either your mbed is broken (unlikely, but cannot be ruled out), you made a wiring error, or your usb stick is broken. And part of wiring errors could also for example be that your USB socket is broken.

11 years, 1 month ago.

hello Erik,i tried with two different boards.yeah i agree with wiring error,but i cross checked it too,.and USB stick is working with other device. The response is same with other USB sticks too.so couldn't figure out the issue. Can you just share the link from where you imported the program?..And thanks a lot for your response.

Regards Prashanth shetty

I imported this code: http://mbed.org/users/igorsk/code/MSCUsbHost/

Used it on an LPC1768 in an mbed application board. I believe you mentioned it earlier, but you are sure the required pull up resistors are on that board? Does it supply the USB devices with power?

posted by Erik - 10 Mar 2013
11 years, 1 month ago.

The USB is very sensitive to wiring. Mine wouldn't work when I tried to solder a PCB mount USB connector to a .1" 1x4 header using a protoboard (too much capacitance on the signal lines, I guess). Only got it working using a backpanel USB connector I found at the bottom of my old PC parts drawer. Also make sure 5V is being properly provided.