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.

DRV8301-HC-C2-KIT: GUI not connecting

Part Number: DRV8301-HC-C2-KIT

I have followed the directions in the QSG (quick start guide). All the appropriate LEDs seem to light up correctly. LD1 green, LD3 slowly blinking red.

SW3: OFF (UP) position
SW2: Position 1 = ON (UP), Position 2 = ON (UP)

The USB driver installed automatically. When I run the GUI that's included on the flash drive, it won't connect. I can't seem to find that there is a specific COM port for setting it up manually. Don't know if that's a Windows 10 thing.

Any help in figuring this out would be appreciated.

  • I'm guessing this is the InstaSPIN BLDC GUI? I'm not sure what version of it is provided on the flash drive. There's also a version in controlSUITE (under \development_kits\DRV830x-HC-C2-KIT_v105\) that may be newer. Have you tried that one?

    Whitney
  • Thanks for the suggestion.

    InstaSPIN-BLDC_GUI_DRV83xx_v104.exe looks to be the same version in both locations (flash drive and in controlSUITE location.)

    Tried the one in controlSUITE with the same results.

    Connecting the USB cable makes the sound as if it's connected and I can see it in Devices as Texas Instruments XDS100+R232 V1.0. The GUI is not recognizing that it's there. The instructions say that you can set it up manually by telling it which COM port it is set up as, but I am unable to get it from the device. If I click on it, it only gives me an option to remove it.

  • Have you loaded the .out into your device? Can you see the COM port in the device manager?

    Whitney
  • I was under the assumption that the .out was already preloaded. I'm new to how this works. I'm not sure how to load the .out. Help in that regard would be helpful.

    I had to unhide hidden devices to see the COM port. Looks like it's COM9.

  • I'm assuming the .out file that I would load is InstaSPIN-BLDC_GUI_DRV8301_v104.out. I haven't been able to find how to load it.
    Also, I tried changing the port by hand to COM9 and it changes back to COM1.
  • The documentation does make it sound like the device should be pre-flashed with the application, but reload it just in case. Yes, the .out you mentioned should be the right one. You can load it with Code Composer Studio--are you familiar with CCS yet? The Code Composer YouTube channel has some nice training videos.

    You can load the .out by using the Target Configuration view to make a new Target Configuration for your board, right clicking on it and selecting "Launch", connecting to the CPU (click on the CPU and select "Connect Target"), and Load Program for the .out you're using.

    I'll look into what might cause the COM port to reset. You should also make sure that the switch settings on your controlCARD match those described in the quick start guide.

    Whitney
  • In doing some checking, it looks like the driver is not installing correctly. I have Windows 10, 64 bit machine. Tried uninstalling and reinstalling and still getting an error. "Windows found drivers for your device but encountered an error while attempting to install them."

    The documentation says to: Do not let Microsoft search for the driver, instead browse to the following location on the USB stick shipped with the kit <Drive Name:\Drivers>,\

    there is not a 'drivers' folder on the USB stick (flash drive).

  • I've tried finding the appropriate Windows driver on the ti web site with no avail.

    Please help?

  • Thanks for your patience. Were you able to reload the application? If you don't want to deal with CCS just yet, we also have an online UniFlash tool (http://dev.ti.com/) that can load the .out for you.

    I don't know what driver that document is referring to either. As long as you're able to connect to the device using an XDS100 and the COM port is showing up in your device manager, you shouldn't need to install anything else.\

    Can you show me a screenshot of what you're seeing in the connection wizard?

    Whitney
  • The UniFlash tool can't find the port either. I'm not sure why the USB port is not finding and/or installing the Windows driver. The first screen shot shows 3 Texas Instruments USB ports, the COM7 device is the one that goes with a LAUNCHXL device that I have and it works correctly. The COM9 device, I have now idea what it is associated with. The device with the error is the one associated with the device I'm trying to get up and running.

    I removed both the COM9 device and the errored device and reattached the CRV8301-HC-C2-KIT USB, the results are shown in the second screen shot.

  • I wouldn't think the driver for the controlCARD (is it an F2803x that came with the kit?) would be any different than the one that's working for your LaunchPad. I didn't understand what you were saying about COM9--is that this device that you're having trouble with or something else?

    Sometimes the FTDI on the boards can turn out to be programmed incorrectly. You can follow the steps Tommy posted in this thread to look into that, although your issue doesn't seem to be showing quite the same symptoms: e2e.ti.com/.../2340954

    As a note, sometimes CCS (and potentially UniFlash) will get confused if you have more than one XDS100 device connected at the same time. You can make it work with some serial number configuration, but by default it can cause some issues. It might not be relevant to this issue since we're talking about COM ports, but it might not be a bad idea to try unplugging the LP to be sure.

    What version of CCS are you using?

    Whitney
  • The COM9 was just showing up as a TI device. Not sure where it came from. It didn't seem to be the one I was having trouble with.
    I haven't had the LP plugged in at the same time.
    I will look at the other post that Tommy posted.

    I am using CCS version 8.

  • Tried the MPROG tool and I am attaching a screen shot of the parsed data. Reprogrammed it, it gave a new serial number. Unplugged and plugged it back in. I am having the same problem. It makes a new device show up, but it still is not accepting the windows driver and generating a virtual COM port.

  • In the events tab for the device in my windows Device Manager is the following message:
    Driver Management concluded the process to install driver xds100port.inf_amd64_0aa290ede59862c8 for Device Instance ID FTDIBUS\VID_0403+PID_A6D0+DR3HB1N0B\0000 with the following status: 0x2.
    I don't know if this helps chase down what is going on.

  • Scott,

    Whitney asked me to look into this some more from the emulations side; I'd like to make extra sure that the FTDI has the correct programmation.  I have attached a .txt file to this post, please rename the extension to .ept after you download it and then use it to re-program the XDS100v1 on the control card.  The method described by Tommy assumed that the correct v1/v2 driver was programmed but the COM port was wrong.  I'm wondering if you have the incorrect driver i.e. XDS100v2 driver was incorrectly programmed from the factory to begin with.  Let me know if this works.

    3173.XDS100_wUART.txt
    [Basic Details]
    Device Type=5
    VID PID Type=1
    USB VID=0403
    USB PID=A6D0
    [USB Power Options]
    Bus Powered=1
    Self Powered=0
    Max Bus Power=200
    [USB Serial Number Control]
    Prefix=TI
    Use Fixed Serial Number=0
    Fixed Serial Number=12345678
    [USB Remote WakeUp]
    Enable Remote WakeUp=0
    [Windows Plug and Play]
    Enable Plug and Play=1
    [USB String Descriptors]
    Manufacturer=TI
    Product=Texas Instruments XDS100+RS232 V1.0
    [Programming Options]
    Only Program Blank Devices=1
    [BM Device Specific Options]
    USB Version Number=1
    Disable Serial Number=0
    IO Pin Pull Down in Suspend=1
    [Dual Device Specific Options A]
    RS 232 mode=1
    245 FIFO mode=0
    245 CPU FIFO mode=0
    OPTO Isolate mode=0
    High Current Drive=1
    [Dual Device Specific Options B]
    RS 232 mode=1
    245 FIFO mode=0
    245 CPU FIFO mode=0
    OPTO Isolate mode=0
    High Current Drive=0
    [Dual Device Driver Options A]
    Virtual Com Port Driver=0
    D2XX Driver=1
    [Dual Device Driver Options B]
    Virtual Com Port Driver=1
    D2XX Driver=0
    [R Device Specific Options]
    Invert TXD=0
    Invert RXD=0
    Invert RTS#=0
    Invert CTS#=0
    Invert DTR#=0
    Invert DSR#=0
    Invert DCD#=0
    Invert RI#=0
    C0 Signal=-1
    C1 Signal=-1
    C2 Signal=-1
    C3 Signal=-1
    C4 Signal=-1
    Enable Ext Osc=0
    High Current I/O=0
    Load D2XX Driver=0
    In EndPoint Size=0
    

    Just a quick note on SW3;   If you are only using the GUI to connect via the serial link SW3 = OFF is fine; but if we do manage to get the COM port in Windows device manager resolved and you still have communications issues then we may need to re-program the flash image on the F28035.

    This would require connecting to CCS and to do so putting SW3 in the down/on is required, those steps are detailed in the How to Run Guide here: C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\~Docs\ if needed.

    Best,
    Matthew

  • Matthew,

    I loaded in the ept file you gave me. It didn't make any difference. When plugging back in the USB cable, the windows notification popup in the lower right corner informing me that it's installing a driver and that it was successful. But in looking at the Device Manager, it shows that there was an error and no virtual COM port.

    It looks like the only difference between what I had before and the new one was the serial number prefix.

    Thanks for helping, but I don't think we're there, yet.

    Scott

  • Scott,
    Thanks for the quick update. I'm going to try and locate an ISO control CARD here and see what the MPROG spits out on my end.

    If you have CCS installed, could you try flipping SW3 to ON and seeing if you can connect through the FTDI/XDS100 through the JTAG port? I'm curious if its only the COM port that is busted on the image or the whole thing.

    Matt
  • Matt,
    I flipped SW3 to ON. Although, I'm new and I don't know what to do to try and connect through the FTDI/XDS100 through the JTAG port. I have CCS v8.
    Scott
  • TMDSCNCD28035ISO.ccxmlScott,

    No worries, will walk  you through it:

    1)Under "View" select "Target Configurations" in the bottom section of the drop down

    2)Right click in the Target Configurations window that just opened up and select "Import Target Configuration" and load the attached .ccxml

    3)Right click on the TMDSCNCD28035ISO.ccxml you just loaded and select "Lauch Selected Configuration"

    4)If the emulator portion of the FTDI is working this should bring up the Debug view with your .ccxml listed at the top and both a C28xx_CPU and CPU1_CLA debug probed listed below.  If this works then the emulation path is good

    5)Now right click on the C28xx_CPU1 and click "connect"  

    6)As long as there is no pop up error we are good(you should see the C28xx_CPU1 change from "Disconnected" to "Suspended".

    Best,

    Matthew

  • Matthew,

    It worked as you described. What's next?

    Scott

  • Scott,
    Great, open this file: C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\~Docs\InstaSPIN-BLDC_Lab_sprabn7.pdf

    This should guide you through some of what we already did, but the relevant section starts with step 11 on page 4. This is where we are going to "Reflash" the image on the device. The next steps after this attempt to connect with the GUI, so let's see if that fixes things.

    Matt

  • Matt,
    I don't have a 'Target' menu item. I've looked around in the menu system and can't find anything that looks like 'Load Program' either.
    Thanks,
    Scott

    P.S. I did a search and found it. Trying it.

  • Loaded InstaSPIN-BLDC_GUI_DRV8301_v104.out. Followed the instructions for closing down, disconnect, reconnect, etc. Still not working.
  • Rebooted my computer. Now things seem to be working correctly. The GUI is connecting, etc. Now I just need to get the motor to run.
  • These things that I did to get this working look like it fixed the problem. Also, in the last effort to get it working, I ended up removing the LaunchPad driver. That may have been the problem all along. Even though the LaunchPad wasn't connected, it's windows driver may have been causing problems. Mentioning this because if someone has the same problem, try removing any other TI windows drivers first.