-
Notifications
You must be signed in to change notification settings - Fork 7.6k
OTA Update from S3 Crash #1786
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
You need to post the error along with the backtrace. Does that example code work properly for OTA without your code involved? |
Let me try doing it without my code..... Will also post the backtrace. By backtrace you mean the Guru mediation error dump right ? |
I used the code mentioned in the link below without any changes Stack Dump Backtrace: 0x400d2ed0:0x3ffb1dc0 0x400d2f70:0x3ffb1de0 0x40142462:0x3ffb1e00 0x400d82cd:0x3ffb1e30 0x400d82f9:0x3ffb1e50 0x400d46f6:0x3ffb1e70 0x400d2861:0x3ffb1e90 0x400d2c52:0x3ffb Decoded Stack Trace: |
Two things: I've never seen it do that thing with the question marks instead of line numbers. Are you using the latest version of platform.io/arduino-esp32? |
Hi! any solution? I have the same problem |
@thehellmaker @arilarralde maybe my PR #2259 will solve your issue too |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: 11/jul/2017
IDE name: Platform.io
Flash Frequency: 40Mhz
Upload Speed: 115200
Description:
I have a guru meditation error
Decoded Stack Trace is here:
0x400d9a34: WiFiClientRxBuffer::fillBuffer() at ?? line ?
0x400d9a34: WiFiClientRxBuffer::fillBuffer() at ?? line ?
0x400d9ad4: WiFiClientRxBuffer::read(unsigned char*, unsigned int) at ?? line ?
0x4016ff8e: aws_iot_mqtt_internal_write_len_to_buffer at ?? line ?
0x400e0401: Print::printf(char const*, ...) at ?? line ?
0x400e042d: Print::println() at ?? line ?
0x400dba32: Preferences::getString(char const*, String) at ?? line ?
0x400d60e6: doOTA() at ?? line ?
0x400d39e0: EventsIncoming::handleOTAUpdateEvent(String) at ?? line ?
0x400d3532: mySubCallBackHandler(String, String) at ?? line ?
0x400d22f6: iot_subscribe_callback_handler(_Client*, char*, unsigned short, IoT_Publish_Message_Params*, void*) at ?? line ?
0x400d8292: aws_iot_mqtt_internal_cycle_read at ?? line ?
0x400d8d39: aws_iot_mqtt_resubscribe at ?? line ?
0x400d1e5d: _flash_cache_start at ?? line ?
The code is kinda huge to paste here so i'm gonna give the pseudo code here
https://github.com/espressif/arduino-esp32/blob/master/libraries/Update/examples/AWS_S3_OTA_Update/AWS_S3_OTA_Update.ino
The text was updated successfully, but these errors were encountered: