Skip to content
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

[Bug] Technic Hub UART: Received INFO for incorrect mode #1134

Open
laurensvalk opened this issue Jul 3, 2023 · 1 comment
Open

[Bug] Technic Hub UART: Received INFO for incorrect mode #1134

laurensvalk opened this issue Jul 3, 2023 · 1 comment
Labels
bug Something isn't working hub: technichub Issues related to the LEGO Technic hub (Hub No. 2) topic: motors Issues involving motors topic: sensors Issues involving sensors

Comments

@laurensvalk
Copy link
Member

laurensvalk commented Jul 3, 2023

The next step is to fix device synchronization on Technic Hub.

Originally posted by @laurensvalk in #1131 (comment)

The debug info we get is

Received INFO for incorrect mode

It appears this is somewhat unrelated to pybricks/pybricks-micropython@8a52c95. It was happening before that in the original uartdev.c; it just showed up while debugging #1131.

On failure it reverts to the low baud rate and it works fine the second time around.

It also seems to get stuck if the cable was already plugged in on boot. This is unrelated

@laurensvalk laurensvalk added hub: technichub Issues related to the LEGO Technic hub (Hub No. 2) topic: motors Issues involving motors topic: sensors Issues involving sensors bug Something isn't working labels Jul 3, 2023
@laurensvalk laurensvalk self-assigned this Jul 3, 2023
@laurensvalk laurensvalk removed their assignment Jul 3, 2023
@laurensvalk
Copy link
Member Author

This has been happening all along (isn't related to new async/uartdev changes), and only seems to happen when plugging it in for the second time.

It always syncs up eventually (at low baud), especially now that we have the dcm/uart synchronization worked out well.

So I think we can down prioritize this to a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hub: technichub Issues related to the LEGO Technic hub (Hub No. 2) topic: motors Issues involving motors topic: sensors Issues involving sensors
Projects
None yet
Development

No branches or pull requests

1 participant