Hi
I could find a lot of sample codes which are just based on USB device or just USB Host, But I need to connect an USB Flash card to MCU through USB Host and at the same time I need to connect MCU as a device to PC.
With this way I should connect data between Flash card to PC as a Mass storage device by firmware (I don't know OTG can helps me or not?).
For example if you connect this device to PC you can see a removable device which is exactly that Flash card on USB host of MCU.
Besides, my MCU is LPC2478 or LPC2388.
How could I implement such a project?
Thanks in advance
Maybe till now you didn't understand me.
I need to combine USB host and device with each other and due to I don't know about USB I need sample code, link, or application note or else
then I found it takes a long time and Tsuneo Chinzei said give it up.
OK for this project I for reducing the time I found another way and this is my solution. it works properly but know it's not complete. here is the schematic
" help me. maybe your helps be useful for anyone else.