Read Failed Auto Disconnect

Moderators: TomKerekes, dynomotion

Post Reply
Chevvron
Posts: 12
Joined: Mon Apr 22, 2019 9:26 pm

Read Failed Auto Disconnect

Post by Chevvron » Sat Jun 20, 2020 6:10 pm

Tom,
I have our original KFlop on the bench connected to a laptop with J3 installed to try and isolate the usb disconnect issue.
This is why I purchased a second KFlop and Kanalog.
This new combination initially would not connect on our 5 axis development machine until I unplugged another FTDI RS485 cable used for Modbus control of a VFD spindle.
We have had this same problem with more than one FTDI device connected with other devices / software without understanding why even though they have different names and serial numbers.
However with only the KFlop physically connected it remains connected using KMotion CNC.
I initially thought this might have been the issue with our original KFlop.
However our original KFlop Rev 1.1 does the following on power up :
Led D2 comes on briefly, D1 and D2 then flash,D1 and D2 remain on and KMotion CNC connects.
A few minutes or hours the Read Failed - Auto Disconnect message appears.
Sometimes D2 is on but not D1.
Sometimes D1 and D2 flash then remain on but no KMotionCNC connection is possible.
Sometimes D2 remains on but D1 is off.
Unplugging and plugging back in seems to work for minutes / hours until the Read Failed message appears again.
I have tried uninstalling the drivers and re-installing.
I have tried Flash Recovery and Re-Flash.
Any further suggestions ?
Regards,
Tim

User avatar
TomKerekes
Posts: 982
Joined: Mon Dec 04, 2017 1:49 am

Re: Read Failed Auto Disconnect

Post by TomKerekes » Sat Jun 20, 2020 8:44 pm

Hi Tim,
This new combination initially would not connect on our 5 axis development machine until I unplugged another FTDI RS485 cable used for Modbus control of a VFD spindle.
We have had this same problem with more than one FTDI device connected with other devices / software without understanding why even though they have different names and serial numbers.
I thought this issue was solved some time ago. Only FTDI devices with KFLOP, KMotion, or Dynomotion in the description should be accessed. What Version of KMotion are you running? Are you using the USB Driver from Version 4.35b? Device Manager Properties should show Version 2.12.10.0. With the FTDI RS485 plugged in how many devices does KMotion.exe show under USB Locations? If there are 2 does one of them work when selected?

However our original KFlop Rev 1.1 does the following on power up :
Led D2 comes on briefly, D1 and D2 then flash,D1 and D2 remain on and KMotion CNC connects.
That is what should happen for all Versions.


A few minutes or hours the Read Failed - Auto Disconnect message appears.
Does this only happen with the Rev 1.1 board?

Are other things connected to KFLOP? Kanalog? How is KFLOP getting power?
Regards,

Tom Kerekes
Dynomotion, Inc.

Chevvron
Posts: 12
Joined: Mon Apr 22, 2019 9:26 pm

Re: Read Failed Auto Disconnect

Post by Chevvron » Fri Jun 26, 2020 6:21 pm

Tom,

The KFlop rev 1.1 now seems to remain connected as it has been on test on 2 laptops all week.
It was set up as USB power (J3 on) and KFlop only.
I don't know what was happening last week or before.

However the problem of the latest KFlop and another FTDI device remains on the 5 axis computer.
FTProg shows 2 devices but both have LOC id of 0.
USBview shows 2 devices with different LOC id.

Connecting the KFlop rev1.1 and another FTDI device on my laptop at home is okay.
FTProg shows 2 devices with different LOC id.
USBview shows 2 devices with different LOC id.

It does appear to be a problem with the 5 axis pc.

Both the 5 axis PCB and my laptop show 2.12.10 drivers for the KFlops and 2.12.28 for the second FTDI devices.

Any suggestions or ideas to try ?

Regards,
Tim

User avatar
TomKerekes
Posts: 982
Joined: Mon Dec 04, 2017 1:49 am

Re: Read Failed Auto Disconnect

Post by TomKerekes » Fri Jun 26, 2020 11:31 pm

Hi Tim,

I found this old Thread with some information although the issue doesn't seem to be resolved.

I understand there are some counterfeit FTDI chips with some issues and FTDI Drivers sometimes do strange things.

Do you have the capability to debug using Visual Studio to figure out what is going on? You could set a breakpoint where KMotionDLL.dll requests a list of devices to see what is being reported.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply