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.

TMS320F28069: USB driver issue

Part Number: TMS320F28069
Other Parts Discussed in Thread: C2000WARE

Hello,

We are trying to make usb_dev_bulk example working on TMS320F28069 MCU with Windows 10 host PC. We use drivers from C2000Ware_4_01_00_00\utilities\windows_drivers. After connecting USB cable to host PC and run usb_dev_blk example on the board "USB device not recognized" message displays. I can see device in device manager as Unknown USB Device (Device Descriptor Request Failed) as on the image below:

In usb_dev_bulk example code I just changed the clock setting (external 20MHz oscillator is assumed, but we have 12MHz one on our board) and UART TX changed to GPIO12. I can see the output logs at UART console correctly. 

On the hardware side USB_DP/USB_DN signals are directly connected through 22R resistors. 

Host PC is Windows 10, OS Build: 19042.1526

Here are the output logs from setupapi.dev.log file, after driver installation when device is powered on and connected to host PC : 

>>>  [Device Install (DiInstallDriver) - C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_bulk.inf]
>>>  Section start 2022/03/14 09:42:24.625
      cmd: "C:\Windows\System32\InfDefaultInstall.exe" "C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_bulk.inf"
     ndv: Flags: 0x00000000
     ndv: INF path: C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_bulk.inf
     dvs: {DrvSetupInstallDriver - C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_bulk.inf}
     dvs:      Flags: 0x00000000
     dvs:      {Driver Setup Import Driver Package: C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_bulk.inf} 09:42:24.677
     dvs:           Driver package already imported as 'oem33.inf'.
     dvs:      {Driver Setup Import Driver Package - exit (0x00000000)} 09:42:24.704
!    dvs:      Unable to find any matching devices.
     dvs: {DrvSetupInstallDriver - exit(00000000)}
<<<  Section end 2022/03/14 09:42:24.757
<<<  [Exit status: SUCCESS]

Thanks for any help.

  • Hi, 

    Can you try uninstalling the existing driver and installing it again? 

    Please try setting the driver path to "C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers" and check if the driver gets installed correctly.

    Best Regards

    Siddharth

  • Hi, 

    I tried to uninstall device in device manager, reconnect the device and then tried to "Update driver". I set path to "C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers", but it ends with message: "The best drivers for your device are already installed".

    Regards 

  • Hi, 

     Looking at the setupapi.dev.log file, looks like windows is unable to find any matching device.  What is the VID that you are observing ? 

    Best Regards

    Siddharth

  • Hi,

    I'm using default values from usb_dev_bulk example:  USB_VID_TI_1CBE(0x1cbe),  USB_PID_BULK(0x0003)  which corresponds the ones in INF file   "VID_1CBE&PID_0003".

    Regards

  • Not sure why Windows is not recognizing the device. If the VID and PID match then it should have worked. 

    What version of Windows are you using?  If you access to another PC, can you try it out on that ?

    Best Regards

    Siddharth

  • I have already tried on two PC both with WIndows 10, OS Build: 19042.1526 / OS Build: 19044.1526 , but with same result.  As I mentioned before I did not change anything except the clock setting in the usb_dev_bulk example. 

    Changed clock:  (exampel is written for 20MHz oscillator, but we have 12MHz assembled) 

     SysCtrlRegs.PLLCR.bit.DIV = 7; // 4 was original

     PLL2MULT.bit.PLL2MULT= 10; // 6 was original 

  • Hi,

    I don't think it should matter.  Can you try with the usb_dev_serial example ?

    Best Regards

    Siddharth 

  • HI, 

    I tried usb_dev_serial example, but with the same behavior.

    Here is the output from setupapi.dev.log :

    >>>  [Device Install (DiInstallDriver) - C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_serial.inf]
    >>>  Section start 2022/03/18 06:59:10.699
          cmd: "C:\Windows\System32\InfDefaultInstall.exe" "C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_serial.inf"
         ndv: Flags: 0x00000000
         ndv: INF path: C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_serial.inf
         dvs: {DrvSetupInstallDriver - C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_serial.inf}
         dvs:      Flags: 0x00000000
         dvs:      {Driver Setup Import Driver Package: C:\ti\c2000\C2000Ware_4_01_00_00\utilities\windows_drivers\usb_dev_serial.inf} 06:59:10.780
         dvs:           Driver package already imported as 'oem37.inf'.
         inf:           Could not find include INF file "layout.inf". Error = 0x00000002
         dvs:      {Driver Setup Import Driver Package - exit (0x00000000)} 06:59:10.827
    !    dvs:      Unable to find any matching devices.
         dvs: {DrvSetupInstallDriver - exit(00000000)}
    <<<  Section end 2022/03/18 06:59:10.870
    <<<  [Exit status: SUCCESS]