-
Notifications
You must be signed in to change notification settings - Fork 7.6k
OTA update : Guru meditation Error #4376
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
Comments
Are you using encrypted flash? You would need to have enabled it specifically using something like Assuming you're not, then take a look at the binary you've created from Arduino - the first byte should be When you say you've turned off the magic byte check, are you using the files in the PR as-is or have you modified them? |
i turned off the magic byte check in updater.cpp and also modified them by following the link in the PR, following the diff display. No, I am not using encrypted flash. viewing with okteta for KDE, i have the first byte as 0xe9, but viewing with hexdump it is 0x07, followed by 0xE9. Is there a byte order conflict of some sort? |
If you're not using flash encryption then you don't need the modified |
OK. I will follow that. I have tried this one as well. The client is the GSM modem client. Not wifi. The rest is same. I am coming up to the part :
After that is a call to : |
Try increasing the RX buffer, call this macro #define TINY_GSM_RX_BUFFER |
https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/tree/master/examples/Arduino_GSM_OTA try this for OTA update |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
I am trying to download a bin file via tinyGSM library, and use it as the new firmware (OTA over LTE). The file is exported via arduino 1.8.11 as compressed binary file.
System : ESP 32 on TTGO / lilygo sim 7000g, Arduino on arch linux 64 bit.
I have followed this, because I was having the invalid chip ID error, as well as invalid magic byte error. I have turned off the magic byte check, and edited the files Esp.cpp, Esp.h, Updater.cpp, and Update.h as described in the PR.
However, now I have this error:
Using the backtrace decoder, i find :
Going to
EspClass::partitionWrite(esp_partition_t const*, unsigned int, unsigned int*, unsigned int) at /home/hedgehog/.arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/Esp.cpp line 203
, I find that the code is :It does not call partitionWrite. PartitionWrite is in line 317.
I am trying to download the OTA file via GSM modem. The relevant code is here:
sorry for the tab formatting, It works perfectly on kate.
The target file is a *.ino file, exported as compressed binary via arduino 1.8.11 IDE. I wonder what I wrong. Thank you.
Hardware:
Board: TTGO SIM 7000G
IDE name: Arduino 1.8.11
Flash Frequency: 80 MHz
PSRAM enabled: NO
Upload Speed: 921600
Computer OS: Arch 64 bit
The text was updated successfully, but these errors were encountered: