richonguzman / LoRa_APRS_iGate

LoRa APRS iGATE for ESP32 Based Board with Rx + Tx capabilities
MIT License
208 stars 65 forks source link

Error when trying to OTA update #160

Closed Tapkin12ru closed 1 month ago

Tapkin12ru commented 1 month ago

Hello. I tried to update my station on TTGO from version 1.0.4.2 to version 1.0.5.1 via Ota update. Screenshot_2024-08-17-17-50-37-710_com opera browser-edit

When sending the file ota_update.bin I received this error. So it is impossible to update the firmware via Ota? Screenshot_2024-08-17-18-01-21-452_com opera browser-edit Screenshot_2024-08-17-17-50-20-823_com opera browser-edit

richonguzman commented 1 month ago

hi,

which file did you upload?

Tapkin12ru commented 1 month ago

This Screenshot_2024-08-17-18-15-18-486_com ghisler android TotalCommander-edit

richonguzman commented 1 month ago

I always upload the firmware.bin file

will check what happened... can you flash completely fresh?

Tapkin12ru commented 1 month ago

I always upload the firmware.bin file

Did you mean this file? Screenshot_2024-08-17-18-30-20-584_com ghisler android TotalCommander-edit

will check what happened... can you flash completely fresh?

I can't do it today because station installed outside of my QTH.

richonguzman commented 1 month ago

yes this... please try it and let me know.

Tapkin12ru commented 1 month ago

The same error: "Upload failed Could Not Activate The Firmware"

richonguzman commented 1 month ago

but if you power it off and then on does it run?

Tapkin12ru commented 1 month ago

I also tried to update via OTA for version 1.0.5 There is also an error, but a different one. Screenshot_2024-08-17-18-54-54-982_com opera browser-edit

Tapkin12ru commented 1 month ago

but if you power it off and then on does it run?

Just now send command for reboot by UI. Station has rebooted and started without problems. But firmware is old.

richonguzman commented 1 month ago

so at reboot works with old firmware as normal, but when trying the new firmware it does not work with OTA??

can you try again a few times to validate that its not a wifi speed or distance problem?

Tapkin12ru commented 1 month ago

Now I took an identical TTGO board and flashed it via a web installer with erasing to version 1.0.4.2 and via OTA updated to version 1.0.5.1 without errors. Apparently, something bugged on my remotely installed station when I updated it from version 1.0.2 via OTA to 1.0.4.2. I will have to dismantle it and flash it cleanly to 1.0.5.1 And immediately another question: is it necessary to upload the spiffs.bin file to the board in addition to the firmware during OTA update?

richonguzman commented 1 month ago

Now I took an identical TTGO board and flashed it via a web installer with erasing to version 1.0.4.2 and via OTA updated to version 1.0.5.1 without errors. Apparently, something bugged on my remotely installed station when I updated it from version 1.0.2 via OTA to 1.0.4.2. I will have to dismantle it and flash it cleanly to 1.0.5.1 And immediately another question: is it necessary to upload the spiffs.bin file to the board in addition to the firmware during OTA update?

no need to upload spiffs.bin