hello i bought the odrive 3.6 from there website. due to poor power connection, the stm32 got bricked.
anyways i soldered another stm32 and used stlink to flash the firmware on it.
the problem i am facing is that now its showing this when the device dip switch is in run:
(Device 2083317F4B56: Not a genuine ODrive! Some features may not work as expected. Connected to device 2083317F4B56 as dev0 )
when i put the device dip switch in DFU i get this :
C:\Users\PC>odrivetool dfu ODrive control utility v0.6.9.post0 Try our new firmware update system! Supports firmware updates from the Web GUI and firmware updates via CAN bus. More info and migration instructions here: https://docs.odriverobotics.com/v/latest/guides/new-dfu.html. Waiting for ODrive… Checking online for latest ODrive v3.0 firmware on channel master… No firmware found matching the specified criteria. Exception ignored in: <function _ProactorBasePipeTransport.del at 0x00000203712F0B80> Traceback (most recent call last): File “C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py”, line 116, in del self.close() File “C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py”, line 108, in close self._loop.call_soon(self._call_connection_lost, None) File “C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py”, line 751, in call_soon self._check_closed() File “C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py”, line 515, in _check_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed --------------------------------------------------------------------------- FirmwareNotFoundError Traceback (most recent call last) File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\odrive\dfu.py:77, in get_firmware(board, current_build_id_short, channel, version, logger, interactive, release_type) 76 if channel: —> 77 manifest = firmware_index.get_latest(channel, app=‘default’, board=board, file=file) 78 else: File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\odrive\release_api.py:129, in ReleaseIndex.get_latest(self, channel, file, **qualifiers) 128 if len(filtered_versions) == 0: → 129 raise FirmwareNotFoundError() 131 return self._get_manifest(filtered_versions[0], file) FirmwareNotFoundError: During handling of the above exception, another exception occurred: DfuError Traceback (most recent call last) File ~\AppData\Local\Programs\Python\Python39\Scripts\odrivetool:207 205 args.channel = ‘master’ → 207 asyncio.run(odrive.legacy_dfu.launch_dfu( 208 serial_number=args.serial_number, 209 path=args.file, 210 channel=args.channel, 211 version=args.version, 212 erase_all=not args.no_erase_all, 213 logger=logger, 214 installing_bootloader=args.command == ‘install-bootloader’, 215 release_type=‘bootloader’ if args.command == ‘install-bootloader’ else ‘firmware’)) 216 except odrive.legacy_dfu.DfuError as ex: File ~\AppData\Local\Programs\Python\Python39\lib\asyncio\runners.py:44, in run(main, debug) 43 loop.set_debug(debug) —> 44 return loop.run_until_complete(main) 45 finally: File ~\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py:647, in BaseEventLoop.run_until_complete(self, future) 645 raise RuntimeError(‘Event loop stopped before Future completed.’) → 647 return future.result() File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\odrive\legacy_dfu.py:360, in launch_dfu(serial_number, path, channel, version, erase_all, logger, force, installing_bootloader, release_type) 359 build_id_short: Optional[str] = “{:08x}”.format(device.commit_hash) if hasattr(device, ‘commit_hash’) else None → 360 file = await get_firmware(board, build_id_short, channel, version, logger, not force, release_type) 362 # Config erased anyway 363 #may_have_config = found_in_dfu or (hasattr(device, ‘user_config_loaded’) and device.user_config_loaded) 364 #if may_have_config and not force: 365 # if not odrive.utils.yes_no_prompt(“The device may have user configuration that will be lost after the firmware upgrade. If you want to back this up please run odrivetool backup-config
first. Do you want to continue anyway?”, True): 366 # return File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\odrive\dfu.py:83, in get_firmware(board, current_build_id_short, channel, version, logger, interactive, release_type) 82 except odrive.release_api.FirmwareNotFoundError: —> 83 raise DfuError(f"No {release_type} found matching the specified criteria.") 85 if interactive: DfuError: No firmware found matching the specified criteria. During handling of the above exception, another exception occurred: SystemExit Traceback (most recent call last) File ~\AppData\Local\Programs\Python\Python39\Scripts\odrivetool:218 216 except odrive.legacy_dfu.DfuError as ex: 217 logger.error(str(ex)) → 218 sys.exit(1) 220 elif args.command == ‘unlock’: 221 print_version() SystemExit: 1