Git Product home page Git Product logo

Comments (10)

zyga avatar zyga commented on September 26, 2024

I have the same machine, it runs ubuntu though. I suspect that windows drivers don't allow those ports to work with high-speed or full-speed devices without putting a hub in between. Could you please tell me if your device works fine when plugged in via a USB 2.0 hub?

I'm not familiar with windows development much, it also could be some queer side-effect of how windows 7 USB stack works (usb3 is not native in windows 7 IIRC).

Thanks
ZK

from lm4tools.

udif avatar udif commented on September 26, 2024

I will test this tomorrow, however, I must note that TI's own LM4 flashing tool works just fine even when the board is plugged into the USB 3.0 ports. (http://www.ti.com/tool/lmflashprogrammer)

from lm4tools.

zyga avatar zyga commented on September 26, 2024

In that case it could also be libusb libusbx bug. Could you please tell me which version of which usb library are you using?

Thanks
ZK

from lm4tools.

utzig avatar utzig commented on September 26, 2024

@udif Could you test the output with the lm4flash.exe build available here:

http://utzig.net/files/lm4flash.exe

This version was built with libusb debugging enabled and should output a lot of data which you could than post here. That can maybe help us debug what is happening.

from lm4tools.

udif avatar udif commented on September 26, 2024

Here is the debug output when plugging into the USB 3.0 port:
C:\energia-0101E0009\hardware\tools\lm4f\bin>\Users\udif\Desktop\lm4flash.exe xxx

libusb: 0.000000 warning [init_device] could not get node connection information
for device '.\USB#VID_1CBE&PID_00FD#0E1039D7': [87] The parameter is incorrect.

Unable to find any ICDI devices

Here is the same for a USB 2.0 port:
C:\energia-0101E0009\hardware\tools\lm4f\bin>\Users\udif\Desktop\lm4flash.exe xxx

Found ICDI device with serial: 0E1039D7

fopen: No such file or directory

(In case this is not clear, in both examples I used a nonexistent file xxx, but that doesn't matter as USB discovery is done before the filenames are looked up).

from lm4tools.

utzig avatar utzig commented on September 26, 2024

I'm sorry but I could not test it before but looks like that build really did not put out the required debug information. I just setup my win32 system now and rebuild lm4flash linked against both libusb and libusbx. I ask you to test both versions and send me the output. Since the output should be a little big you can send it by email if you want. And maybe one of the builds will work but send me the outputs anyway.

http://utzig.net/files/lm4flash_libusb.exe
http://utzig.net/files/lm4flash_libusbx.exe

Sorry for the inconvenience!

from lm4tools.

udif avatar udif commented on September 26, 2024

I've emailed you 4 log files, two for each tool, one where detection works (USB2) and one where detection failed (USB3).

from lm4tools.

utzig avatar utzig commented on September 26, 2024

Based on the log outputs the problem doesn't even seem to be related to libusb itself. It's probably related to the drivers for you USB3 peripheral. There's a very similar issue reported on this thread on libusb mailing list with lots of good info:

http://libusb.6.n5.nabble.com/libusb-windows-devices-only-detected-in-late-pass-ignoring-td4463538.html

I could try building a 64-bit version lm4flash. I'm not sure how to do it but I'll verify today and send you the binary for testing. Not sure if that will make any difference though.

Btw, did you try updating the drivers? Also the problems related in the thread seem to affect only Win7 x64. Are you also using x64 version?

from lm4tools.

sultanqasim avatar sultanqasim commented on September 26, 2024

I have the same issue using Energia with my 2012 MacBook Pro (with only USB 3 ports) running Windows 7 x64.

from lm4tools.

udif avatar udif commented on September 26, 2024

Yes, I'm running on Windows 7 x64.
I'll check my drivers next time I use this machine (it's at work).

from lm4tools.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.