Добрый день.
После обновления прошивок (wb-mcu-fw-updater update-all), два датчика (WB-MSW v4) перестали работать.
питание отключал, контроллер перегружал.
modbus_client_rpc -mrtu /dev/ttyRS485-2 --debug -b9600 -pnone -s2 -a95 -t3 -o100 -r200 -c6
2024-11-26 17:32:48,893 [DEBUG] [5f][03][00][c8][00][06][49][48]
2024-11-26 17:32:48,899 [DEBUG] Connecting to broker unix:///var/run/mosquitto/mosquitto.sock
2024-11-26 17:32:48,906 [DEBUG] RPC Client → {‘path’: ‘/dev/ttyRS485-2’, ‘baud_rate’: 9600, ‘parity’: ‘N’, ‘data_bits’: 8, ‘stop_bits’: 2, ‘response_size’: 17, ‘format’: ‘HEX’, ‘msg’: ‘5f0300c800064948’, ‘total_timeout’: 100} (100 timeout ms)
2024-11-26 17:32:49,473 [ERROR] Mqtt-rpc client timeout error, timeout 100 ms
modbus_client_rpc -mrtu /dev/ttyRS485-2 --debug -b9600 -pnone -s2 -a46 -t3 -o100 -r200 -c6
2024-11-26 17:32:56,736 [DEBUG] [2e][03][00][c8][00][06][43][a9]
2024-11-26 17:32:56,740 [DEBUG] Connecting to broker unix:///var/run/mosquitto/mosquitto.sock
2024-11-26 17:32:56,744 [DEBUG] RPC Client → {‘path’: ‘/dev/ttyRS485-2’, ‘baud_rate’: 9600, ‘parity’: ‘N’, ‘data_bits’: 8, ‘stop_bits’: 2, ‘response_size’: 17, ‘format’: ‘HEX’, ‘msg’: ‘2e0300c8000643a9’, ‘total_timeout’: 100} (100 timeout ms)
2024-11-26 17:32:57,334 [ERROR] Mqtt-rpc client timeout error, timeout 100 ms
PS
один из датчиков восстановил командой wb-mcu-fw-updater update-fw /dev/ttyRS485-2 -a95
второй выдает ошибку:
wb-mcu-fw-updater update-fw /dev/ttyRS485-2 -a46
2024-11-26 18:10:41,516 Will find serial port settings for (/dev/ttyRS485-2 : 46; response_timeout: 0.20)…
2024-11-26 18:11:30,281 Will find bootloader port settings for (/dev/ttyRS485-2 : 46; response_timeout: 0.20)…
2024-11-26 18:11:37,841 Has found bootloader port settings: {‘baudrate’: 9600, ‘parity’: ‘N’, ‘stopbits’: 2}
2024-11-26 18:11:37,842 Device (/dev/ttyRS485-2 46; response_timeout: 0.20s) supposed to be alive, but found in bootloader
2024-11-26 18:11:40,063 Will flash fw v:4.31.11 to bring msw5G (/dev/ttyRS485-2 46; response_timeout: 0.20s) alive
2024-11-26 18:11:42,564 Flashing /var/lib/wb-mcu-fw-updater/msw5G__4.31.11_master_c37be2e.wbfw
2024-11-26 18:12:13,652 Flashing fw to (/dev/ttyRS485-2 46; response_timeout: 0.20s) has failed!
2024-11-26 18:12:13,653
Подскажите, как восстановить его?