-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Technic Hub refuses to load pybricks firmware and shows error #899
Comments
Since you said you tried Edge, is it safe to assume you are using Windows? Unfortunately, lot's of people have trouble with Bluetooth on Windows. So this is probably the same issue as #312, #513, #555, etc. It would be useful to know what Bluetooth chip/driver you are using. Run this in PowerShell to find out: wget https://github.com/Microsoft/busiotools/raw/master/bluetooth/tracing/GetBluetoothRadioInfo.ps1 -UseBasicParsing | iex You could also try logging Bluetooth packets as described in https://bleak.readthedocs.io/en/latest/troubleshooting.html#windows-10 |
Hi. I'm having a very similar issue trying to flash two different Technics Hubs and Windows 11 Build 22000.1335 (Date: 2022-12-11). I've tried the web based process using the latest versions of both Edge and Chrome as well as the local installs of Pybricks and Pybricks Beta. Unfortunately the results are always the same. From reading your notes, I've tried the reboot and launching Chrome as per #513 but I still get the same errors. Attached is the Wireshark log. From your Facebook post, the error occurs at approximately 0:42 of the video and no progress indicator shows in the webpage or the local app. Sure hope you can help. Nick Pybricks Error Message:
The Bluetooth chip info is:
|
Thanks for the logs. This has the same "LE Read Remote Version Information" response timeout as in #513. There are not any known solutions, but make sure you hub has new/fully charged batteries and that you aren't releasing the button too early. You could try flashing the firmware with another device, like an Android phone. You could try eliminating any sources of interference, like Wi-Fi and other Bluetooth devices. You could try a different Bluetooth dongle or try different driver versions for your Bluetooth adapter. |
Thanks for the quick reply! We'll give these a try. |
Just thought I’d send an update. I bought a $15 tp-link UB500 Bluetooth dongle (BT v5.0) for the Win11 box and that did the trick. From the specs I uploaded, the original Bluetooth adapter was v4.1 with its smaller packet size and given the timeout errors it’s likely that was the root of the problem. v5.0 definitely works and I suspect that even v4.2 would have done the job as that was the first version with the increased packet size limit hence 2X faster data throughput. |
Thanks for the followup. Would you mind running this (in powershell) and sharing the results so we can get an idea of which adapters/drivers work and which don't?
|
Discussed in https://github.com/orgs/pybricks/discussions/898
I have tried switching from chrome to edge but the result is the same.
The text was updated successfully, but these errors were encountered: