Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reactivate the automatic upgrade for failed firmware #897

Open
mbonani opened this issue Dec 11, 2020 · 4 comments · May be fixed by #987
Open

reactivate the automatic upgrade for failed firmware #897

mbonani opened this issue Dec 11, 2020 · 4 comments · May be fixed by #987

Comments

@mbonani
Copy link
Contributor

mbonani commented Dec 11, 2020

No description provided.

@mbonani
Copy link
Contributor Author

mbonani commented Dec 11, 2020

it was removed when wireless network configurator was redone 1956f7e
function restore_firmware() was removed in aseba_endpoint.h

@mbonani
Copy link
Contributor Author

mbonani commented Jan 26, 2022

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.

@mbonani mbonani linked a pull request Jan 26, 2022 that will close this issue
@mbonani
Copy link
Contributor Author

mbonani commented Jan 26, 2022

[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 )

@mbonani
Copy link
Contributor Author

mbonani commented Jan 26, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant