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] After update with CI firmware build 2071 hubs fail to run programs with "timeout waiting for checksum" #735

Closed
BertLindeman opened this issue Oct 12, 2022 · 7 comments
Labels
support Request for technical support for a problem that is not a bug or feature request

Comments

@BertLindeman
Copy link

BertLindeman commented Oct 12, 2022

Describe the bug
"Run program" fails with "timeout waiting for checksum" with CI-firmware in build 2071
Tested MoveHub, CityHub and RobotInventorHub.

To reproduce
Steps to reproduce the behavior (Win11 at 22H2; Google Chrome Version 106.0.5249.103 (Official Build) (64-bit)):

  1. Go to beta.pybricks.com
  2. Click on "Connect to Bluetooth" to a hub with this firmware
  3. Pair the hub
  4. Click on F5 to run the program (see below)
  5. In the browser open Developer tools (CTRL-SHIFT-I)
  6. see the timeout

Expected behavior
The python program to run
The simplest program:

print("X")

Same result on Linux Mint Vanessa (22.04) with Google Chrome 106.

Extra info
Firmware at ('primehub', '3.2.0b3', 'v3.2.0b3-55-gc126dd6b on 2022-08-26') works OK.
Both on windows and linux mint.

Screenshots
afbeelding

EDIT: typo

@BertLindeman BertLindeman added the triage Issues that have not been triaged yet label Oct 12, 2022
@laurensvalk
Copy link
Member

Thanks for reporting!

We recently changed the download-and-run protocol to:
a) speed it up
b) add flexibility to add more advanced features later

Pybricks Code hasn't been updated yet, so you may wish to stick to an older firmware for the moment.

@laurensvalk laurensvalk added support Request for technical support for a problem that is not a bug or feature request and removed triage Issues that have not been triaged yet labels Oct 12, 2022
@BertLindeman
Copy link
Author

Right.
Thanks as always for the fast response, Laurens.
So it's not me ;-)

Looks like it the same goes for pybricksdev ?

@laurensvalk
Copy link
Member

If you don't mind using the latest cutting edge (master branch, not released), then yes, you can use Pybricksdev 😄

Is there any particular feature you want to try?

@BertLindeman
Copy link
Author

Is there any particular feature you want to try?

Not really, Laurens. But I have a program using a technic hub and the remote to drive a model.
And THAT program does strange things like stopping without notice, or stating that the stop button has been pressed.
Mostly on lines that do motor manipulations, like as example a run_until_stalled.
At firmware level of beta.pybricks.com

just trying to get a finger behind it. So strange.

@laurensvalk
Copy link
Member

laurensvalk commented Oct 12, 2022

stopping without notice, or stating that the stop button has been pressed.

Like #716, or different behavior (later on in a program, not just at the start?)

Is it the same behavior/error that occurs when you unplug a motor while it is running?

To make things easier, you can try this version. It has everything except the download-and-run changes. This means you can still use it with the current version of Pybricks Beta:
https://github.com/pybricks/pybricks-micropython/actions/runs/3219255635

@BertLindeman
Copy link
Author

After the program starts and remote made connection there are a number of run_until_stalled and setting motor angles to calibrate the things.

No settings for buttons, nor any button press is done.

Will try the firmware you point to.

Thank you.

@BertLindeman
Copy link
Author

To make things easier, you can try this version. It has everything except the download-and-run changes. This means you can still use it with the current version of Pybricks Beta:
https://github.com/pybricks/pybricks-micropython/actions/runs/3219255635

This firmware works OK for me, no more strange things seen (yet 😉 )
Firmware indicated as build 2063.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Request for technical support for a problem that is not a bug or feature request
Projects
None yet
Development

No branches or pull requests

2 participants