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.

F28377D usb_dev_serial

Other Parts Discussed in Thread: CONTROLSUITE

I have a new F28377D card, and am trying to get the example project "usb_dev_serial" from ControlSuite running as a start point for something. The comments in the code state:

//! Connect USB cables from your PC to both the mini and microUSB connectors on
//! the controlCARD.Figure out what COM ports your controlCARD is enumerating
//! (typically done using Device Manager in Windows) and open a serial terminal
//! to each of with the settings 115200 Baud 8-N-1.  Characters typed in one
//! terminal should be echoed in the other and vice versa.

The FTDI virtual COM port through the mini USB connector is fine and shows in device manager as 'USB Serial Port (COM4)', but when I compile and load the program, the other COM port (the one through the micro USB, direct to the chip) is not recognised by my PC. It shows up in device manager, but just as 'Virtual COM Port' with a yellow exclamation mark and no driver. In this state, I cannot communicate with it via a terminal window.

Is there any driver available for this, or anything else I need to do to be able to get this running properly?

  • Hi Gordon,

    Gordon McKenzie said:
    Is there any driver available for this, or anything else I need to do to be able to get this running properly?

    You can find the driver here: C:\ti\controlSUITE\device_support\F2837xD\v140\F2837xD_common\windows_drivers


    Regards,

    Gautam

  • Thanks for that - it seems fine with the driver installed.

    One further thing on this, now that the basic program runs. I'd like to modify the program to access to the ascii data that the F28377D receives from the terminal windows (rather than just sending it straight back out to the other terminal), but I'm struggling to find where it is stored. After looking around, it seems that there are structures set up called 'g_sRxBuffer' and 'g_sTxBuffer', but when looking at these in the debugger, it doesn't seem that any elements of the structures store the actual characters. Any suggestions as to how I can access them?
  • Great! Have a look here:

    // Get a character from the buffer.
            //
            ui32Read = USBBufferRead((tUSBBuffer *)&g_sRxBuffer, &ui8Char, 1);

    Regards,

    Gautam

  • That's great, I think I should be able to sort it form there. I'm not familiar at all with USB functions (as you'll have guessed!) so that was a great help.

    Thanks again,

    Gordon.
  • All you've to do is "Keep Experimenting"!
    Let us know if you face any further issues or have doubts. Also, for new topics open a new thread.... this would be helpful for others.

    Regards,
    Gautam
  • I'm trying to get the usb_dev_serial project running (v150) and I'm getting a similar error.

    When I attach the device and start the program I get a Virtual Com Device in my device manager but when I try to install the driver I get the following error:

    Windows found driver software for your device but encountered an error while attempting to install it. This security ID may not be assigned as the owner of this object. If you know the manufacturer of your device, you can visit its website and check the support section for driver software.

    I tried downloading Windows Driver Kit and signing the drivers as explained in the "signing.txt" file in the directory but that made no difference. I have full admin rights on the machine as well.

    Is there something I'm missing that I need to do in order to install the driver?

    Thanks

  • I got this issue resolved. Even though I'm a member of the Admins group for some reason I could not do this install myself (I have installed other drivers successfully). I had IT do the installation and everything is working now.

    Thanks
  • That's Great!

    Goodluck & Regards,
    Gautam