We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
something wrong during flashing the odrive, and the code is here. how can I fix it.
RuntimeError Traceback (most recent call last) D:\anaconda\Scripts\odrivetool in () 140 print_version() 141 import odrive.dfu --> 142 odrive.dfu.launch_dfu(args, logger, app_shutdown_token) 143 144 elif args.command == 'liveplotter':
D:\anaconda\lib\site-packages\odrive\dfu.py in launch_dfu(args, logger, cancellation_token) 452 firmware = FirmwareFromFile(args.file) if args.file else None 453 --> 454 update_device(device, firmware, logger, cancellation_token) 455 456
D:\anaconda\lib\site-packages\odrive\dfu.py in update_device(device, firmware, logger, cancellation_token) 380 for i, (sector, data) in enumerate(touched_sectors): 381 print("Flashing... (sector {}/{}) \r".format(i, len(touched_sectors)), end='', flush=True) --> 382 dfudev.write_sector(sector, data) 383 print('Flashing... done \r', end='', flush=True) 384 finally:
D:\anaconda\lib\site-packages\odrive\dfuse\DfuDevice.py in write_sector(self, sector, data) 185 status = self.wait_while_state(DfuState.DFU_DOWNLOAD_BUSY) 186 if status[1] != DfuState.DFU_DOWNLOAD_IDLE: --> 187 raise RuntimeError("An error occured. Device Status: {!r}".format(status)) 188 189 def read_sector(self, sector):
RuntimeError: An error occured. Device Status: (0, 2, 0, 0)`
The text was updated successfully, but these errors were encountered:
you should use another method to flash ur odrive
Sorry, something went wrong.
fine
No branches or pull requests
something wrong during flashing the odrive, and the code is here.
how can I fix it.
`Erasing... done
Flashing... (sector 3/6)
RuntimeError Traceback (most recent call last)
D:\anaconda\Scripts\odrivetool in ()
140 print_version()
141 import odrive.dfu
--> 142 odrive.dfu.launch_dfu(args, logger, app_shutdown_token)
143
144 elif args.command == 'liveplotter':
D:\anaconda\lib\site-packages\odrive\dfu.py in launch_dfu(args, logger, cancellation_token)
452 firmware = FirmwareFromFile(args.file) if args.file else None
453
--> 454 update_device(device, firmware, logger, cancellation_token)
455
456
D:\anaconda\lib\site-packages\odrive\dfu.py in update_device(device, firmware, logger, cancellation_token)
380 for i, (sector, data) in enumerate(touched_sectors):
381 print("Flashing... (sector {}/{}) \r".format(i, len(touched_sectors)), end='', flush=True)
--> 382 dfudev.write_sector(sector, data)
383 print('Flashing... done \r', end='', flush=True)
384 finally:
D:\anaconda\lib\site-packages\odrive\dfuse\DfuDevice.py in write_sector(self, sector, data)
185 status = self.wait_while_state(DfuState.DFU_DOWNLOAD_BUSY)
186 if status[1] != DfuState.DFU_DOWNLOAD_IDLE:
--> 187 raise RuntimeError("An error occured. Device Status: {!r}".format(status))
188
189 def read_sector(self, sector):
RuntimeError: An error occured. Device Status: (0, 2, 0, 0)`
The text was updated successfully, but these errors were encountered: