Доброго времени суток, получаю вот такую ошибку когда хочу обновить прошивку устройств
У меня WB7
Команда wb-mcu-fw-updater update-all
вот такое выдает:
2023-08-18 13:14:17,410 Probing t13_VFD (port: /dev/ttyRS485-1, slaveid: 201, uart_params: 9600N2, response_timeout: 0.50)...
2023-08-18 13:14:18,049 Unhandled exception!
Traceback (most recent call last):
File "/usr/bin/wb-mcu-fw-updater", line 538, in <module>
args.func(args)
File "/usr/bin/wb-mcu-fw-updater", line 210, in update_all
update_monitor._update_all(
File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 651, in _update_all
probing_result = probe_all_devices(
File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 610, in probe_all_devices
modbus_connection=get_correct_modbus_connection(
File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 232, in get_correct_modbus_connection
check_device_is_a_wb_one(modbus_connection)
File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 184, in check_device_is_a_wb_one
sn = modbus_connection.get_serial_number() # Will raise NoResponseError, if disconnected
File "/usr/lib/python3/dist-packages/wb_modbus/bindings.py", line 616, in get_serial_number
return self.read_u32_big_endian(self.COMMON_REGS_MAP["serial_number"])
File "/usr/lib/python3/dist-packages/wb_modbus/bindings.py", line 42, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/wb_modbus/bindings.py", line 69, in wrapper
raise thrown_exc
File "/usr/lib/python3/dist-packages/wb_modbus/bindings.py", line 63, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/wb_modbus/bindings.py", line 336, in read_u32_big_endian
return self.device.read_long(addr, 3, signed=False, byteorder=order)
File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 548, in read_long
return self._generic_command(
File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 1139, in _generic_command
payload_from_slave = self._perform_command(functioncode, payload_to_slave)
File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 1206, in _perform_command
payload_from_slave = _extract_payload(response, self.address, self.mode, functioncode)
File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 1688, in _extract_payload
raise InvalidResponseError(text)
wb_modbus.minimalmodbus.InvalidResponseError: Checksum error in rtu mode: 'BB' instead of '[1' . The response is: 'É\x03\x04ÖNBBBB' (plain response: 'É\x03\x04ÖNBBBB')
Как это можно решить? Куда смотреть?