alfa-sw / sw-programmazione-schede

Software per la programmazione seriale del firmware applicativo sugli Attuatori attraverso il BootLoader
0 stars 1 forks source link

[bootloader] anomalie in caso di programmazione scheda non presente #17

Closed fgalfa closed 2 years ago

fgalfa commented 3 years ago

Condizioni di test

PC collegato a una MAB con slave con indirizzo 1, bootloader aggiornati alla versione presente in tests/.../DESK/.

Sequenza di test

  1. flash app, indirizzo 255, file SchedaMAB/Applicativo/desk_3.2.5-boot-Slave_1_8_42_43.hex -> OK
  2. flash_app, indirizzo 1, SchedaSCCB/Applicativi/pump-r1-siboot-dipswitch_4_2_0.hex -> OK
  3. flash_app, indirizzo 8, SchedaSCCB/Applicativi/pump-r1-siboot-dipswitch_4_2_0.hex -> FALLITO

Risultati

Il processo di programmazione parte, ma con tempistiche dilatate. I comandi impiegano sempre più tempo a essere processati da MAB, fino a timeout (vedi log 1).

A successivo riavvio, non è più possibile effettuare salto a boot. In seguito a _DIAG_JUMP_TOBOOT, la variabile _statuslevel viene impostata a 6 anziché 9.

Log 1:

[2021-11-09 10:09:08,398]INFO disconnect() driver.py:223 disconnecting
[2021-11-09 10:09:08,399]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.STATE_CHANGED, Attachment: State.DISCONNECTED Source: <mab_serial_lib.driver.SerialDriver object at 0x7f7ec21f4d00>
[2021-11-09 10:09:08,399]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.WAITING_FOR_DRIVER_CONNECTED Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f7ec2211790>
[2021-11-09 10:09:08,411]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 02 82 14 2A 5D 6F 9A 25 01 00
[2021-11-09 10:09:08,417]DEBUG _read_usb_message() alfa_fw_upgrader.py:242 Read data: 02 38 02 01 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[2021-11-09 10:09:08,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 02 82 14 2A 5D 6F 9A 25 01 08
[2021-11-09 10:09:09,415]DEBUG _read_usb_message() alfa_fw_upgrader.py:242 Read data: 02 38 02 01 00 17 00 00 00 41 00 00 FF 00 FF FF FF 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[2021-11-09 10:09:09,415]WARNING QUERY() alfa_fw_upgrader.py:311 Reported boot status is 1
[2021-11-09 10:09:09,415]INFO __init__() alfa_fw_upgrader.py:537 Response to QUERY, address = 5888, length = 16640, proto_ver = 0, boot_ver = None
[2021-11-09 10:09:09,416]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 04
[2021-11-09 10:09:09,418]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 02 82 14 2A 5D 6F 9A 25 01 08
[2021-11-09 10:09:11,415]DEBUG _read_usb_message() alfa_fw_upgrader.py:242 Read data: 02 38 02 01 00 17 00 00 00 41 00 00 FF 00 FF FF FF 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[2021-11-09 10:09:11,415]WARNING QUERY() alfa_fw_upgrader.py:311 Reported boot status is 1
[2021-11-09 10:09:11,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 5888 chunk FF FF FF 00 00 00 00 00 AE 17 04 00 00 00 00 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 54 48 04 00 
[2021-11-09 10:09:11,416]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 00 17 00 00 38 00 00 FF FF FF 00 00 00 00 00 AE 17 04 00 00 00 00 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 54 48 04 00
[2021-11-09 10:09:11,419]DEBUG program() alfa_fw_upgrader.py:700 programming on address 5944 chunk 00 00 00 00 00 00 06 00 00 00 FE 00 FF FF FF 00 B6 48 04 00 00 00 00 00 00 00 06 00 80 4E 04 00 00 00 00 00 00 00 06 00 FE 4D 04 00 00 00 00 00 00 00 06 00 FF FF FF 00 
[2021-11-09 10:09:11,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 1C 17 00 00 38 00 00 00 00 00 00 00 00 06 00 00 00 FE 00 FF FF FF 00 B6 48 04 00 00 00 00 00 00 00 06 00 80 4E 04 00 00 00 00 00 00 00 06 00 FE 4D 04 00 00 00 00 00 00 00 06 00 FF FF FF 00
[2021-11-09 10:09:11,422]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6000 chunk FF FF FF 00 FF FF FF 00 88 4A 04 00 00 00 00 00 00 00 06 00 92 66 80 00 A2 66 88 00 61 C5 20 00 C3 D1 20 00 20 C0 B3 00 91 4F 10 00 05 00 3A 00 11 00 90 00 00 00 51 00 
[2021-11-09 10:09:11,423]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 38 17 00 00 38 00 00 FF FF FF 00 FF FF FF 00 88 4A 04 00 00 00 00 00 00 00 06 00 92 66 80 00 A2 66 88 00 61 C5 20 00 C3 D1 20 00 20 C0 B3 00 91 4F 10 00 05 00 3A 00 11 00 90 00 00 00 51 00
[2021-11-09 10:09:12,415]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6056 chunk 93 0F 50 00 01 00 39 00 80 C8 EB 00 10 C0 B3 00 91 4F 10 00 03 00 3A 00 92 00 98 00 20 C0 B3 00 80 48 78 00 E4 80 40 00 83 81 E8 00 20 CD 20 00 80 8F 50 00 ED FF 3A 00 
[2021-11-09 10:09:12,415]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 54 17 00 00 38 00 00 93 0F 50 00 01 00 39 00 80 C8 EB 00 10 C0 B3 00 91 4F 10 00 03 00 3A 00 92 00 98 00 20 C0 B3 00 80 48 78 00 E4 80 40 00 83 81 E8 00 20 CD 20 00 80 8F 50 00 ED FF 3A 00
[2021-11-09 10:09:13,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6112 chunk 00 00 06 00 00 80 FB 00 42 00 DD 00 00 80 E8 00 61 C5 20 00 E0 80 78 00 90 66 80 00 01 00 50 00 00 00 06 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 
[2021-11-09 10:09:13,416]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 70 17 00 00 38 00 00 00 00 06 00 00 80 FB 00 42 00 DD 00 00 80 E8 00 61 C5 20 00 E0 80 78 00 90 66 80 00 01 00 50 00 00 00 06 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
[2021-11-09 10:09:14,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6168 chunk FF FF FF 00 FF FF FF 00 FF FF FF 00 34 4A 04 00 00 00 00 00 00 00 06 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 
[2021-11-09 10:09:14,416]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 8C 17 00 00 38 00 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 34 4A 04 00 00 00 00 00 00 00 06 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
[2021-11-09 10:09:15,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6224 chunk 5E 4A 04 00 00 00 00 00 00 00 06 00 EF DB 20 00 80 FF 20 00 00 01 88 00 00 00 00 00 0A 00 07 00 11 00 07 00 00 00 20 00 00 00 E0 00 02 00 32 00 00 00 02 00 00 00 00 00 
[2021-11-09 10:09:15,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 A8 17 00 00 38 00 00 5E 4A 04 00 00 00 00 00 00 00 06 00 EF DB 20 00 80 FF 20 00 00 01 88 00 00 00 00 00 0A 00 07 00 11 00 07 00 00 00 20 00 00 00 E0 00 02 00 32 00 00 00 02 00 00 00 00 00
[2021-11-09 10:09:16,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6280 chunk DC 56 02 00 00 00 00 00 00 40 DA 00 00 00 FE 00 44 40 A9 00 00 81 20 00 00 00 E0 00 03 00 32 00 00 00 20 00 A0 01 88 00 44 40 A8 00 00 00 06 00 E0 63 25 00 01 00 20 00 
[2021-11-09 10:09:16,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 C4 17 00 00 38 00 00 DC 56 02 00 00 00 00 00 00 40 DA 00 00 00 FE 00 44 40 A9 00 00 81 20 00 00 00 E0 00 03 00 32 00 00 00 20 00 A0 01 88 00 44 40 A8 00 00 00 06 00 E0 63 25 00 01 00 20 00
[2021-11-09 10:09:17,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6336 chunk 16 00 37 00 62 00 40 00 E0 80 48 00 91 01 88 00 90 01 BA 00 62 00 40 00 E0 80 48 00 91 01 88 00 90 02 BA 00 62 00 40 00 E0 80 48 00 00 02 EB 00 60 28 E1 00 05 00 3A 00 
[2021-11-09 10:09:17,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 E0 17 00 00 38 00 00 16 00 37 00 62 00 40 00 E0 80 48 00 91 01 88 00 90 01 BA 00 62 00 40 00 E0 80 48 00 91 01 88 00 90 02 BA 00 62 00 40 00 E0 80 48 00 00 02 EB 00 60 28 E1 00 05 00 3A 00
[2021-11-09 10:09:18,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6392 chunk 83 01 E9 00 07 00 33 00 03 80 09 00 00 59 EB 00 04 00 37 00 61 28 E1 00 01 00 32 00 00 82 EB 00 05 00 07 00 91 01 88 00 10 01 BA 00 02 00 E0 00 E6 FF 3A 00 00 00 05 00 
[2021-11-09 10:09:18,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 FC 17 00 00 38 00 00 83 01 E9 00 07 00 33 00 03 80 09 00 00 59 EB 00 04 00 37 00 61 28 E1 00 01 00 32 00 00 82 EB 00 05 00 07 00 91 01 88 00 10 01 BA 00 02 00 E0 00 E6 FF 3A 00 00 00 05 00
[2021-11-09 10:09:19,416]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6448 chunk 91 01 88 00 80 02 78 00 62 00 40 00 E0 80 48 00 35 59 BA 00 83 01 E9 00 08 00 32 00 25 59 BA 00 83 01 E9 00 05 00 32 00 04 00 E0 00 F4 FF 32 00 15 D9 BA 00 83 01 E9 00 
[2021-11-09 10:09:19,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 18 18 00 00 38 00 00 91 01 88 00 80 02 78 00 62 00 40 00 E0 80 48 00 35 59 BA 00 83 01 E9 00 08 00 32 00 25 59 BA 00 83 01 E9 00 05 00 32 00 04 00 E0 00 F4 FF 32 00 15 D9 BA 00 83 01 E9 00
[2021-11-09 10:09:20,417]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6504 chunk F1 FF 3A 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01 EB 00 02 00 37 00 81 71 78 00 83 01 E8 00 82 8F 51 00 FC FF 3A 00 00 00 06 00 83 9F 68 00 
[2021-11-09 10:09:20,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 34 18 00 00 38 00 00 F1 FF 3A 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01 EB 00 02 00 37 00 81 71 78 00 83 01 E8 00 82 8F 51 00 FC FF 3A 00 00 00 06 00 83 9F 68 00
[2021-11-09 10:09:21,417]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6560 chunk 01 00 E0 00 02 00 3D 00 60 00 10 00 E0 80 18 00 03 00 E0 00 02 00 3D 00 60 01 11 00 E0 81 19 00 0B 00 07 00 4F 00 E0 00 02 00 3B 00 60 00 10 00 E0 80 18 00 00 00 06 00 
[2021-11-09 10:09:21,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 50 18 00 00 38 00 00 01 00 E0 00 02 00 3D 00 60 00 10 00 E0 80 18 00 03 00 E0 00 02 00 3D 00 60 01 11 00 E0 81 19 00 0B 00 07 00 4F 00 E0 00 02 00 3B 00 60 00 10 00 E0 80 18 00 00 00 06 00
[2021-11-09 10:09:22,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6616 chunk 02 0A B9 00 00 1B B9 00 02 00 B8 00 81 00 42 00 81 00 43 00 00 00 06 00 60 22 B8 00 06 02 20 00 00 00 D0 00 81 80 D2 00 04 82 D2 00 85 82 D2 00 00 00 A0 00 02 02 52 00 
[2021-11-09 10:09:22,418]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 6C 18 00 00 38 00 00 02 0A B9 00 00 1B B9 00 02 00 B8 00 81 00 42 00 81 00 43 00 00 00 06 00 60 22 B8 00 06 02 20 00 00 00 D0 00 81 80 D2 00 04 82 D2 00 85 82 D2 00 00 00 A0 00 02 02 52 00
[2021-11-09 10:09:23,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6672 chunk 83 82 5A 00 03 00 31 00 02 02 42 00 83 82 4A 00 00 00 A1 00 06 03 E9 00 F3 FF 3A 00 00 00 06 00 00 01 BE 00 71 01 07 00 04 70 A7 00 03 F0 A1 00 03 F8 A3 00 13 00 3A 00 
[2021-11-09 10:09:23,418]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 88 18 00 00 38 00 00 83 82 5A 00 03 00 31 00 02 02 42 00 83 82 4A 00 00 00 A1 00 06 03 E9 00 F3 FF 3A 00 00 00 06 00 00 01 BE 00 71 01 07 00 04 70 A7 00 03 F0 A1 00 03 F8 A3 00 13 00 3A 00
[2021-11-09 10:09:24,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6728 chunk 65 09 B1 00 10 00 32 00 09 00 35 00 69 28 E1 00 02 00 35 00 01 00 28 00 00 00 05 00 00 00 40 00 81 80 48 00 85 02 E9 00 FC FF 3A 00 00 00 06 00 F8 8F 42 00 05 00 35 00 
[2021-11-09 10:09:24,418]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 A4 18 00 00 38 00 00 65 09 B1 00 10 00 32 00 09 00 35 00 69 28 E1 00 02 00 35 00 01 00 28 00 00 00 05 00 00 00 40 00 81 80 48 00 85 02 E9 00 FC FF 3A 00 00 00 06 00 F8 8F 42 00 05 00 35 00
[2021-11-09 10:09:25,417]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6784 chunk 81 00 D1 00 00 80 D3 00 85 02 E8 00 FC FF 3A 00 00 00 06 00 80 00 EB 00 00 00 05 00 88 9F BE 00 8A 9F BE 00 01 05 78 00 01 00 E0 00 04 00 35 00 08 00 3C 00 00 00 E0 00 
[2021-11-09 10:09:25,417]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 C0 18 00 00 38 00 00 81 00 D1 00 00 80 D3 00 85 02 E8 00 FC FF 3A 00 00 00 06 00 80 00 EB 00 00 00 05 00 88 9F BE 00 8A 9F BE 00 01 05 78 00 01 00 E0 00 04 00 35 00 08 00 3C 00 00 00 E0 00
[2021-11-09 10:09:26,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6840 chunk 20 00 32 00 05 00 37 00 60 00 10 00 E0 80 18 00 02 00 3B 00 01 F0 2C 00 1A 00 37 00 00 04 BE 00 60 11 B8 00 6B 09 20 00 09 82 CF 00 02 00 39 00 08 82 CF 00 04 41 B0 00 
[2021-11-09 10:09:26,419]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 DC 18 00 00 38 00 00 20 00 32 00 05 00 37 00 60 00 10 00 E0 80 18 00 02 00 3B 00 01 F0 2C 00 1A 00 37 00 00 04 BE 00 60 11 B8 00 6B 09 20 00 09 82 CF 00 02 00 39 00 08 82 CF 00 04 41 B0 00
[2021-11-09 10:09:27,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6896 chunk 69 42 52 00 0E 00 32 00 08 00 3B 00 82 81 71 00 61 01 64 00 89 04 D1 00 08 84 D3 00 8B 05 E8 00 04 42 E8 00 F9 FF 3A 00 05 00 37 00 08 04 44 00 89 84 4C 00 8B 05 E9 00 
[2021-11-09 10:09:27,418]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 F8 18 00 00 38 00 00 69 42 52 00 0E 00 32 00 08 00 3B 00 82 81 71 00 61 01 64 00 89 04 D1 00 08 84 D3 00 8B 05 E8 00 04 42 E8 00 F9 FF 3A 00 05 00 37 00 08 04 44 00 89 84 4C 00 8B 05 E9 00
[2021-11-09 10:09:28,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 6952 chunk 04 42 E9 00 FB FF 3A 00 47 01 07 00 0A F0 A7 00 01 F0 A0 00 4F 05 BE 00 4F 04 BE 00 00 00 06 00 03 F0 A2 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 63 01 07 00 6A 01 33 00 
[2021-11-09 10:09:28,419]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 14 19 00 00 38 00 00 04 42 E9 00 FB FF 3A 00 47 01 07 00 0A F0 A7 00 01 F0 A0 00 4F 05 BE 00 4F 04 BE 00 00 00 06 00 03 F0 A2 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 63 01 07 00 6A 01 33 00
[2021-11-09 10:09:29,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7008 chunk 64 50 E1 00 4F 00 32 00 64 20 E1 00 52 00 32 00 03 82 6C 00 07 00 3B 00 09 05 D0 00 03 06 D0 00 82 0F 54 00 0C 06 5D 00 02 00 39 00 02 00 32 00 89 01 78 00 03 06 78 00 
[2021-11-09 10:09:29,418]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 30 19 00 00 38 00 00 64 50 E1 00 4F 00 32 00 64 20 E1 00 52 00 32 00 03 82 6C 00 07 00 3B 00 09 05 D0 00 03 06 D0 00 82 0F 54 00 0C 06 5D 00 02 00 39 00 02 00 32 00 89 01 78 00 03 06 78 00
[2021-11-09 10:09:30,418]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7064 chunk 85 82 55 00 04 00 3D 00 00 03 FD 00 81 03 FD 00 85 02 EA 00 8B 85 42 00 84 0F 72 00 02 00 3B 00 60 00 10 00 E0 80 18 00 60 11 B8 00 00 05 EB 00 7A 28 E1 00 0A 00 39 00 
[2021-11-09 10:09:30,419]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 4C 19 00 00 38 00 00 85 82 55 00 04 00 3D 00 00 03 FD 00 81 03 FD 00 85 02 EA 00 8B 85 42 00 84 0F 72 00 02 00 3B 00 60 00 10 00 E0 80 18 00 60 11 B8 00 00 05 EB 00 7A 28 E1 00 0A 00 39 00
[2021-11-09 10:09:31,419]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7120 chunk 06 00 78 00 C7 5D DD 00 F7 07 B2 00 87 80 75 00 2D 00 37 00 82 81 71 00 0A 01 78 00 61 05 60 00 81 80 D1 00 00 80 D3 00 85 02 E9 00 F9 FF 3B 00 06 04 40 00 87 84 48 00 
[2021-11-09 10:09:31,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 68 19 00 00 38 00 00 06 00 78 00 C7 5D DD 00 F7 07 B2 00 87 80 75 00 2D 00 37 00 82 81 71 00 0A 01 78 00 61 05 60 00 81 80 D1 00 00 80 D3 00 85 02 E9 00 F9 FF 3B 00 06 04 40 00 87 84 48 00
[2021-11-09 10:09:32,419]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7176 chunk 02 00 3B 00 60 04 14 00 E0 84 1C 00 09 88 A3 00 07 00 32 00 8A 81 71 00 82 81 71 00 61 01 64 00 89 04 D1 00 08 84 D3 00 8B 05 E8 00 17 00 37 00 09 78 A3 00 13 00 3A 00 
[2021-11-09 10:09:32,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 84 19 00 00 38 00 00 02 00 3B 00 60 04 14 00 E0 84 1C 00 09 88 A3 00 07 00 32 00 8A 81 71 00 82 81 71 00 61 01 64 00 89 04 D1 00 08 84 D3 00 8B 05 E8 00 17 00 37 00 09 78 A3 00 13 00 3A 00
[2021-11-09 10:09:33,419]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7232 chunk 0B 00 E0 00 13 00 34 00 8B 05 E9 00 08 04 44 00 89 84 4C 00 0A 44 74 00 09 78 A3 00 0D 00 3A 00 0B 00 E0 00 07 00 34 00 8B 05 E9 00 08 04 44 00 89 84 4C 00 01 00 3A 00 
[2021-11-09 10:09:33,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 A0 19 00 00 38 00 00 0B 00 E0 00 13 00 34 00 8B 05 E9 00 08 04 44 00 89 84 4C 00 0A 44 74 00 09 78 A3 00 0D 00 3A 00 0B 00 E0 00 07 00 34 00 8B 05 E9 00 08 04 44 00 89 84 4C 00 01 00 3A 00
[2021-11-09 10:09:34,419]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7288 chunk 0B 00 20 00 09 78 A3 00 F7 FF 32 00 00 01 EB 00 02 00 37 00 82 81 71 00 0A 01 78 00 EE 00 07 00 0C F0 A7 00 01 F0 A0 00 22 01 37 00 64 20 E1 00 02 00 3A 00 83 8F 6C 00 
[2021-11-09 10:09:34,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 BC 19 00 00 38 00 00 0B 00 20 00 09 78 A3 00 F7 FF 32 00 00 01 EB 00 02 00 37 00 82 81 71 00 0A 01 78 00 EE 00 07 00 0C F0 A7 00 01 F0 A0 00 22 01 37 00 64 20 E1 00 02 00 3A 00 83 8F 6C 00
[2021-11-09 10:09:35,420]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7344 chunk 22 01 33 00 08 01 BE 00 02 00 BE 00 1B 01 37 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 00 04 BE 00 CA 00 07 00 04 78 A3 00 26 00 3A 00 61 20 E1 00 25 00 32 00 09 F8 A3 00 
[2021-11-09 10:09:35,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 D8 19 00 00 38 00 00 22 01 33 00 08 01 BE 00 02 00 BE 00 1B 01 37 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 00 04 BE 00 CA 00 07 00 04 78 A3 00 26 00 3A 00 61 20 E1 00 25 00 32 00 09 F8 A3 00
[2021-11-09 10:09:36,420]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7400 chunk 25 00 3A 00 64 20 E1 00 21 00 32 00 F5 07 B1 00 05 08 A3 00 02 00 32 00 00 00 40 00 81 80 48 00 60 44 B8 00 03 10 20 00 02 00 20 00 00 00 40 00 81 80 48 00 08 05 44 00 
[2021-11-09 10:09:36,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 F4 19 00 00 38 00 00 25 00 3A 00 64 20 E1 00 21 00 32 00 F5 07 B1 00 05 08 A3 00 02 00 32 00 00 00 40 00 81 80 48 00 60 44 B8 00 03 10 20 00 02 00 20 00 00 00 40 00 81 80 48 00 08 05 44 00
[2021-11-09 10:09:37,419]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7456 chunk 89 85 4C 00 0A 05 41 00 8B 85 49 00 0A 05 50 00 8B 85 58 00 03 00 33 00 0A 00 BE 00 02 04 74 00 83 84 74 00 83 01 D1 00 02 81 D3 00 83 0F 71 00 F0 FF 3A 00 89 04 D1 00 
[2021-11-09 10:09:37,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 10 1A 00 00 38 00 00 89 85 4C 00 0A 05 41 00 8B 85 49 00 0A 05 50 00 8B 85 58 00 03 00 33 00 0A 00 BE 00 02 04 74 00 83 84 74 00 83 01 D1 00 02 81 D3 00 83 0F 71 00 F0 FF 3A 00 89 04 D1 00
[2021-11-09 10:09:38,420]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7512 chunk 08 84 D3 00 60 01 49 00 82 01 78 00 C1 AD DE 00 FB 07 B0 00 B8 00 07 00 EE 00 37 00 09 60 A0 00 08 00 BE 00 EB 00 37 00 12 02 20 00 12 4F 88 00 F0 FF 2F 00 F1 FF 27 00 
[2021-11-09 10:09:38,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 2C 1A 00 00 38 00 00 08 84 D3 00 60 01 49 00 82 01 78 00 C1 AD DE 00 FB 07 B0 00 B8 00 07 00 EE 00 37 00 09 60 A0 00 08 00 BE 00 EB 00 37 00 12 02 20 00 12 4F 88 00 F0 FF 2F 00 F1 FF 27 00
[2021-11-09 10:09:39,420]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7568 chunk E6 00 37 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 D1 00 07 00 D8 00 33 00 03 86 6C 00 64 50 E1 00 24 00 32 00 64 20 E1 00 27 00 32 00 61 50 E1 00 22 00 32 00 61 20 E1 00 
[2021-11-09 10:09:39,420]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 48 1A 00 00 38 00 00 E6 00 37 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 D1 00 07 00 D8 00 33 00 03 86 6C 00 64 50 E1 00 24 00 32 00 64 20 E1 00 27 00 32 00 61 50 E1 00 22 00 32 00 61 20 E1 00
[2021-11-09 10:09:40,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7624 chunk 21 00 32 00 8B 85 42 00 EB 07 B1 00 01 34 B8 00 00 3A B8 00 08 04 42 00 89 84 4A 00 01 3A B8 00 00 30 B8 00 88 80 40 00 09 01 4A 00 04 00 33 00 00 00 40 00 81 80 48 00 
[2021-11-09 10:09:40,421]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 64 1A 00 00 38 00 00 21 00 32 00 8B 85 42 00 EB 07 B1 00 01 34 B8 00 00 3A B8 00 08 04 42 00 89 84 4A 00 01 3A B8 00 00 30 B8 00 88 80 40 00 09 01 4A 00 04 00 33 00 00 00 40 00 81 80 48 00
[2021-11-09 10:09:41,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7680 chunk 02 01 49 00 8B 05 E9 00 C9 09 DD 00 83 01 70 00 01 00 32 00 13 00 20 00 C8 14 DE 00 48 14 DD 00 47 09 DE 00 12 00 B2 00 C8 08 DE 00 08 84 70 00 87 00 07 00 01 F0 A1 00 
[2021-11-09 10:09:41,421]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 80 1A 00 00 38 00 00 02 01 49 00 8B 05 E9 00 C9 09 DD 00 83 01 70 00 01 00 32 00 13 00 20 00 C8 14 DE 00 48 14 DD 00 47 09 DE 00 12 00 B2 00 C8 08 DE 00 08 84 70 00 87 00 07 00 01 F0 A1 00
[2021-11-09 10:09:42,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7736 chunk 0C F0 A7 00 01 F0 A0 00 BA 00 37 00 61 20 E1 00 BC 00 32 00 08 01 BE 00 02 00 BE 00 F7 FF 37 00 61 50 E1 00 FC FF 3A 00 B6 00 37 00 00 01 BE 00 64 00 07 00 04 70 A7 00 
[2021-11-09 10:09:42,421]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 9C 1A 00 00 38 00 00 0C F0 A7 00 01 F0 A0 00 BA 00 37 00 61 20 E1 00 BC 00 32 00 08 01 BE 00 02 00 BE 00 F7 FF 37 00 61 50 E1 00 FC FF 3A 00 B6 00 37 00 00 01 BE 00 64 00 07 00 04 70 A7 00
[2021-11-09 10:09:43,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7792 chunk 03 F0 A1 00 65 09 B1 00 16 00 32 00 0D 00 35 00 68 28 E1 00 06 00 35 00 F0 FF 2F 00 F1 FF 27 00 03 00 E0 00 13 00 3B 00 01 00 28 00 00 00 05 00 00 00 40 00 81 80 48 00 
[2021-11-09 10:09:43,421]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 B8 1A 00 00 38 00 00 03 F0 A1 00 65 09 B1 00 16 00 32 00 0D 00 35 00 68 28 E1 00 06 00 35 00 F0 FF 2F 00 F1 FF 27 00 03 00 E0 00 13 00 3B 00 01 00 28 00 00 00 05 00 00 00 40 00 81 80 48 00
[2021-11-09 10:09:44,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7848 chunk 85 02 E9 00 FC FF 3A 00 08 00 37 00 F8 8F 42 00 02 00 3C 00 80 00 EB 00 00 00 05 00 81 00 D1 00 00 80 D3 00 85 02 E8 00 FC FF 3A 00 03 00 E0 00 02 00 3B 00 60 00 10 00 
[2021-11-09 10:09:44,422]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 D4 1A 00 00 38 00 00 85 02 E9 00 FC FF 3A 00 08 00 37 00 F8 8F 42 00 02 00 3C 00 80 00 EB 00 00 00 05 00 81 00 D1 00 00 80 D3 00 85 02 E8 00 FC FF 3A 00 03 00 E0 00 02 00 3B 00 60 00 10 00
[2021-11-09 10:09:45,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7904 chunk E0 80 18 00 00 00 06 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 7C 00 07 00 83 00 33 00 03 86 6C 00 64 50 E1 00 2E 00 32 00 64 20 E1 00 33 00 32 00 61 50 E1 00 2F 00 32 00 
[2021-11-09 10:09:45,421]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 F0 1A 00 00 38 00 00 E0 80 18 00 00 00 06 00 88 9F BE 00 8A 9F BE 00 8C 1F 78 00 7C 00 07 00 83 00 33 00 03 86 6C 00 64 50 E1 00 2E 00 32 00 64 20 E1 00 33 00 32 00 61 50 E1 00 2F 00 32 00
[2021-11-09 10:09:46,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 7960 chunk 61 20 E1 00 31 00 32 00 85 85 55 00 EB 07 B0 00 09 00 20 00 08 04 20 00 05 00 37 00 08 04 44 00 89 84 4C 00 0A 00 31 00 06 03 43 00 87 83 4B 00 00 01 53 00 81 81 5B 00 
[2021-11-09 10:09:46,421]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 0C 1B 00 00 38 00 00 61 20 E1 00 31 00 32 00 85 85 55 00 EB 07 B0 00 09 00 20 00 08 04 20 00 05 00 37 00 08 04 44 00 89 84 4C 00 0A 00 31 00 06 03 43 00 87 83 4B 00 00 01 53 00 81 81 5B 00
[2021-11-09 10:09:47,421]DEBUG program() alfa_fw_upgrader.py:700 programming on address 8016 chunk F8 FF 33 00 02 03 BE 00 08 00 A0 00 08 04 44 00 89 84 4C 00 F6 FF 39 00 C6 39 DD 00 83 01 73 00 01 00 32 00 13 00 20 00 89 04 D1 00 08 84 D3 00 09 98 A3 00 05 00 32 00 
[2021-11-09 10:09:47,422]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 28 1B 00 00 38 00 00 F8 FF 33 00 02 03 BE 00 08 00 A0 00 08 04 44 00 89 84 4C 00 F6 FF 39 00 C6 39 DD 00 83 01 73 00 01 00 32 00 13 00 20 00 89 04 D1 00 08 84 D3 00 09 98 A3 00 05 00 32 00
[2021-11-09 10:09:48,420]DEBUG program() alfa_fw_upgrader.py:700 programming on address 8072 chunk 08 00 A7 00 03 00 A0 00 89 04 D1 00 08 84 D3 00 8B 05 E8 00 89 04 D1 00 08 84 D3 00 00 01 EB 00 02 81 D2 00 28 00 07 00 01 F0 A1 00 0C F0 A7 00 01 F0 A0 00 5B 00 37 00 
[2021-11-09 10:09:48,421]DEBUG _send_usb_message() alfa_fw_upgrader.py:224 Writing data: 05 44 1B 00 00 38 00 00 08 00 A7 00 03 00 A0 00 89 04 D1 00 08 84 D3 00 8B 05 E8 00 89 04 D1 00 08 84 D3 00 00 01 EB 00 02 81 D2 00 28 00 07 00 01 F0 A1 00 0C F0 A7 00 01 F0 A0 00 5B 00 37 00
Traceback (most recent call last):
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 703, in program
    self.usb.PROGRAM(self.starting_address + cursor // 2, chunk)
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 358, in PROGRAM
    self._send_usb_message(data)
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 229, in _send_usb_message
    ret = self.dev.write(self.ep_out, data_to_send, timeout)     
  File "/home/phil/work/sw/rs485-master-env/lib/python3.8/site-packages/usb/core.py", line 989, in write
    return fn(
  File "/home/phil/work/sw/rs485-master-env/lib/python3.8/site-packages/usb/backend/libusb1.py", line 855, in intr_write
    return self.__write(self.lib.libusb_interrupt_transfer,
  File "/home/phil/work/sw/rs485-master-env/lib/python3.8/site-packages/usb/backend/libusb1.py", line 938, in __write
    _check(retval)
  File "/home/phil/work/sw/rs485-master-env/lib/python3.8/site-packages/usb/backend/libusb1.py", line 602, in _check
    raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBTimeoutError: [Errno 110] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader_app.py", line 407, in main
    ufl.program(program_data)
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 706, in program
    raise RuntimeError("programming failed between program "
RuntimeError: programming failed between program positions 2184 and 2240

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/phil/work/sw/rs485-master-env/bin/alfa_fw_upgrader", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/home/phil/work/sw/sw-programmazione-schede/bin/alfa_fw_upgrader", line 5, in <module>
    Application().main()
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader_app.py", line 409, in main
    self._exit_error("PROGRAM_FAILED")
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader_app.py", line 255, in _exit_error
    error_item = self.errors_dict[error_key]
KeyError: 'PROGRAM_FAILED'
failed to update

Log 2

Messaggi salienti:

[2021-11-09 10:12:57,410]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:GET_SLAVES_CONFIGURATION, params:{'slave_ids': b'\x01\x00\x00\x00\x00\x00'}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,619]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_FW_VERSIONS, params:{'MAB_MGB_protocol': b'\x01', 'master': b'\x03\x02\x05', 'slaves': b'\x04\x02\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff'}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,824]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_BOOT_VERSIONS, params:{'boot_master_protocol': b'\x01', 'boot_master': b'\x01\x00\x02', 'boot_slaves_protocol_version': b'\x01\x01\x05\x02\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff'}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
flashing SchedaMAB/Applicativo/desk_3.2.5-boot-Slave_1_8_42_43.hex, device=255
+ alfa_fw_upgrader -vvv -cr 5 -s serial -d 255 -f SchedaMAB/Applicativo/desk_3.2.5-boot-Slave_1_8_42_43.hex program verify jump
[2021-11-09 10:12:51,785]DEBUG dict_to_array() hexutils.py:55 addr:350207 is out of memory
[2021-11-09 10:12:51,790]DEBUG __init__() alfa_fw_upgrader.py:493 usb_args: {'deviceId': 255, 'cmdRetries': 5, 'cmdTimeout': 1000}
[2021-11-09 10:12:51,805]INFO __init__() alfa_fw_upgrader.py:517 USB connection failed USB device not found
[2021-11-09 10:12:51,805]INFO __init__() alfa_fw_upgrader.py:520 jumping to boot
[2021-11-09 10:12:51,805]DEBUG __init__() selector_events.py:59 Using selector: EpollSelector
[2021-11-09 10:12:51,805]INFO __init__() driver.py:197 RS485_Master init ...
[2021-11-09 10:12:51,805]INFO __init__() driver.py:67 Abstract Driver init
[2021-11-09 10:12:51,813]INFO send_command() lowlevel.py:511 Sending command: MACHINE_STATUS to node: 200
[2021-11-09 10:12:51,817]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_BUSY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:51,818]DEBUG _run() userlevel.py:538 starting task
[2021-11-09 10:12:51,818]INFO write() driver.py:263 Send text:b'\x02\xe8)\xc8(*)/\x03'
[2021-11-09 10:12:51,824]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_SENT, Attachment: 1 Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:52,012]INFO read() driver.py:249 Recv text:b'\x02\xe8\x81\xc8\x06\x0e\x84\x1b3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00#)"-\x03'
[2021-11-09 10:12:52,013]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b'\x02\xe8\x81\xc8\x06\x0e\x84\x1b3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00#)"-\x03' Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:52,013]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:200, payload size: 87, payload:060e84030000000000000000000000010001000000000000000000000000000000000000000000000000ffff0000000000000000ffff000000000000000000000100000000000000000000000000000000000000000000 Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,013]INFO _observe_driver() lowlevel.py:438 Expected command id is MACHINE_STATUS
[2021-11-09 10:12:52,013]INFO _observe_driver() lowlevel.py:440 Removing timer timeout for node_addr: 200
[2021-11-09 10:12:52,013]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_READY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,013]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_STATUS, params:{'status_level': 6, 'cycle_step': 14, 'error_code': 900, 'cover_reserve': b'\x00', 'cover_availability': b'\x00', 'cover_enabled': b'\x00', 'container_reserve': b'\x00', 'container_availability': b'\x00', 'container_enabled': b'\x00', 'color_reserve': b'\x00\x00\x00\x00', 'container_presence': False, 'autocap_status': True, 'canlift_status': False, 'doors_status': True, 'clamp_position': 0, 'recirculation_status': b'\x00\x00\x00\x00', 'stirring_status': b'\x00\x00\x00\x00', 'slave_status': b'\x00\x00\x00\x00\x00\x00', 'can_on_plate': False, 'can_lifter_current_height': 0, 'can_lifter_range': 0, 'current_temperature': 65535, 'current_rel_humidity': 0, 'water_level': False, 'critical_temperature': False, 'temperature': 0, 'bases_carriage': False, 'circuit_engaged': 0, 'table_steps_position': 65535, 'autotest_cycles_number': 0, 'table_cleaning_status': b'\x00\x00\x00\x00', 'panel_table_status': False, 'photocells_status': 0, 'can_available': False, 'mixer_door_status': False, 'slave_enable_mask': b'\x01\x00\x00\x00\x00\x00', 'jar_photocells_status': 0, 'stop_formula': 0, 'punct_cleaning_proc': False, 'punct_recirc_proc': False, 'punctual_stirr_proc': False, 'refill_proc': False, 'dispensing_proc': False, 'cleaning_after_proc': False, 'temp_recirc_proc': False, 'reset_proc': False, 'temp_controll_proc': False, 'jar_pos_proc': False, 'eeprom_proc': False, 'pos_proc': False, 'self_rec_proc': False, 'crx_outputs_status': 0}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,013]INFO _update_recv_sts() userlevel.py:309 cmd id is MACHINE_STATUS
[2021-11-09 10:12:52,013]DEBUG _handle_answer() userlevel.py:332 Case 2
[2021-11-09 10:12:52,013]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.READY
[2021-11-09 10:12:52,014]DEBUG operations() alfa_fw_upgrader.py:612 waiting for status_level to reach values 0x06 or 0x04
[2021-11-09 10:12:52,014]DEBUG operations() alfa_fw_upgrader.py:619 command the node to enter diagnostic status
[2021-11-09 10:12:52,014]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.BUSY
[2021-11-09 10:12:52,014]INFO queue_command() userlevel.py:575 Sending the command to ll
[2021-11-09 10:12:52,014]INFO send_command() lowlevel.py:511 Sending command: ENTER_DIAGNOSTIC to node: 200
[2021-11-09 10:12:52,014]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_BUSY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,014]INFO write() driver.py:263 Send text:b'\x02\xe8)j##!.\x03'
[2021-11-09 10:12:52,015]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_SENT, Attachment: 2 Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:52,212]INFO read() driver.py:249 Recv text:b"\x02\xe8\x81\xc8\x07\x00\x84\x1b3\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,*' \x03"
[2021-11-09 10:12:52,213]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b"\x02\xe8\x81\xc8\x07\x00\x84\x1b3\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,*' \x03" Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:52,214]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:200, payload size: 87, payload:070084030000000000000100000000010001000000000000000000000000000000000000000000000000ffff0000000000000000ffff000000000000000000000100000000000000000000000000000000000000000000 Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,214]INFO _observe_driver() lowlevel.py:438 Expected command id is MACHINE_STATUS
[2021-11-09 10:12:52,215]INFO _observe_driver() lowlevel.py:440 Removing timer timeout for node_addr: 200
[2021-11-09 10:12:52,215]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_READY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,216]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_STATUS, params:{'status_level': 7, 'cycle_step': 0, 'error_code': 900, 'cover_reserve': b'\x00', 'cover_availability': b'\x00', 'cover_enabled': b'\x00', 'container_reserve': b'\x00', 'container_availability': b'\x00', 'container_enabled': b'\x00', 'color_reserve': b'\x01\x00\x00\x00', 'container_presence': False, 'autocap_status': True, 'canlift_status': False, 'doors_status': True, 'clamp_position': 0, 'recirculation_status': b'\x00\x00\x00\x00', 'stirring_status': b'\x00\x00\x00\x00', 'slave_status': b'\x00\x00\x00\x00\x00\x00', 'can_on_plate': False, 'can_lifter_current_height': 0, 'can_lifter_range': 0, 'current_temperature': 65535, 'current_rel_humidity': 0, 'water_level': False, 'critical_temperature': False, 'temperature': 0, 'bases_carriage': False, 'circuit_engaged': 0, 'table_steps_position': 65535, 'autotest_cycles_number': 0, 'table_cleaning_status': b'\x00\x00\x00\x00', 'panel_table_status': False, 'photocells_status': 0, 'can_available': False, 'mixer_door_status': False, 'slave_enable_mask': b'\x01\x00\x00\x00\x00\x00', 'jar_photocells_status': 0, 'stop_formula': 0, 'punct_cleaning_proc': False, 'punct_recirc_proc': False, 'punctual_stirr_proc': False, 'refill_proc': False, 'dispensing_proc': False, 'cleaning_after_proc': False, 'temp_recirc_proc': False, 'reset_proc': False, 'temp_controll_proc': False, 'jar_pos_proc': False, 'eeprom_proc': False, 'pos_proc': False, 'self_rec_proc': False, 'crx_outputs_status': 0}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,216]INFO _update_recv_sts() userlevel.py:309 cmd id is MACHINE_STATUS
[2021-11-09 10:12:52,217]DEBUG _handle_answer() userlevel.py:339 Case 4
[2021-11-09 10:12:52,217]DEBUG _handle_answer() userlevel.py:350 Case 4-c
[2021-11-09 10:12:52,217]DEBUG _handle_answer() userlevel.py:352 Case 4-d
[2021-11-09 10:12:52,217]DEBUG _handle_answer() userlevel.py:361 Case 5
[2021-11-09 10:12:52,218]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.READY
[2021-11-09 10:12:52,413]INFO read() driver.py:249 Recv text:b"\x02\xe8\x81\xc8\x07\x00\x84\x1b3\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,*' \x03"
[2021-11-09 10:12:52,413]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b"\x02\xe8\x81\xc8\x07\x00\x84\x1b3\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,*' \x03" Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:52,414]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:200, payload size: 87, payload:070084030000000000000100000000010001000000000000000000000000000000000000000000000000ffff0000000000000000ffff000000000000000000000100000000000000000000000000000000000000000000 Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:52,415]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ORPHAN_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_STATUS, params:{'status_level': 7, 'cycle_step': 0, 'error_code': 900, 'cover_reserve': b'\x00', 'cover_availability': b'\x00', 'cover_enabled': b'\x00', 'container_reserve': b'\x00', 'container_availability': b'\x00', 'container_enabled': b'\x00', 'color_reserve': b'\x01\x00\x00\x00', 'container_presence': False, 'autocap_status': True, 'canlift_status': False, 'doors_status': True, 'clamp_position': 0, 'recirculation_status': b'\x00\x00\x00\x00', 'stirring_status': b'\x00\x00\x00\x00', 'slave_status': b'\x00\x00\x00\x00\x00\x00', 'can_on_plate': False, 'can_lifter_current_height': 0, 'can_lifter_range': 0, 'current_temperature': 65535, 'current_rel_humidity': 0, 'water_level': False, 'critical_temperature': False, 'temperature': 0, 'bases_carriage': False, 'circuit_engaged': 0, 'table_steps_position': 65535, 'autotest_cycles_number': 0, 'table_cleaning_status': b'\x00\x00\x00\x00', 'panel_table_status': False, 'photocells_status': 0, 'can_available': False, 'mixer_door_status': False, 'slave_enable_mask': b'\x01\x00\x00\x00\x00\x00', 'jar_photocells_status': 0, 'stop_formula': 0, 'punct_cleaning_proc': False, 'punct_recirc_proc': False, 'punctual_stirr_proc': False, 'refill_proc': False, 'dispensing_proc': False, 'cleaning_after_proc': False, 'temp_recirc_proc': False, 'reset_proc': False, 'temp_controll_proc': False, 'jar_pos_proc': False, 'eeprom_proc': False, 'pos_proc': False, 'self_rec_proc': False, 'crx_outputs_status': 0}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>

[...]

[2021-11-09 10:12:57,213]INFO read() driver.py:249 Recv text:b"\x02\xe8\x81\xc8\x07\x00\x84\x1b3\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,*' \x03"
[2021-11-09 10:12:57,213]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b"\x02\xe8\x81\xc8\x07\x00\x84\x1b3\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,*' \x03" Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:57,214]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:200, payload size: 87, payload:070084030000000000000100000000010001000000000000000000000000000000000000000000000000ffff0000000000000000ffff000000000000000000000100000000000000000000000000000000000000000000 Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,214]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ORPHAN_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_STATUS, params:{'status_level': 7, 'cycle_step': 0, 'error_code': 900, 'cover_reserve': b'\x00', 'cover_availability': b'\x00', 'cover_enabled': b'\x00', 'container_reserve': b'\x00', 'container_availability': b'\x00', 'container_enabled': b'\x00', 'color_reserve': b'\x01\x00\x00\x00', 'container_presence': False, 'autocap_status': True, 'canlift_status': False, 'doors_status': True, 'clamp_position': 0, 'recirculation_status': b'\x00\x00\x00\x00', 'stirring_status': b'\x00\x00\x00\x00', 'slave_status': b'\x00\x00\x00\x00\x00\x00', 'can_on_plate': False, 'can_lifter_current_height': 0, 'can_lifter_range': 0, 'current_temperature': 65535, 'current_rel_humidity': 0, 'water_level': False, 'critical_temperature': False, 'temperature': 0, 'bases_carriage': False, 'circuit_engaged': 0, 'table_steps_position': 65535, 'autotest_cycles_number': 0, 'table_cleaning_status': b'\x00\x00\x00\x00', 'panel_table_status': False, 'photocells_status': 0, 'can_available': False, 'mixer_door_status': False, 'slave_enable_mask': b'\x01\x00\x00\x00\x00\x00', 'jar_photocells_status': 0, 'stop_formula': 0, 'punct_cleaning_proc': False, 'punct_recirc_proc': False, 'punctual_stirr_proc': False, 'refill_proc': False, 'dispensing_proc': False, 'cleaning_after_proc': False, 'temp_recirc_proc': False, 'reset_proc': False, 'temp_controll_proc': False, 'jar_pos_proc': False, 'eeprom_proc': False, 'pos_proc': False, 'self_rec_proc': False, 'crx_outputs_status': 0}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,214]INFO _update_recv_sts() userlevel.py:309 cmd id is MACHINE_STATUS
[2021-11-09 10:12:57,214]DEBUG _handle_answer() userlevel.py:329 Case 1
[2021-11-09 10:12:57,219]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.BUSY
[2021-11-09 10:12:57,219]INFO queue_command() userlevel.py:575 Sending the command to ll
[2021-11-09 10:12:57,219]INFO send_command() lowlevel.py:511 Sending command: READ_SLAVES_CONFIGURATION to node: 200
[2021-11-09 10:12:57,219]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_BUSY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,220]INFO write() driver.py:263 Send text:b'\x02\xe8)v/*!/\x03'
[2021-11-09 10:12:57,220]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_SENT, Attachment: 3 Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:57,407]INFO read() driver.py:249 Recv text:b"\x02\xe8/\xda\x01\x00\x00\x00\x00\x00(*#'\x03"
[2021-11-09 10:12:57,408]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b"\x02\xe8/\xda\x01\x00\x00\x00\x00\x00(*#'\x03" Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:57,409]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:218, payload size: 6, payload:010000000000 Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,409]INFO _observe_driver() lowlevel.py:438 Expected command id is GET_SLAVES_CONFIGURATION
[2021-11-09 10:12:57,409]INFO _observe_driver() lowlevel.py:440 Removing timer timeout for node_addr: 200
[2021-11-09 10:12:57,410]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_READY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,410]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:GET_SLAVES_CONFIGURATION, params:{'slave_ids': b'\x01\x00\x00\x00\x00\x00'}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,411]DEBUG _handle_answer() userlevel.py:339 Case 4
[2021-11-09 10:12:57,411]DEBUG _handle_answer() userlevel.py:350 Case 4-c
[2021-11-09 10:12:57,411]DEBUG _handle_answer() userlevel.py:352 Case 4-d
[2021-11-09 10:12:57,412]DEBUG _handle_answer() userlevel.py:361 Case 5
[2021-11-09 10:12:57,412]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.READY
[2021-11-09 10:12:57,413]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.BUSY
[2021-11-09 10:12:57,413]INFO queue_command() userlevel.py:575 Sending the command to ll
[2021-11-09 10:12:57,414]INFO send_command() lowlevel.py:511 Sending command: FW_VERSIONS to node: 200
[2021-11-09 10:12:57,414]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_BUSY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,415]INFO write() driver.py:263 Send text:b'\x02\xe8)q#(%.\x03'
[2021-11-09 10:12:57,416]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_SENT, Attachment: 4 Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:57,618]INFO read() driver.py:249 Recv text:b'\x02\xe8\xc0\xd5\x01\x1b3\x1b2\x05\x04\x1b2\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff +$ \x03'
[2021-11-09 10:12:57,618]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b'\x02\xe8\xc0\xd5\x01\x1b3\x1b2\x05\x04\x1b2\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff +$ \x03' Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:57,619]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:213, payload size: 148, payload:01030205040200ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,619]INFO _observe_driver() lowlevel.py:438 Expected command id is MACHINE_FW_VERSIONS
[2021-11-09 10:12:57,619]INFO _observe_driver() lowlevel.py:440 Removing timer timeout for node_addr: 200
[2021-11-09 10:12:57,619]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_READY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,619]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_FW_VERSIONS, params:{'MAB_MGB_protocol': b'\x01', 'master': b'\x03\x02\x05', 'slaves': b'\x04\x02\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff'}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,619]DEBUG _handle_answer() userlevel.py:339 Case 4
[2021-11-09 10:12:57,619]DEBUG _handle_answer() userlevel.py:350 Case 4-c
[2021-11-09 10:12:57,619]DEBUG _handle_answer() userlevel.py:352 Case 4-d
[2021-11-09 10:12:57,619]DEBUG _handle_answer() userlevel.py:361 Case 5
[2021-11-09 10:12:57,619]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.READY
[2021-11-09 10:12:57,620]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.BUSY
[2021-11-09 10:12:57,620]INFO queue_command() userlevel.py:575 Sending the command to ll
[2021-11-09 10:12:57,620]INFO send_command() lowlevel.py:511 Sending command: BOOT_VERSIONS to node: 200
[2021-11-09 10:12:57,620]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_BUSY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,620]INFO write() driver.py:263 Send text:b'\x02\xe8)w#*-.\x03'
[2021-11-09 10:12:57,620]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_SENT, Attachment: 5 Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:57,823]INFO read() driver.py:249 Recv text:b'\x02\xe8\xef\xdb\x01\x01\x00\x1b2\x01\x01\x05\x1b2\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff!!/#\x03'
[2021-11-09 10:12:57,823]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b'\x02\xe8\xef\xdb\x01\x01\x00\x1b2\x01\x01\x05\x1b2\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff!!/#\x03' Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:57,823]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:219, payload size: 196, payload:010100020101050200ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff00ffffff Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,823]INFO _observe_driver() lowlevel.py:438 Expected command id is MACHINE_BOOT_VERSIONS
[2021-11-09 10:12:57,823]INFO _observe_driver() lowlevel.py:440 Removing timer timeout for node_addr: 200
[2021-11-09 10:12:57,823]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_READY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,824]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_BOOT_VERSIONS, params:{'boot_master_protocol': b'\x01', 'boot_master': b'\x01\x00\x02', 'boot_slaves_protocol_version': b'\x01\x01\x05\x02\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff'}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,824]DEBUG _handle_answer() userlevel.py:339 Case 4
[2021-11-09 10:12:57,824]DEBUG _handle_answer() userlevel.py:350 Case 4-c
[2021-11-09 10:12:57,824]DEBUG _handle_answer() userlevel.py:352 Case 4-d
[2021-11-09 10:12:57,824]DEBUG _handle_answer() userlevel.py:361 Case 5
[2021-11-09 10:12:57,824]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.READY
[2021-11-09 10:12:57,824]INFO set_node_status() userlevel.py:290 Setting node status to: NodeStatus.BUSY
[2021-11-09 10:12:57,824]INFO queue_command() userlevel.py:575 Sending the command to ll
[2021-11-09 10:12:57,824]INFO send_command() lowlevel.py:511 Sending command: DIAG_JUMP_TO_BOOT to node: 200
[2021-11-09 10:12:57,825]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_BUSY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:57,825]INFO write() driver.py:263 Send text:b'\x02\xe8)\xb8&.).\x03'
[2021-11-09 10:12:57,825]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_SENT, Attachment: 6 Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:58,013]INFO read() driver.py:249 Recv text:b'\x02\xe8\x81\xc8\x06\x01\x84\x1b3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"%%-\x03'
[2021-11-09 10:12:58,014]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b'\x02\xe8\x81\xc8\x06\x01\x84\x1b3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"%%-\x03' Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:12:58,014]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:200, payload size: 87, payload:060184030000000000000000000000010001000000000000000000000000000000000000000000000000ffff0000000000000000ffff000000000000000000000100000000000000000000000000000000000000000000 Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:58,014]INFO _observe_driver() lowlevel.py:438 Expected command id is MACHINE_STATUS
[2021-11-09 10:12:58,014]INFO _observe_driver() lowlevel.py:440 Removing timer timeout for node_addr: 200
[2021-11-09 10:12:58,014]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.BUS_READY Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:12:58,014]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ANSWER_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_STATUS, params:{'status_level': 6, 'cycle_step': 1, 'error_code': 900, 'cover_reserve': b'\x00', 'cover_availability': b'\x00', 'cover_enabled': b'\x00', 'container_reserve': b'\x00', 'container_availability': b'\x00', 'container_enabled': b'\x00', 'color_reserve': b'\x00\x00\x00\x00', 'container_presence': False, 'autocap_status': True, 'canlift_status': False, 'doors_status': True, 'clamp_position': 0, 'recirculation_status': b'\x00\x00\x00\x00', 'stirring_status': b'\x00\x00\x00\x00', 'slave_status': b'\x00\x00\x00\x00\x00\x00', 'can_on_plate': False, 'can_lifter_current_height': 0, 'can_lifter_range': 0, 'current_temperature': 65535, 'current_rel_humidity': 0, 'water_level': False, 'critical_temperature': False, 'temperature': 0, 'bases_carriage': False, 'circuit_engaged': 0, 'table_steps_position': 65535, 'autotest_cycles_number': 0, 'table_cleaning_status': b'\x00\x00\x00\x00', 'panel_table_status': False, 'photocells_status': 0, 'can_available': False, 'mixer_door_status': False, 'slave_enable_mask': b'\x01\x00\x00\x00\x00\x00', 'jar_photocells_status': 0, 'stop_formula': 0, 'punct_cleaning_proc': False, 'punct_recirc_proc': False, 'punctual_stirr_proc': False, 'refill_proc': False, 'dispensing_proc': False, 'cleaning_after_proc': False, 'temp_recirc_proc': False, 'reset_proc': False, 'temp_controll_proc': False, 'jar_pos_proc': False, 'eeprom_proc': False, 'pos_proc': False, 'self_rec_proc': False, 'crx_outputs_status': 0}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>

[...]

[2021-11-09 10:13:02,815]INFO _update_recv_sts() userlevel.py:309 cmd id is MACHINE_STATUS
[2021-11-09 10:13:02,815]DEBUG _handle_answer() userlevel.py:329 Case 1
[2021-11-09 10:13:03,014]INFO read() driver.py:249 Recv text:b'\x02\xe8\x81\xc8\x06\x01\x84\x1b3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"%%-\x03'
[2021-11-09 10:13:03,015]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.FRAME_RECV, Attachment: b'\x02\xe8\x81\xc8\x06\x01\x84\x1b3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"%%-\x03' Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:13:03,016]INFO _observe_events() userlevel.py:506 Event label: EventLabel.PACKET_RECV, Attachment: Packet addr:200 cmd_code:200, payload size: 87, payload:060184030000000000000000000000010001000000000000000000000000000000000000000000000000ffff0000000000000000ffff000000000000000000000100000000000000000000000000000000000000000000 Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:13:03,016]INFO _observe_events() userlevel.py:506 Event label: EventLabel.ORPHAN_RECV, Attachment: Answer node_id:200 cmd_code:MACHINE_STATUS, params:{'status_level': 6, 'cycle_step': 1, 'error_code': 900, 'cover_reserve': b'\x00', 'cover_availability': b'\x00', 'cover_enabled': b'\x00', 'container_reserve': b'\x00', 'container_availability': b'\x00', 'container_enabled': b'\x00', 'color_reserve': b'\x00\x00\x00\x00', 'container_presence': False, 'autocap_status': True, 'canlift_status': False, 'doors_status': True, 'clamp_position': 0, 'recirculation_status': b'\x00\x00\x00\x00', 'stirring_status': b'\x00\x00\x00\x00', 'slave_status': b'\x00\x00\x00\x00\x00\x00', 'can_on_plate': False, 'can_lifter_current_height': 0, 'can_lifter_range': 0, 'current_temperature': 65535, 'current_rel_humidity': 0, 'water_level': False, 'critical_temperature': False, 'temperature': 0, 'bases_carriage': False, 'circuit_engaged': 0, 'table_steps_position': 65535, 'autotest_cycles_number': 0, 'table_cleaning_status': b'\x00\x00\x00\x00', 'panel_table_status': False, 'photocells_status': 0, 'can_available': False, 'mixer_door_status': False, 'slave_enable_mask': b'\x01\x00\x00\x00\x00\x00', 'jar_photocells_status': 0, 'stop_formula': 0, 'punct_cleaning_proc': False, 'punct_recirc_proc': False, 'punctual_stirr_proc': False, 'refill_proc': False, 'dispensing_proc': False, 'cleaning_after_proc': False, 'temp_recirc_proc': False, 'reset_proc': False, 'temp_controll_proc': False, 'jar_pos_proc': False, 'eeprom_proc': False, 'pos_proc': False, 'self_rec_proc': False, 'crx_outputs_status': 0}, pending_cmd Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
[2021-11-09 10:13:03,017]INFO _update_recv_sts() userlevel.py:309 cmd id is MACHINE_STATUS
[2021-11-09 10:13:03,017]DEBUG _handle_answer() userlevel.py:329 Case 1
[2021-11-09 10:13:03,018]INFO disconnect() driver.py:223 disconnecting
[2021-11-09 10:13:03,019]INFO _observe_driver() lowlevel.py:415 Event label: EventLabel.STATE_CHANGED, Attachment: State.DISCONNECTED Source: <mab_serial_lib.driver.SerialDriver object at 0x7f08261c6c10>
[2021-11-09 10:13:03,019]INFO _observe_events() userlevel.py:506 Event label: EventLabel.STATE_CHANGED, Attachment: State.WAITING_FOR_DRIVER_CONNECTED Source: <mab_serial_lib.lowlevel.LLProtocol object at 0x7f08261a56a0>
The following error occured during execution: Failed to initialize (failed to jump to boot using serial commands)

Hints:
 - Check if the device is powered up and correctly connected
 - Check if the device is in boot mode
 - Check if the driver is working correctly. On windows, run Zadig and select WinUSB driver for this device and be sure to have library libusb-1.0.dll in c:\Windows\System32
 - Check if the serial port is correctly plugged in and theserial port is correct, if using bootloader '2.0'

Return value is 3
Traceback (most recent call last):
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 511, in __init__
    self.usb = USBManager(**usb_args)
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 173, in __init__
    self._usb_init()
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 186, in _usb_init
    raise RuntimeError("USB device not found")
RuntimeError: USB device not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 521, in __init__
    self.jump_to_boot(serialPort)
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 666, in jump_to_boot
    loop.run_until_complete(operations())
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 658, in operations
    assert result == node.RequestWatchResult.SUCCESS
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader_app.py", line 363, in main
    ufl = AlfaFirmwareLoader(
  File "/home/phil/work/sw/sw-programmazione-schede/src/alfa_fw_upgrader.py", line 523, in __init__
    raise RuntimeError("failed to jump to boot using serial commands")
RuntimeError: failed to jump to boot using serial commands
failed to update
fgalfa commented 3 years ago

@micheleabelli Nota 1: da notare che QUERY risponde con un valore di boot status o errore 1 (cfr. "Reported boot status is 1" nel log 1) Nota 2: il passaggio da status_level da 7 a 6 avviene dopo JUMP_TO_BOOT, non in seguito a lettura versioni (cfr. log 2)

micheleabelli commented 2 years ago

Il problema non si presenta più dopo modifica al Boot MAB che, in caso di tentativo di aggiornamento FW su una Slave avente Boot Non compatibile o Non comunicante, determina un failure nella Verifica senza bloccarsi, rimanendo disponibile per altri aggiornamenti