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
my real question from first post to end was clear, "How to combine USB host with device"
but all your answer was "misunderstanding"
I said, I found a trick with VNC1L to cope my project but I need sample and application note about it. but you and the others just said "misunderstanding"
if you review my all posts you can see that my question was "How to combine USB host with device".
if anybody wants to ask one question he or she should explain it with full details. I wanna combine them you asked me how you can connect and disconnect USB stick. how you can manage the PC and UB on MCU.
OK doesn't matter.
attention to manager of this forum: would you please remove this topic?
because these quarrels are not suitable for this website.
thanks a lot about your answers