i2cdriver icon indicating copy to clipboard operation
i2cdriver copied to clipboard

Trying to run i2cDriver.exe on windows 10

Open txf- opened this issue 4 years ago • 14 comments

I installed the application using the installer. Unfortunately I have issues using it.

Either the application window does not appear, but the app remains running in the process list.

Or the application window does show up but I can't actually select any COM ports. image

I tried running the git version of i2cgui.py from the command line, it launches the window, but does not let me select any COM port, it's empty as per screenshot above.

connecting with i2ccl.exe works.

txf- avatar Jun 21 '20 12:06 txf-

OK, there seem to be two issues here.

  1. Running the current i2cgui.py Python doesn't connect to COM ports

  2. The packaged version of the GUI does not launch reliably

Can we start with (1)... a few quick questions

  • what version of Windows are you running this on?
  • when you run i2ccl.exe, do you get output for the "i" command, e.g. i2ccl.exe COM6 i
  • are there other serial devices attached?

jamesbowman avatar Jun 22 '20 13:06 jamesbowman

uptime 365 4.856 V 15 mA 30.6 C SDA=0 SCL=1 speed=100 kHz

scottbob09 avatar Jun 23 '20 18:06 scottbob09

OK, thanks.

When you start the GUI on the command-line, you can supply the port, which avoids the GUI's discovery process, e.g.

python i2cgui.py COM6

This should be worth a try.

jamesbowman avatar Jun 24 '20 02:06 jamesbowman

Supplying the com port as an argument works

txf- avatar Jun 24 '20 19:06 txf-

For me as well

scottbob09 avatar Jun 25 '20 17:06 scottbob09

I have the same issue with the Windows 10 application. Is there any plans on updating it? running

i2ccl.exe COM6 i

responds fine, but the Windows 10 gui application doesn't populate the comports.

madgrizzle avatar Jan 28 '21 14:01 madgrizzle

If you start the gui with the port on the command-line

i2cgui COM6

does it work?

jamesbowman avatar Jan 28 '21 15:01 jamesbowman

I will try tonight. I've only tried using the windows icon.

madgrizzle avatar Jan 28 '21 15:01 madgrizzle

I’m having the same problem. Port won’t show up in gui. Doesn’t help if I run "i2cgui COM7" (“i2ccl.exe COM7 I” works: “uptime 6 5.167 V 0 mA 25.9 C SDA=1 SCL=1 speed=100 kHz”) Running on W10 Enterprise 20H2 (19042.746)

vonkonow avatar Feb 01 '21 08:02 vonkonow

@vonkonow

When you run "i2cgui COM7" from the command-line, what does it do?

jamesbowman avatar Feb 01 '21 14:02 jamesbowman

@vonkonow

When you run "i2cgui COM7" from the command-line, what does it do?

The program started, but port was empty (like the first image in this thread). However after running the program as admin and a reboot later, everything seems to work fine now.

vonkonow avatar Feb 02 '21 06:02 vonkonow

I'm seeing the same issue as @vonkonow and @madgrizzle.

I'm running Windows 10 (in VirtualBox, on a Mac Catalina host). i2ccl COM3 i returns: uptime 448 5.152 V 0 mA 28.2 C SDA=0 SCL=0 speed=100 kHz

but when I run the gui, either by double-clicking or running i2cgui COM3 I get an image the same as the one at the top. This also happens if I try those things as Administrator.

Unfortunately for me, though, a reboot hasn't fixed the issue.

RoryMacKean avatar Apr 17 '21 21:04 RoryMacKean

Hey all,

I stumbled upon the same issue using windows 10. I went into the device manager , set it up as generic COM port. Then when it was listed there i updated the driver (as it still wasnt working ) with the ft230xq ( https://ftdichip.com/products/ft230xq/ ) driver.

This resolved the issue. So my guess is that windows mislabeled it due to missing drivers. I just forced it to be recognized as an COM port and then allowed the proper driver to interact.

Hope this helps people with similar problems!

MarkLuinenburg avatar May 25 '21 08:05 MarkLuinenburg

i2cgui then the com port from the command prompt works for me too with Windows 10.

GOTO-GOSUB avatar Aug 26 '21 07:08 GOTO-GOSUB