This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365: Is DM365 USB same or similar to DM6446?

Hi,

My customer wants to support USB in uboot and found there is such support for DM6446 at http://git.denx.de/u-boot-usb.git/?p=u-boot.git;a=tree;f=drivers/usb/musb;h=11769901926211d41f079de542fad65d1a2bd40e;hb=3e88337b225bf796f6df21d.

I want to know if customer can use it for DM365 or not.  Would you pls help?

  • The USB peripheral on DM6446 is definitely similar to the USB peripheral used on DM365, a quick register comparison using SPRUFH9 and SPRUE35 has them almost perfectly identical with just one interrupt vector register defined in the DM365 but not in the DM6446. However I cannot really say for sure if the USB code you point out would work, there may be other unforeseen dependencies, on the other hand I can say that it would probably not be too hard to make it work for DM365 if it did not happen to work out of the build.

  • Chris,

    From refrering the Linux code it seems that you would have to enable the PHY 24MHz clock and turn on the GPIO33 for VBUS control in addition to what the existing DaVinci implementation does in the U-Boot tree.

    Beyond that I feel you would not have to do anything to get the desired MSC functionality working as USB Host.  Pl. do remember to set the jumpers on the EVM correctly for Host operation.

    regards

    swami

  • Swami,

    I have a somewhat similar task, but I want to boot my DM365-based device from the USB host. Do you think it will be possible to modify U-boot code to make it work as a USB device, not host?

    Thanks.