You are here

Trying to connect over USB, but new 6.4 connects and disconnects a few seconds later.

13 posts / 0 new
Last post
MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15
Trying to connect over USB, but new 6.4 connects and disconnects a few seconds later.

I tried this on a MAC and a PC with VESC 0.94. It connects to both, but disconnects about 5 seconds later. The blue LED turns off too. 

The Tool displays this message for a second or so: "Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen."

                                   "The E/A process was aborted due to a thread end or an application requirement. "
 

MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15

Here is some info from the Terminal: 

2018-05-25 01:23:05: VESC® Tool 0.94 started
2018-05-25 01:23:05: Status: Not connected
2018-05-25 01:23:23: Status: Connected (serial) to COM4
2018-05-25 01:23:23: Status: VESC Firmware Version 3.38, Hardware: 60, UUID: 47 00 33 00 02 51 36 34 35 36 37 39
2018-05-25 01:23:23: Status: MC configuration updated
2018-05-25 01:23:23: Status: App configuration updated
2018-05-25 01:23:37: Status: Serial port error: Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen.
2018-05-25 01:23:39: Status: Not connected
2018-05-25 01:23:41: Status: Invalid serial port: \\.\COM4
2018-05-25 01:23:45: Status: Invalid serial port: \\.\COM4
2018-05-25 01:23:59: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:05: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:07: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:12: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:19: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:21: Status: VESC Firmware Version 3.38, Hardware: 60, UUID: 47 00 33 00 02 51 36 34 35 36 37 39
2018-05-25 01:24:22: Status: Serial port error: Ein an das System angeschlossenes Gerät funktioniert nicht.
2018-05-25 01:24:52: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:55: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:57: Status: Invalid serial port: \\.\COM4
2018-05-25 01:24:59: Status: Invalid serial port: \\.\COM4
2018-05-25 01:25:07: Status: Connected (serial) to COM4
2018-05-25 01:25:07: Status: VESC Firmware Version 3.38, Hardware: 60, UUID: 47 00 33 00 02 51 36 34 35 36 37 39
2018-05-25 01:25:08: Status: Serial port error: Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen.
2018-05-25 01:25:10: Status: Not connected
2018-05-25 01:27:46: Status: Invalid serial port: \\.\COM4
2018-05-25 01:27:49: Status: VESC Firmware Version 3.38, Hardware: 60, UUID: 47 00 33 00 02 51 36 34 35 36 37 39
2018-05-25 01:27:50: Status: Serial port error: Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen.

TechAUmNu
Offline
Last seen: 2 days 12 hours ago
VESC Free
Joined: 2017-09-22 01:27
Posts: 575

Have you tried a different cable? How are you powering the VESC?

If the blue light goes out then its a power issue.

MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15

I tried both, a lab power supply and 12s lipos. I tried it with and without my antispark and safety relay circuit. So without the relays and arduino it was just a direct connection to the bench power supply which can output up to 5A at 32V.  I tried it on two computers, PC and Mac, and with two different branded USB cables.

It also shuts down without the USB connection. The time is always different from 3-10seconds.  

Here is a video of what happens. https://youtu.be/CGZxkgRnqNs

Danny Bokma
Offline
Last seen: 2 months 2 weeks ago
VESC Original
Joined: 2017-05-24 12:11
Posts: 53

Please connect it directly to a power supply and nothing else, preferably share a video of the vesc the undesired behavior.

MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15

I did! I tried really everything. Lipo, Bench power supply, with and without the fancy circuit. It is always the same result. 

Danny Bokma
Offline
Last seen: 2 months 2 weeks ago
VESC Original
Joined: 2017-05-24 12:11
Posts: 53

If it does this directly connected to a decent power supply (the one you described should be perfect) power supply then you VESC is broken. How far are you from the Netherlands? If claiming warranty becomes in issue I can maybe help you out. 

MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15

Thanks. Frank from Trampa told me on the esk8 forum to test the 5v output and it only outputs 2.8v. I have a good feeling  they will Fix it. If not, Ill contact you again. I am from Hamburg. 

wdaehn
Offline
Last seen: 2 years 5 months ago
Joined: 2017-09-12 17:26
Posts: 65

I would have one suggestion: Disconnect the extra cables, hall sensor, uart, encoder or whatever else is connected at the moment. If there is a short circuit of some kind on the 5V line, you would have <5V on the 5V supply lines. 

Just for differential diagnosis.

 

MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15

Thanks. I tried that already. 

Caustic_Zinc
Offline
Last seen: 1 year 2 months ago
Joined: 2019-01-20 20:35
Posts: 10

And how did it go?

Caustic_Zinc
Offline
Last seen: 1 year 2 months ago
Joined: 2019-01-20 20:35
Posts: 10

Increasing baud rate on VESC tool seem to solve the problem.

frank
Offline
Last seen: 6 days 22 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 846

Be careful with ground loops! Sounds like you connected secondary devices to control your VESC. A ground loops can easily kill a voltage regulator. This is why I asked to masure the low voltage rails.