From 13b61caf582e1565e64bc0cd81ef3159b237ddd5 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 28 Aug 2023 06:23:38 -0400 Subject: [PATCH] flashtool: remove UUID verification step When multiple nodes are on the network the UUID query can result in transmit errors, as multiple nodes with the same ID will attempt to respond. Signed-off-by: Eric Callahan --- scripts/flashtool.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/flashtool.py b/scripts/flashtool.py index 99d9351..469be9c 100755 --- a/scripts/flashtool.py +++ b/scripts/flashtool.py @@ -468,12 +468,6 @@ class CanSocket: return await asyncio.sleep(.5) self._reset_nodes() - await asyncio.sleep(.5) - id_list = await self._query_uuids() - if uuid not in id_list: - raise FlashCanError( - f"Unable to find node matching UUID: {uuid:012x}" - ) node = self._set_node_id(uuid) flasher = CanFlasher(node, fw_path) await asyncio.sleep(.5)