hextreeio / faultier-python

Python control library for the Faultier fault-injection tool.
8 stars 2 forks source link

Faultier initialization on Windows 10 #3

Open Grivus opened 2 weeks ago

Grivus commented 2 weeks ago

Hi there! It appears, on Windows 10 I can't connect to faultier, until the location check is removed in device matching in Faultier.py l:89. After that, everything works fine. I wonder, what is the purpose of this check and why it should or should not be there?

nezza commented 1 week ago

Thank you for your feedback!

The reason for the check is that we are looking for a way to determine which COM port is the one exposed by the first endpoint of the device - this is what worked on our test-machines, but seems to not work for some others...

As a workaround until we have fixed this you can explicitly give the COM-port (i.e. COM4) to the constructor (faultier.Faultier("COM3"))