Replies: 1 comment
-
Fixed - Issue was corrupt bin file |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I am trying to follow this example [libraries/Update/examples/AWS_S3_OTA_Update/AWS_S3_OTA_Update.ino] to create OTA functionality via AWS S3 bucket so I can upload a new image file and a fleet of esp32's update to the most recent image file determined via naming convention.
Error:
esp_image: Checksum failed. Calculated 0x94 read 0x0 Error Occurred. Error #: 9
So far I have made a public S3 bucket so that the object inside is also public and accessible
(Will make it require certs in future but for now just want a demo working)
I've updated my host, bin, and wifi variables in main.cpp.
This is my output:
mode:DIO, clock div:2 load:0x3fff0030,len:1184 load:0x40078000,len:13232 load:0x40080400,len:3028 entry 0x400805e4 Connecting to ############### .. Connected to ############# Connecting to: ##################.amazonaws.com Fetching Bin: /StartCounter.ino.bin Got application/octet-stream payload. Got 357276 bytes from server contentLength : 357276, isValidContentType : 1 Begin OTA. This may take 2 - 5 mins to complete. Things might be quite for a while.. Patience! Written : 357276 successfully E (14117) esp_image: Checksum failed. Calculated 0x94 read 0x0 Error Occurred. Error #: 9
Any help on how to fix this error and get the OTA process to work?
Beta Was this translation helpful? Give feedback.
All reactions