root@wirenboard-A6RC2UEN:~# wb-mcu-fw-updater update-all --debug 2023-12-11 22:23:42,188 Will run: fuser /dev/ttyRS485-1 /dev/ttyRS485-2 /dev/ttyMOD3 2023-12-11 22:23:43,108 Clients of /dev/ttyRS485-1 /dev/ttyRS485-2 /dev/ttyMOD3: 29056 2023-12-11 22:23:43,112 Will run: ps -o cmd= 29056 2023-12-11 22:23:43,282 Will run: fuser -k -STOP /dev/ttyRS485-1 /dev/ttyRS485-2 /dev/ttyMOD3 2023-12-11 22:23:43,583 Reading /usr/lib/wb-release for releases info 2023-12-11 22:23:43,595 Got releases info: 2023-12-11 22:23:43,600 defaultdict(. at 0xa60dfbb0>, {'RELEASE_NAME': 'unstable.latest', 'SUITE': 'testing', 'TARGET': 'wb6/bullseye', 'REPO_PREFIX': ''}) 2023-12-11 22:23:43,605 GET: http://fw-releases.wirenboard.com/ 2023-12-11 22:23:45,418 Will probe all devices on enabled serial ports of /etc/wb-mqtt-serial.conf: 2023-12-11 22:23:45,426 Probing WB-MRM2-mini-NO-inputs (port: /dev/ttyRS485-1, slaveid: 11, uart_params: 115200N2, response_timeout: 0.50)... 2023-12-11 22:23:45,435 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-1 2023-12-11 22:23:45,437 /dev/ttyRS485-1 response_timeout -> 0.50 2023-12-11 22:23:45,442 Set {'baudrate': 9600, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-1 2023-12-11 22:23:45,443 /dev/ttyRS485-1 response_timeout -> 0.50 2023-12-11 22:23:45,446 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-1 2023-12-11 22:23:45,847 /dev/ttyRS485-1 11: 2023-12-11 22:23:46,205 WBMR2m 4264129205 mr2mG 1.20.3 98738 2023-12-11 22:23:46,323 Removing device: {'slaveid': 11, 'port': '/dev/ttyRS485-1', 'fw_signature': 'mr2mG'} 2023-12-11 22:23:46,327 Probing WB-MDM3 (port: /dev/ttyRS485-2, slaveid: 36, uart_params: 115200N2, response_timeout: 0.50)... 2023-12-11 22:23:46,335 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:46,337 /dev/ttyRS485-2 response_timeout -> 0.50 2023-12-11 22:23:46,341 Set {'baudrate': 9600, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:46,343 /dev/ttyRS485-2 response_timeout -> 0.50 2023-12-11 22:23:46,346 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:46,705 /dev/ttyRS485-2 36: 2023-12-11 22:23:47,022 WBMD3 4262567359 mdm3G26 2.7.0 98910 2023-12-11 22:23:47,159 Removing device: {'slaveid': 36, 'port': '/dev/ttyRS485-2', 'fw_signature': 'mdm3G26'} 2023-12-11 22:23:47,165 Probing WB-LED (port: /dev/ttyRS485-2, slaveid: 16, uart_params: 115200N2, response_timeout: 0.50)... 2023-12-11 22:23:47,173 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:47,176 /dev/ttyRS485-2 response_timeout -> 0.50 2023-12-11 22:23:47,182 Set {'baudrate': 9600, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:47,184 /dev/ttyRS485-2 response_timeout -> 0.50 2023-12-11 22:23:47,186 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:47,532 /dev/ttyRS485-2 16: 2023-12-11 22:23:47,904 WB-LED 126239 ledG 3.4.1 98911 2023-12-11 22:23:48,032 Removing device: {'slaveid': 16, 'port': '/dev/ttyRS485-2', 'fw_signature': 'ledG'} 2023-12-11 22:23:48,065 Probing WB-MAI6 (port: /dev/ttyRS485-2, slaveid: 49, uart_params: 115200N2, response_timeout: 0.50)... 2023-12-11 22:23:48,080 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:48,089 /dev/ttyRS485-2 response_timeout -> 0.50 2023-12-11 22:23:48,101 Set {'baudrate': 9600, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:48,109 /dev/ttyRS485-2 response_timeout -> 0.50 2023-12-11 22:23:48,113 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:23:48,444 /dev/ttyRS485-2 49: 2023-12-11 22:23:48,784 WBMAI6 110166 wb-mai6 2.0.5 98912 2023-12-11 22:23:48,903 Removing device: {'slaveid': 49, 'port': '/dev/ttyRS485-2', 'fw_signature': 'wb-mai6'} 2023-12-11 22:23:48,910 Probing danfoss_fc_51 (port: /dev/ttyMOD3, slaveid: 10, uart_params: 38400N2, response_timeout: 0.50)... 2023-12-11 22:23:48,922 Set {'baudrate': 38400, 'parity': 'N', 'stopbits': 2} to /dev/ttyMOD3 2023-12-11 22:23:48,924 /dev/ttyMOD3 response_timeout -> 0.50 2023-12-11 22:23:48,930 Set {'baudrate': 9600, 'parity': 'N', 'stopbits': 2} to /dev/ttyMOD3 2023-12-11 22:23:48,932 /dev/ttyMOD3 response_timeout -> 0.50 2023-12-11 22:23:48,935 Set {'baudrate': 38400, 'parity': 'N', 'stopbits': 2} to /dev/ttyMOD3 2023-12-11 22:23:49,446 f = read_string(, 200, 6) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:23:49,976 f = read_string(, 200, 6) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:23:50,547 f = read_string(, 200, 6) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:23:51,056 f = read_string(, 200, 6) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:23:51,576 f = read_string(, 200, 6) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:23:52,084 f = read_u16(, 128) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:23:52,607 f = read_u16(, 128) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:23:53,123 f = read_u16(, 128) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:23:53,635 f = read_u16(, 128) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:23:54,168 f = read_u16(, 128) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:23:54,178 /dev/ttyMOD3 response_timeout -> 1.50 2023-12-11 22:23:55,725 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:23:57,306 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:23:58,825 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:24:00,364 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:24:01,893 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:24:01,895 /dev/ttyMOD3 response_timeout -> 0.50 2023-12-11 22:24:01,902 Set {'baudrate': 9600, 'parity': 'N', 'stopbits': 2} to /dev/ttyMOD3 2023-12-11 22:24:02,470 f = read_u16(, 128) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:24:02,981 f = read_u16(, 128) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:24:03,493 f = read_u16(, 128) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:24:04,004 f = read_u16(, 128) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:24:04,522 f = read_u16(, 128) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:24:04,529 /dev/ttyMOD3 response_timeout -> 1.50 2023-12-11 22:24:06,111 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:24:07,684 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:24:09,202 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:24:10,741 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:24:12,331 f = write_u16_regs(, 4096, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:24:12,336 /dev/ttyMOD3 response_timeout -> 0.50 2023-12-11 22:24:12,481 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:24:12,492 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:24:12,497 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:24:15,231 FW version for mr2mG on release testing: 1.20.4 (endpoint: fw/by-signature/mr2mG/main/1.20.4.wbfw) 2023-12-11 22:24:15,460 GET: http://fw-releases.wirenboard.com/bootloader/by-signature/mr2mG/main/latest.txt 2023-12-11 22:24:16,547 Update: 1.20.3 -> 1.20.4 (WB-MRM2-mini-NO-inputs (11, /dev/ttyRS485-1)) 2023-12-11 22:24:16,736 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:24:16,782 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:24:16,799 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:24:19,699 FW version for mdm3G26 on release testing: 2.7.1 (endpoint: fw/by-signature/mdm3G26/main/2.7.1.wbfw) 2023-12-11 22:24:19,919 GET: http://fw-releases.wirenboard.com/bootloader/by-signature/mdm3G26/main/latest.txt 2023-12-11 22:24:21,025 Update: 2.7.0 -> 2.7.1 (WB-MDM3 (36, /dev/ttyRS485-2)) 2023-12-11 22:24:21,528 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:24:21,533 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:24:21,546 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:24:25,592 FW version for ledG on release testing: 3.4.2 (endpoint: fw/by-signature/ledG/main/3.4.2.wbfw) 2023-12-11 22:24:25,913 GET: http://fw-releases.wirenboard.com/bootloader/by-signature/ledG/main/latest.txt 2023-12-11 22:24:27,049 Update: 3.4.1 -> 3.4.2 (WB-LED (16, /dev/ttyRS485-2)) 2023-12-11 22:24:27,179 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:24:27,185 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:24:27,190 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:24:30,690 FW version for wb-mai6 on release testing: 2.0.7 (endpoint: fw/by-signature/wb-mai6/main/2.0.7.wbfw) 2023-12-11 22:24:30,995 GET: http://fw-releases.wirenboard.com/bootloader/by-signature/wb-mai6/main/latest.txt 2023-12-11 22:24:32,081 Update: 2.0.5 -> 2.0.7 (WB-MAI6 (49, /dev/ttyRS485-2)) 2023-12-11 22:24:32,086 Flashing firmware to WB-MRM2-mini-NO-inputs (11, /dev/ttyRS485-1) 2023-12-11 22:24:32,102 GET: http://fw-releases.wirenboard.com/fw/by-signature/mr2mG/main/1.20.4.wbfw 2023-12-11 22:24:34,859 Trying to get fname from content-disposition 2023-12-11 22:24:34,869 Got fname: mr2mG__1.20.4_master_f4ca222.wbfw 2023-12-11 22:24:34,875 http://fw-releases.wirenboard.com/fw/by-signature/mr2mG/main/1.20.4.wbfw => /var/lib/wb-mcu-fw-updater/mr2mG__1.20.4_master_f4ca222.wbfw 2023-12-11 22:24:34,992 Flashing approved for "mr2mG" (/dev/ttyRS485-1 : 11) 2023-12-11 22:24:35,723 f = write_u16(, 131, 1) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:24:36,340 f = write_u16(, 131, 1) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:24:36,949 f = write_u16(, 131, 1) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:24:37,564 f = write_u16(, 131, 1) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:24:38,181 f = write_u16(, 131, 1) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:24:38,186 Switching to bootloader with same port settings failed: Slave reported illegal data address. Try to use 9600N2 2023-12-11 22:24:39,323 f = read_u16(, 128) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:24:39,837 f = read_u16(, 128) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:24:40,380 f = read_u16(, 128) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:24:40,899 f = read_u16(, 128) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:24:41,459 f = read_u16(, 128) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:24:41,461 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-1 2023-12-11 22:24:41,462 /dev/ttyRS485-1 response_timeout -> 0.20 2023-12-11 22:24:41,463 /dev/ttyRS485-1 response_timeout -> 5.00 2023-12-11 22:24:44,390 Flashing /var/lib/wb-mcu-fw-updater/mr2mG__1.20.4_master_f4ca222.wbfw 2023-12-11 22:24:44,396 /dev/ttyRS485-1 response_timeout -> 6.00 2023-12-11 22:24:50,425 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:24:56,523 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:25:02,564 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:25:08,683 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:25:14,722 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:25:14,729 /dev/ttyRS485-1 response_timeout -> 5.00 2023-12-11 22:25:14,732 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1203, in _perform_command response = self._communicate(request, number_of_bytes_to_read) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 161, in _communicate self._write_to_bus(request) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 251, in _write_to_bus raise minimalmodbus.NoResponseError("No communication with the instrument (no answer)") wb_modbus.minimalmodbus.NoResponseError: No communication with the instrument (no answer) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 730, in _update_all _do_flash(device_info.modbus_connection, downloaded_file, MODE_FW, False, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 515, in _do_flash direct_flash(fw_fpath, modbus_connection, erase_settings, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 106, in _send_info six.raise_from(FlashingError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.FlashingError 2023-12-11 22:25:14,781 Flashing firmware to WB-MDM3 (36, /dev/ttyRS485-2) 2023-12-11 22:25:14,790 GET: http://fw-releases.wirenboard.com/fw/by-signature/mdm3G26/main/2.7.1.wbfw 2023-12-11 22:25:16,404 Trying to get fname from content-disposition 2023-12-11 22:25:16,412 Got fname: mdm3G26__2.7.1_master_4c5f5d0.wbfw 2023-12-11 22:25:16,426 http://fw-releases.wirenboard.com/fw/by-signature/mdm3G26/main/2.7.1.wbfw => /var/lib/wb-mcu-fw-updater/mdm3G26__2.7.1_master_4c5f5d0.wbfw 2023-12-11 22:25:16,601 Flashing approved for "mdm3G26" (/dev/ttyRS485-2 : 36) 2023-12-11 22:25:17,339 f = write_u16(, 131, 1) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:25:17,958 f = write_u16(, 131, 1) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:25:18,571 f = write_u16(, 131, 1) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:25:19,199 f = write_u16(, 131, 1) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:25:19,817 f = write_u16(, 131, 1) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:25:19,820 Switching to bootloader with same port settings failed: Slave reported illegal data address. Try to use 9600N2 2023-12-11 22:25:21,016 f = read_u16(, 128) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:25:21,633 f = read_u16(, 128) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:25:22,147 f = read_u16(, 128) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:25:22,661 f = read_u16(, 128) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:25:23,202 f = read_u16(, 128) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:25:23,209 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:25:23,213 /dev/ttyRS485-2 response_timeout -> 0.20 2023-12-11 22:25:23,223 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:25:27,584 Flashing /var/lib/wb-mcu-fw-updater/mdm3G26__2.7.1_master_4c5f5d0.wbfw 2023-12-11 22:25:27,591 /dev/ttyRS485-2 response_timeout -> 6.00 2023-12-11 22:25:33,674 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:25:39,715 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:25:45,789 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:25:51,879 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:25:58,003 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:25:58,009 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:25:58,014 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1203, in _perform_command response = self._communicate(request, number_of_bytes_to_read) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 161, in _communicate self._write_to_bus(request) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 251, in _write_to_bus raise minimalmodbus.NoResponseError("No communication with the instrument (no answer)") wb_modbus.minimalmodbus.NoResponseError: No communication with the instrument (no answer) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 730, in _update_all _do_flash(device_info.modbus_connection, downloaded_file, MODE_FW, False, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 515, in _do_flash direct_flash(fw_fpath, modbus_connection, erase_settings, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 106, in _send_info six.raise_from(FlashingError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.FlashingError 2023-12-11 22:25:58,039 Flashing firmware to WB-LED (16, /dev/ttyRS485-2) 2023-12-11 22:25:58,046 GET: http://fw-releases.wirenboard.com/fw/by-signature/ledG/main/3.4.2.wbfw 2023-12-11 22:25:59,074 Trying to get fname from content-disposition 2023-12-11 22:25:59,081 Got fname: ledG__3.4.2_master_5711725.wbfw 2023-12-11 22:25:59,086 http://fw-releases.wirenboard.com/fw/by-signature/ledG/main/3.4.2.wbfw => /var/lib/wb-mcu-fw-updater/ledG__3.4.2_master_5711725.wbfw 2023-12-11 22:25:59,103 Flashing approved for "ledG" (/dev/ttyRS485-2 : 16) 2023-12-11 22:26:04,336 f = write_u16(, 131, 1) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:26:09,455 f = write_u16(, 131, 1) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:26:14,571 f = write_u16(, 131, 1) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:26:19,624 f = write_u16(, 131, 1) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:26:24,749 f = write_u16(, 131, 1) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:26:24,760 Switching to bootloader with same port settings failed: Slave reported illegal data address. Try to use 9600N2 2023-12-11 22:26:30,576 f = read_u16(, 128) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:26:35,635 f = read_u16(, 128) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:26:40,769 f = read_u16(, 128) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:26:45,797 f = read_u16(, 128) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:26:50,853 f = read_u16(, 128) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:26:50,860 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:26:50,866 /dev/ttyRS485-2 response_timeout -> 0.20 2023-12-11 22:26:50,868 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:26:54,713 Flashing /var/lib/wb-mcu-fw-updater/ledG__3.4.2_master_5711725.wbfw 2023-12-11 22:26:54,719 /dev/ttyRS485-2 response_timeout -> 6.00 2023-12-11 22:27:00,862 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:27:06,961 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:27:13,056 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:27:19,148 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:27:25,185 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:27:25,191 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:27:25,195 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1203, in _perform_command response = self._communicate(request, number_of_bytes_to_read) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 161, in _communicate self._write_to_bus(request) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 251, in _write_to_bus raise minimalmodbus.NoResponseError("No communication with the instrument (no answer)") wb_modbus.minimalmodbus.NoResponseError: No communication with the instrument (no answer) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 730, in _update_all _do_flash(device_info.modbus_connection, downloaded_file, MODE_FW, False, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 515, in _do_flash direct_flash(fw_fpath, modbus_connection, erase_settings, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 106, in _send_info six.raise_from(FlashingError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.FlashingError 2023-12-11 22:27:25,223 Flashing firmware to WB-MAI6 (49, /dev/ttyRS485-2) 2023-12-11 22:27:25,229 GET: http://fw-releases.wirenboard.com/fw/by-signature/wb-mai6/main/2.0.7.wbfw 2023-12-11 22:27:26,835 Trying to get fname from content-disposition 2023-12-11 22:27:26,847 Got fname: wb-mai6__2.0.7_main_ac58f00.wbfw 2023-12-11 22:27:26,851 http://fw-releases.wirenboard.com/fw/by-signature/wb-mai6/main/2.0.7.wbfw => /var/lib/wb-mcu-fw-updater/wb-mai6__2.0.7_main_ac58f00.wbfw 2023-12-11 22:27:26,971 Flashing approved for "wb-mai6" (/dev/ttyRS485-2 : 49) 2023-12-11 22:27:32,211 f = write_u16(, 131, 1) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:27:37,344 f = write_u16(, 131, 1) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:27:42,465 f = write_u16(, 131, 1) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:27:47,582 f = write_u16(, 131, 1) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:27:52,700 f = write_u16(, 131, 1) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:27:52,706 Switching to bootloader with same port settings failed: Slave reported illegal data address. Try to use 9600N2 2023-12-11 22:27:58,385 f = read_u16(, 128) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:28:03,421 f = read_u16(, 128) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:28:08,495 f = read_u16(, 128) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:28:13,543 f = read_u16(, 128) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:28:18,612 f = read_u16(, 128) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:28:18,618 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:28:18,623 /dev/ttyRS485-2 response_timeout -> 0.20 2023-12-11 22:28:18,629 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:28:24,671 Flashing /var/lib/wb-mcu-fw-updater/wb-mai6__2.0.7_main_ac58f00.wbfw 2023-12-11 22:28:24,678 /dev/ttyRS485-2 response_timeout -> 6.00 2023-12-11 22:28:30,688 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 1/5): No communication with the instrument (no answer) 2023-12-11 22:28:36,738 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 2/5): No communication with the instrument (no answer) 2023-12-11 22:28:42,798 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 3/5): No communication with the instrument (no answer) 2023-12-11 22:28:48,856 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 4/5): No communication with the instrument (no answer) 2023-12-11 22:28:54,902 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 5/5): No communication with the instrument (no answer) 2023-12-11 22:28:54,905 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:28:54,910 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1203, in _perform_command response = self._communicate(request, number_of_bytes_to_read) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 161, in _communicate self._write_to_bus(request) File "/usr/lib/python3/dist-packages/wb_modbus/instruments.py", line 251, in _write_to_bus raise minimalmodbus.NoResponseError("No communication with the instrument (no answer)") wb_modbus.minimalmodbus.NoResponseError: No communication with the instrument (no answer) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 730, in _update_all _do_flash(device_info.modbus_connection, downloaded_file, MODE_FW, False, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 515, in _do_flash direct_flash(fw_fpath, modbus_connection, erase_settings, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 106, in _send_info six.raise_from(FlashingError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.FlashingError 2023-12-11 22:28:54,928 Will ask a bootloader for fw_signature 2023-12-11 22:28:55,039 FW signature for 11 : /dev/ttyRS485-1 is mr2mG 2023-12-11 22:28:55,048 Found in bootloader: WB-MRM2-mini-NO-inputs (11, /dev/ttyRS485-1); fw_signature: mr2mG 2023-12-11 22:28:55,055 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:28:55,059 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:28:55,069 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:28:58,620 FW version for mr2mG on release testing: 1.20.4 (endpoint: fw/by-signature/mr2mG/main/1.20.4.wbfw) 2023-12-11 22:28:58,626 GET: http://fw-releases.wirenboard.com/fw/by-signature/mr2mG/main/1.20.4.wbfw 2023-12-11 22:28:59,710 Trying to get fname from content-disposition 2023-12-11 22:28:59,725 Got fname: mr2mG__1.20.4_master_f4ca222.wbfw 2023-12-11 22:28:59,757 http://fw-releases.wirenboard.com/fw/by-signature/mr2mG/main/1.20.4.wbfw => /var/lib/wb-mcu-fw-updater/mr2mG__1.20.4_master_f4ca222.wbfw 2023-12-11 22:28:59,841 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-1 2023-12-11 22:28:59,843 /dev/ttyRS485-1 response_timeout -> 0.20 2023-12-11 22:28:59,849 /dev/ttyRS485-1 response_timeout -> 5.00 2023-12-11 22:29:04,837 Flashing /var/lib/wb-mcu-fw-updater/mr2mG__1.20.4_master_f4ca222.wbfw 2023-12-11 22:29:04,842 /dev/ttyRS485-1 response_timeout -> 6.00 2023-12-11 22:29:10,962 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:29:17,085 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:29:23,261 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:29:29,389 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:29:35,522 f = write_u16_regs(, 4096, [33702, 64556, 52181, 16124, 60425, 27592, 60247, 19892, 59282, 37894, 63275, 55432, 4226, 1289, 29990, 39627]) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:29:35,526 /dev/ttyRS485-1 response_timeout -> 5.00 2023-12-11 22:29:35,528 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1701, in _extract_payload _check_response_slaveerrorcode(response) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 3281, in _check_response_slaveerrorcode raise error wb_modbus.minimalmodbus.IllegalRequestError: Slave reported illegal data address The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 748, in _update_all recover_device_iteration(fw_signature, device_info.modbus_connection, force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 344, in recover_device_iteration direct_flash(downloaded_fw, device, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 104, in _send_info six.raise_from(NotInBootloaderError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.NotInBootloaderError 2023-12-11 22:29:35,557 Will ask a bootloader for fw_signature 2023-12-11 22:29:35,676 FW signature for 36 : /dev/ttyRS485-2 is mdm3G26 2023-12-11 22:29:35,685 Found in bootloader: WB-MDM3 (36, /dev/ttyRS485-2); fw_signature: mdm3G26 2023-12-11 22:29:35,694 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:29:35,699 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:29:35,780 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:29:38,785 FW version for mdm3G26 on release testing: 2.7.1 (endpoint: fw/by-signature/mdm3G26/main/2.7.1.wbfw) 2023-12-11 22:29:38,796 GET: http://fw-releases.wirenboard.com/fw/by-signature/mdm3G26/main/2.7.1.wbfw 2023-12-11 22:29:39,844 Trying to get fname from content-disposition 2023-12-11 22:29:39,853 Got fname: mdm3G26__2.7.1_master_4c5f5d0.wbfw 2023-12-11 22:29:39,859 http://fw-releases.wirenboard.com/fw/by-signature/mdm3G26/main/2.7.1.wbfw => /var/lib/wb-mcu-fw-updater/mdm3G26__2.7.1_master_4c5f5d0.wbfw 2023-12-11 22:29:39,878 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:29:39,883 /dev/ttyRS485-2 response_timeout -> 0.20 2023-12-11 22:29:39,888 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:29:44,263 Flashing /var/lib/wb-mcu-fw-updater/mdm3G26__2.7.1_master_4c5f5d0.wbfw 2023-12-11 22:29:44,269 /dev/ttyRS485-2 response_timeout -> 6.00 2023-12-11 22:29:50,389 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:29:56,521 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:30:02,654 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:30:08,832 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:30:14,999 f = write_u16_regs(, 4096, [36856, 25249, 1756, 24476, 20438, 435, 17559, 30230, 25296, 58820, 2094, 444, 16078, 64185, 50992, 8149]) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:30:15,002 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:30:15,005 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1701, in _extract_payload _check_response_slaveerrorcode(response) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 3281, in _check_response_slaveerrorcode raise error wb_modbus.minimalmodbus.IllegalRequestError: Slave reported illegal data address The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 748, in _update_all recover_device_iteration(fw_signature, device_info.modbus_connection, force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 344, in recover_device_iteration direct_flash(downloaded_fw, device, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 104, in _send_info six.raise_from(NotInBootloaderError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.NotInBootloaderError 2023-12-11 22:30:15,029 Will ask a bootloader for fw_signature 2023-12-11 22:30:15,153 FW signature for 16 : /dev/ttyRS485-2 is ledG 2023-12-11 22:30:15,172 Found in bootloader: WB-LED (16, /dev/ttyRS485-2); fw_signature: ledG 2023-12-11 22:30:15,179 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:30:15,188 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:30:15,194 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:30:18,778 FW version for ledG on release testing: 3.4.2 (endpoint: fw/by-signature/ledG/main/3.4.2.wbfw) 2023-12-11 22:30:18,784 GET: http://fw-releases.wirenboard.com/fw/by-signature/ledG/main/3.4.2.wbfw 2023-12-11 22:30:19,866 Trying to get fname from content-disposition 2023-12-11 22:30:19,875 Got fname: ledG__3.4.2_master_5711725.wbfw 2023-12-11 22:30:19,882 http://fw-releases.wirenboard.com/fw/by-signature/ledG/main/3.4.2.wbfw => /var/lib/wb-mcu-fw-updater/ledG__3.4.2_master_5711725.wbfw 2023-12-11 22:30:19,892 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:30:19,894 /dev/ttyRS485-2 response_timeout -> 0.20 2023-12-11 22:30:19,899 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:30:25,473 Flashing /var/lib/wb-mcu-fw-updater/ledG__3.4.2_master_5711725.wbfw 2023-12-11 22:30:25,479 /dev/ttyRS485-2 response_timeout -> 6.00 2023-12-11 22:30:31,602 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:30:37,732 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:30:43,871 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:30:50,012 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:30:56,282 f = write_u16_regs(, 4096, [42347, 24854, 43439, 26492, 13982, 32759, 1036, 13686, 9070, 13766, 62742, 24616, 2620, 48348, 7530, 35132]) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:30:56,288 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:30:56,293 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1701, in _extract_payload _check_response_slaveerrorcode(response) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 3281, in _check_response_slaveerrorcode raise error wb_modbus.minimalmodbus.IllegalRequestError: Slave reported illegal data address The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 748, in _update_all recover_device_iteration(fw_signature, device_info.modbus_connection, force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 344, in recover_device_iteration direct_flash(downloaded_fw, device, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 104, in _send_info six.raise_from(NotInBootloaderError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.NotInBootloaderError 2023-12-11 22:30:56,319 Will ask a bootloader for fw_signature 2023-12-11 22:30:56,406 FW signature for 49 : /dev/ttyRS485-2 is wb-mai6 2023-12-11 22:30:56,410 Found in bootloader: WB-MAI6 (49, /dev/ttyRS485-2); fw_signature: wb-mai6 2023-12-11 22:30:56,414 FW releases files: ['http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml'] 2023-12-11 22:30:56,441 Looking to http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml (suite: testing) 2023-12-11 22:30:56,456 GET: http://fw-releases.wirenboard.com/fw/by-signature/release-versions.yaml 2023-12-11 22:30:59,954 FW version for wb-mai6 on release testing: 2.0.7 (endpoint: fw/by-signature/wb-mai6/main/2.0.7.wbfw) 2023-12-11 22:30:59,971 GET: http://fw-releases.wirenboard.com/fw/by-signature/wb-mai6/main/2.0.7.wbfw 2023-12-11 22:31:01,193 Trying to get fname from content-disposition 2023-12-11 22:31:01,204 Got fname: wb-mai6__2.0.7_main_ac58f00.wbfw 2023-12-11 22:31:01,229 http://fw-releases.wirenboard.com/fw/by-signature/wb-mai6/main/2.0.7.wbfw => /var/lib/wb-mcu-fw-updater/wb-mai6__2.0.7_main_ac58f00.wbfw 2023-12-11 22:31:01,245 Set {'baudrate': 115200, 'parity': 'N', 'stopbits': 2} to /dev/ttyRS485-2 2023-12-11 22:31:01,253 /dev/ttyRS485-2 response_timeout -> 0.20 2023-12-11 22:31:01,268 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:31:06,433 Flashing /var/lib/wb-mcu-fw-updater/wb-mai6__2.0.7_main_ac58f00.wbfw 2023-12-11 22:31:06,439 /dev/ttyRS485-2 response_timeout -> 6.00 2023-12-11 22:31:12,507 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 1/5): Slave reported illegal data address 2023-12-11 22:31:18,680 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 2/5): Slave reported illegal data address 2023-12-11 22:31:24,811 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 3/5): Slave reported illegal data address 2023-12-11 22:31:30,935 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 4/5): Slave reported illegal data address 2023-12-11 22:31:37,062 f = write_u16_regs(, 4096, [38688, 58153, 39239, 31546, 9535, 6399, 62634, 59027, 41359, 61597, 28844, 20671, 6688, 43178, 11437, 33337]) not succeed (try 5/5): Slave reported illegal data address 2023-12-11 22:31:37,066 /dev/ttyRS485-2 response_timeout -> 5.00 2023-12-11 22:31:37,080 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 102, in _send_info self.instrument.write_u16_regs(self.INFO_BLOCK_START, regs_row) 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 274, in write_u16_regs self.device.write_registers(beginning, values) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 885, in write_registers 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 1701, in _extract_payload _check_response_slaveerrorcode(response) File "/usr/lib/python3/dist-packages/wb_modbus/minimalmodbus.py", line 3281, in _check_response_slaveerrorcode raise error wb_modbus.minimalmodbus.IllegalRequestError: Slave reported illegal data address The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 748, in _update_all recover_device_iteration(fw_signature, device_info.modbus_connection, force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 344, in recover_device_iteration direct_flash(downloaded_fw, device, force=force) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/update_monitor.py", line 385, in direct_flash flasher.flash_in_bl(fw_fpath) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 160, in flash_in_bl self._send_info(info_block) File "/usr/lib/python3/dist-packages/wb_mcu_fw_updater/fw_flasher.py", line 104, in _send_info six.raise_from(NotInBootloaderError, e) File "", line 3, in raise_from wb_mcu_fw_updater.fw_flasher.NotInBootloaderError 2023-12-11 22:31:37,124 Bootloader update available: 2023-12-11 22:31:37,139 WB-MRM2-mini-NO-inputs (11, /dev/ttyRS485-1); WB-MDM3 (36, /dev/ttyRS485-2); WB-LED (16, /dev/ttyRS485-2); WB-MAI6 (49, /dev/ttyRS485-2) 2023-12-11 22:31:37,144 Try 'wb-mcu-fw-updater update-bl -a ' for each device 2023-12-11 22:31:37,148 No answer from: 2023-12-11 22:31:37,158 danfoss_fc_51 (10, /dev/ttyMOD3) 2023-12-11 22:31:37,165 Devices are possibly disconnected 2023-12-11 22:31:37,169 Now in bootloader: 2023-12-11 22:31:37,173 WB-MRM2-mini-NO-inputs (11, /dev/ttyRS485-1); WB-MDM3 (36, /dev/ttyRS485-2); WB-LED (16, /dev/ttyRS485-2); WB-MAI6 (49, /dev/ttyRS485-2) 2023-12-11 22:31:37,178 Try wb-mcu-fw-updater recover-all 2023-12-11 22:31:37,183 0 upgraded, 0 skipped upgrade, 4 bootloader updates available, 4 stuck in bootloader, 1 disconnected and 0 too old for any updates. 2023-12-11 22:31:37,230 Has saved db to /var/lib/wb-mcu-fw-updater/devices.jsondb 2023-12-11 22:31:37,234 Will run: fuser -k -CONT /dev/ttyRS485-1 /dev/ttyRS485-2 /dev/ttyMOD3 root@wirenboard-A6RC2UEN:~#