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

Unable to update OTA anymore on Arduino RP2040 #46

Open
tomastik opened this issue Sep 14, 2022 · 0 comments
Open

Unable to update OTA anymore on Arduino RP2040 #46

tomastik opened this issue Sep 14, 2022 · 0 comments

Comments

@tomastik
Copy link

I am currently unable to update the firmware of my devices over the air. The procedure seems to go fine, I can see the devices online, I can push the update and I see bar progressing, but after that the device just reboots in its previous state. This happens on the devices already shipped and installed remotely.

To give some context, I am using Arduino RP2040 in stock condition. My code doesn't do anything special, just collects some data from the sensors. It used to work perfectly fine until few months ago, but I am now stuck with OTA.

I did some tests on some devices here with me. Tried uploading via USB and if I start from scratch the device get stuck and never boots correctly. That means it doesn't reach even the Serial.print at the very beginning of the setup. The only way to make it work is to exclude the ThingerMbedOTA.h from the code. In this case the device works as intended, but clearly there's no OTA anymore.

I also tried reverting to the thinger library version 2.21.0, and with this I can indeed upload with the OTA extension active. The system works then as intended but again when I update remotely the device just reboots in its previous state.

Since the devices I have shipped probably have an old thinger library version, this leads me to think there's an bug/incompatibility with the OTA thinger later versions.

Please advise.

Thanks,
Antonio

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

No branches or pull requests

1 participant