Hi,
 
We have a requirement for using a DM6446 in USB gadget mode to connect to a PC. 
Ignoring the 'incorrect' connector problem I have built the kernel with the USB 
stack built in gadget mode - here is the snippet from the kernel config (full 
config attached). The kernel is the 2.6.10 'unified' kernel (from 
mvl_4_0_1_demo_lsp_setuplinux_01_20_00_014.bin)
 
#
# DaVinci 644x USB support
#
# CONFIG_USB_MUSB_HOST is not set
CONFIG_USB_MUSB_PERIPHERAL=y
# CONFIG_USB_MUSB_OTG is not set
CONFIG_USB_GADGET_MUSB_HDRC=y
# CONFIG_USB_INVENTRA_FIFO is not set
# CONFIG_USB_INVENTRA_DMA is not set
CONFIG_USB_TI_CPPI_DMA=y
CONFIG_USB_INVENTRA_STATIC_CONFIG=y
CONFIG_USB_INVENTRA_HCD_LOGGING=0

Before connecting to the PC but with the file backed storeage gadget module 
loaded, I checked the voltage (on TP 60) expecting 0V but got 5V which is the 
5V supplied to the USB connector.
 
Can somebody please confirm that this is correct as my (somewhat limited) 
understanding of USB is that the host end will supply the 5V which if true, 
suggests that the gadget mode is not working correctly. I compared outputs with 
a DM355 with the kernel built the same and this does not have 5V on the 
connector at all. The DM355 works as a gadget with no problems incidentally.
 
I have studied the circuit diagram for the DM6446 and can see that there is a 
i2c device that controls whether or not the 5V is turned on - what I do not 
know is where/how this piece of hardware is driven. Any pointers would be 
welcome....
 
Regards
 
Phil Q
 
Phil Quiney, Senior Software Engineer
Trinity Convergence
Cambridge Business Park
Cowley Road
Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560
www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

Attachment: dm6446_linux-2.6.10_mvl401.01_20_00_014.config
Description: dm6446_linux-2.6.10_mvl401.01_20_00_014.config

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to