Can I connect USB host with USB slave of mini2440?

Jialing
Since mini2440 has both USB host and USB slave, can I connect these two
ports with the provided cable? 
I plan to write one USB gadge driver (for the USB slave) and one device
driver (for the USB host) to let them communicate.

kamejoko80
Yes, you can do it.