aseba
aseba copied to clipboard
reactivate the automatic upgrade for failed firmware
it was removed when wireless network configurator was redone 1956f7e52205c392bb1b2f06d9e8203ee873b31a function restore_firmware() was removed in aseba_endpoint.h
try to add
if(!m_has_had_sucessful_read)
restore_firmware();
return;
at line 176 of aseb_endpoint.cpp
it seems to launch the upgrade of firmware but then it remain stuck in it.
[2022-01-26 16:33:16.428] [console] [info] main.cpp@L105: Starting... [2022-01-26 16:33:16.495] [console] [info] serialacceptor_win32@L24: Serial monitoring service: started [2022-01-26 16:33:16.497] [console] [info] aseba_tcpacceptor.cp@L82: Waiting for aseba node on tcp [2022-01-26 16:33:16.498] [console] [warning] main.cpp@L88: Remote connections are not allowed [2022-01-26 16:33:16.499] [console] [info] main.cpp@L92: Server Password: WOMCJU [2022-01-26 16:33:16.515] [console] [info] serialserver.cpp@L51: New Aseba endpoint over USB device connected [2022-01-26 16:33:16.752] [console] [info] aseba_endpoint.cpp@L266: Requesting list nodes( ec : LÆopÚration a rÚussi ) [2022-01-26 16:33:16.863] [console] [info] aseba_endpoint.cpp@L392: Device unresponsive - Attempting to restore firmare [2022-01-26 16:33:16.866] [console] [info] fw_update_service.cp@L58: Downloading https://www.mobsya.org//update/Thymio2-firmware-meta.xml [2022-01-26 16:33:16.946] [console] [info] fw_update_service.cp@L81: Last firmware available for Thymio 2: 14 [2022-01-26 16:33:16.988] [console] [info] aseba_endpoint.cpp@L25: Destroying endpoint [2022-01-26 16:33:17.538] [console] [info] app_server.h@L41: New Local connection from ::ffff:192.168.1.20 LÆopÚration a rÚussi [2022-01-26 16:33:17.540] [console] [warning] app_server.h@L47: Connection from ::ffff:192.168.1.20 dropped: remote connections not allowed [2022-01-26 16:33:17.540] [console] [info] app_endpoint.h@L331: Stopping app endpoint [2022-01-26 16:33:17.541] [console] [error] serialacceptor_win32@L36: Removed \.\COM8 [2022-01-26 16:33:17.546] [console] [info] serialserver.cpp@L51: New Aseba endpoint over USB device connected [2022-01-26 16:33:17.778] [console] [info] aseba_endpoint.cpp@L266: Requesting list nodes( ec : LÆopÚration a rÚussi ) [2022-01-26 16:33:17.886] [console] [info] aseba_endpoint.cpp@L392: Device unresponsive - Attempting to restore firmare [2022-01-26 16:33:18.017] [console] [info] fw_update_service.cp@L147: https://www.mobsya.org/update/Thymio2-V14.hex : OK [2022-01-26 16:33:18.104] [console] [info] thymio2_fwupgrade_im@L304: Opening device: \.\COM8 [2022-01-26 16:33:18.119] [console] [info] thymio2_fwupgrade_im@L480: Sending pages... [2022-01-26 16:33:18.121] [console] [info] thymio2_fwupgrade_im@L482: Sending page 69 [2022-01-26 16:33:18.121] [console] [info] thymio2_fwupgrade_im@L410: [Firmware update] 1 : Sending page 85 [2022-01-26 16:33:18.783] [console] [info] aseba_endpoint.cpp@L266: Requesting list nodes( ec : LÆopÚration a rÚussi )
see https://github.com/mbonani/aseba-1/tree/restore_firmware