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

Timed out waiting for data #151

Open
chrisruk opened this issue Jun 7, 2022 · 2 comments
Open

Timed out waiting for data #151

chrisruk opened this issue Jun 7, 2022 · 2 comments
Assignees

Comments

@chrisruk
Copy link
Contributor

chrisruk commented Jun 7, 2022

2022-06-07 12:59:33,757 > version
2022-06-07 12:59:33,760 < version
2022-06-07 12:59:33,761 > version
2022-06-07 12:59:33,772 < BuildHAT bootloader version 1631704133 2021-09-15T12:08:53+01:00
2022-06-07 12:59:33,775 > clear
2022-06-07 12:59:33,778 < BHBL> version
2022-06-07 12:59:33,864 > load 53112 3269132858
2022-06-07 12:59:33,965 > 0x02
2022-06-07 12:59:38,623 > --firmware file--
2022-06-07 12:59:38,624 > 0x03
2022-06-07 12:59:38,630 < BuildHAT bootloader version 1631704133 2021-09-15T12:08:53+01:00
2022-06-07 12:59:38,631 < BHBL> clear
2022-06-07 12:59:38,632 > signature 64
2022-06-07 12:59:38,732 > 0x02
2022-06-07 12:59:38,733 > --signature file--
2022-06-07 12:59:38,733 > 0x03
2022-06-07 12:59:38,736 < BHBL> load 53112 3269132858
2022-06-07 12:59:38,738 > reboot
2022-06-07 12:59:39,743 < Timed out waiting for data
2022-06-07 12:59:39,745 < Error

Edit: Also found this recently

2022-06-24 09:41:05,049 > version
2022-06-24 09:41:05,060 < Type help <RETURN> for help
2022-06-24 09:41:05,060 > version
2022-06-24 09:41:05,169 < BHBL> <P0: I²C bus timeout>
2022-06-24 09:41:05,170 > version
2022-06-24 09:41:05,189 < <P0: I²C bus timeout>
2022-06-24 09:41:05,189 > version
2022-06-24 09:41:05,209 < <P0: I²C bus timeout>
2022-06-24 09:41:05,209 > version
2022-06-24 09:41:05,220 < Attempting reset of I²C bus
2022-06-24 09:41:05,220 > version
2022-06-24 09:41:05,268 < version

See #153 for testing of this issue

@mutesplash
Copy link
Contributor

mutesplash commented Jun 7, 2022

I experienced this every now and then. I tweaked the bootloader code in the reboot patch to wait more after \r during loadfirmware() and haven't seen it since.

@chrisruk
Copy link
Contributor Author

chrisruk commented Jun 7, 2022

Interesting! Thanks a lot for the heads up!

@chrisruk chrisruk added the working on Currently working on label Jun 23, 2022
@chrisruk chrisruk self-assigned this Jun 24, 2022
@grega grega removed the working on Currently working on label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants