Hi Swami,
 
I have convinced myself that the cable is wrong.
 
I used a 'Gold-X' cable with interchangeable ends and simply used 2xA males. 
That won't be correct as pins 1234 will connect to 4321 at the other end.
 
Let me get the soldering iron out....
 
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/> 

 

________________________________

From: Subbrathnam, Swaminathan [mailto:[EMAIL PROTECTED] 
Sent: 30 June 2008 14:52
To: Phil Quiney; [email protected]
Subject: RE: DM6446 in USB Gadget mode



Phil,

            What is your configuration of the J7 jumper on DM6446 EVM  ?

            

            If it is set to the Host mode then your observation on the TP60 at 
5V is probably correct.  If so you need to move the J7 jumper to the Device 
mode and then DM6446 will work as Gadget without issues.

 

Regards

Swami

PSP downloads at : 
http://software.ti.com/swcoe/intranet/reports/pds/PSP_releases.php 
<http://software.ti.com/swcoe/intranet/reports/pds/PSP_releases.php> 

Office : +91-80-25048629

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Quiney
Sent: Monday, June 30, 2008 7:13 PM
To: [email protected]
Subject: DM6446 in USB Gadget mode

 

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/> 

 

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

Reply via email to