-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FT231X Serial-to-USB not working #432
Comments
That's weird. The code you posted looks okay. Must be a problem with the FTDI chip itself, or something related. Can you please open the developer console and post its contents? That'll help a lot. Hotkey |
I also get the same issue using the TTL-232R, how do i open the developer console on mobile? |
Oof, I think you actually can't on mobile. |
It works fine on desktop, i let it run for one hour and i had no issues with it. Is there a way to disable web serial on pc so it would use webusb, that way we could rule out android as the issue. Maybe a browser that only supports webusb? |
Okay then it's clearly some weird stuff with the WebUSB library we're using. https://github.com/Shaped/webusb-ftdi
Basically: Install Zadig (https://zadig.akeo.ie/) and switch to the WinUSB driver for your FTDI device. |
Im sorry, i have never done anything like this with drivers, could you please walk me through the process so i can further test the issue? |
Ok, then maybe you have to install the official drivers first: https://ftdichip.com/drivers/ 🤔 |
Installed the drivers, restarted everything a couple times but its still not showing up in Zadig. Is there anything else i could test instead? |
Hm, sorry for not being more helpful. There's one last thing that comes to my mind: using remote debugging on your phone with your desktop. |
Due to me not having the right adapters to connect both my phone to my pc and the esp to the phone at the same time, the best i can do is connect the esp to the website try to start a recording, stop it and then connect it for debugging to my pc. This is what i got in the developer console from it: |
Yes that helps I think. If the error is something to go by, the issue occurs when opening the WebUSB serial, i.e. connecting to the device. It looks like an issue with the library when it tries to read data for the first time? Maybe it's even related to this issue here: Shaped/webusb-ftdi#2 Not sure what to make of it if I'm 100% accurate. I'm flagging this as I'm going to see if there are any better alternatives before I'll patch up the 3-year-old code. |
Originally posted by @pyrogcode in #431
The text was updated successfully, but these errors were encountered: