Добрый день!
Заметил следующую проблему. Обновил прошивку в ИК, вроде проблем нет.
Пытаюсь выполнить команды по modbus_client, например просканировать modbus адрес - получаю ошибку CRC.
Плохо понимаю, если modbus_client не может достучаться до ИК, почему тогда прошивка обновляется?
root@IQ157000:/etc/iq/logs/p7/usr/bin/iqnergy/config-manager# wb-mcu-fw-updater update-fw /dev/ttyRS485-2 -a204
2021-08-25 16:18:33,576 Will find serial port settings for (/dev/ttyRS485-2 : 204)...
2021-08-25 16:18:33,637 Has found serial port settings: {'stopbits': 2, 'baudrate': 9600, 'parity': 'N'}
2021-08-25 16:18:35,269 Firmware will be upgraded. Will flash (4.16.16) over (4.16.15).
Sending data block 122 of 135...Error while sending data block: Connection timed out
Sending data block 134 of 135...
2021-08-25 16:19:04,608 Successfully flashed firmware (4.16.16) over (4.16.15)
2021-08-25 16:19:04,624 Done
root@IQ157000:/etc/iq/logs/p7/usr/bin/iqnergy/config-manager# for i in {200..247}; do echo -n "$i - "; D=`modbus_client -mrtu /dev/ttyRS485-2 --debug -a$i -t3 -o100 -r200 -s2 -c6 -pnone | grep Data: | awk 'gsub("Data:","")' | sed -e 's/0x00/\\\x/g' -e 's/\s//g'`; echo -e $D; done
200 - ERROR Connection timed out: select
201 - ERROR Connection timed out: select
202 - ERROR Connection timed out: select
203 - ERROR Connection timed out: select
204 - ERROR CRC received C00 != CRC calculated F531
205 - ERROR Connection timed out: select
206 - ERROR CRC received C00 != CRC calculated F451
207 - ERROR Connection timed out: select