Dear Wim.
Thank you for your time and valuable response. I will just go thru your list and make a response for each.
Power Jack J1: Thank you for noticing. Yes, there should definitely be a protection diode, though we aren't going to make overvoltage protection as the user would have to take care of this by himself - this board is only a periphiral board, so the user should know the mbed limitations!
IC1 7805: Sure, we should have this too!
IC1 7805: This is one of our main concerns, as the problem lies in the Vu on the mbed. The Vu only supplies 5V when the mbed is powered by its' on board USB port. But as we need 5V for USB Host applications, we need to be able to provide these 5V whether the mbed is powered thru the on board USB or by an external power supply. So what would you recommend us to do? We would like to avoid too many jumpers!
X2 USB Host: I can't see why this should have any effect on the USB Host supply. Or yes, I can see that the 7805 won't be able to provide 5V, which is used for Host, when Client mode is used and power is derived from there. But yet again, the mbed can't support both USB Host and Client at the same time, so this doesn't matter! The user should just be aware of that he can't use both!
X1 and X2: Well I see the problem. Yet again we have to tell the user that Host and Client can't be used at the same time - but to avoid damaging your computer or mbed we might make the jumper solution.
JP1: The jumper solution also fix's this problem as you describe - though we haven't had any problems with these resistors being connected between D+ and D- (when JP1 is removed). Both USB Host and Client have been working.
Yet again thank you for your valuable response.
Hopefully you also have some wise words on the Vu 5V problem as elaborated.
Best Regards
Thomas Jespersen
CEO, TKJ Electronics
Hello everyone. First of all I might have fried my mbed, it didn't let out any magic smoke or anything. It just suddenly stopped working. The problem happend when I connected it to a breakout board, which has a 5V regulator that is connected to VU (pin 2 on the right side), while the USB cable was plugin in to my laptop. Everything working normal before, when I only had it connected to my laptop with the USB cable, but as soon I plugged in my cable for the regulator the LED's went off, so I quickly pulled out the cable for the regulator. Now I won't start up (LED not turned on and it doesn't gets mounted as a flash drive on my computer).
My question is: can anything happen if you connect 5V to VU while also having a USB cable plugged in, as that seems to be the only reasonable explanation why it might have fried. Is one even aloud to connect 5V directly to VU? The reason I did that, was because I wanted USB host to work, without having to connect the USB cable.
I have also tried connecting 5V to VIN, but it's still doesn't turns on. I think I might fried the FPF2123 (IC3), but I can't figure out why it might be fried, because the datasheets says that it has "reverse current blocking" (http://www.fairchildsemi.com/ds/FP/FPF2123.pdf). But if I measure the output pin (pin 5) the voltage is only about 100 millivolts.
Any helped would be much appreciated, as I would really like it to be up and running again :(