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

Error while flashing board #4

Open
Rexsell opened this issue Aug 24, 2022 · 0 comments
Open

Error while flashing board #4

Rexsell opened this issue Aug 24, 2022 · 0 comments

Comments

@Rexsell
Copy link

Rexsell commented Aug 24, 2022

Appears after python command

pi@ratos:~/klipper $ sudo python3 lib/canboot/flash_can.py -q
Resetting all bootloader node IDs...
Checking for canboot nodes...
ERROR:root:Can Flash Error
Traceback (most recent call last):
File "lib/canboot/flash_can.py", line 596, in main
loop.run_until_complete(sock.run_query(intf))
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "lib/canboot/flash_can.py", line 488, in run_query
await self._query_uuids()
File "lib/canboot/flash_can.py", line 406, in _query_uuids
resp = await self.admin_node.readexactly(8, diff)
File "lib/canboot/flash_can.py", line 282, in readexactly
return await asyncio.wait_for(self._reader.readexactly(n), timeout)
File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/lib/python3.7/asyncio/streams.py", line 677, in readexactly
raise IncompleteReadError(incomplete, n)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of 8 expected bytes

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

1 participant