ESP32s2 and S3 SHA-256 comparison failed
Posted: Fri Jul 15, 2022 9:23 am
Since trying out the arduinoOta and uploading a different not yet working usb update bin file i keep getting the SHA-256 comparison failed error when booting in the console log.
Also previous working usb examples stop working, i tried to erase the flash and burn the bootloader but none of that worked.
with every new code that i upload i keep getting this same error.
Update:
The crash was not related to the sha 256 comparison failed. Cause of the crash was due to the usb pendrive.
Also previous working usb examples stop working, i tried to erase the flash and burn the bootloader but none of that worked.
Code: Select all
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x43c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2a3c
SHA-256 comparison failed:
Calculated: 3611f330726ad4edf64f62982b0568332a5800bc59425cab90be5379db92c108
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98d8
Running blinking
Running partition type 0 subtype 16 (offset 0x00010000)
Running firmware version: heads/idf-release/v4.4-0-gd4572
device speed: USB_SPEED_FULL, device address: 1, max ep_ctrl size: 8, config: 1
Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception).
Debug exception reason: Stack canary watchpoint triggered (async)
Core 0 register dump:
PC : 0x4037cfaf PS : 0x00060136 A0 : 0x8037c88b A1 : 0x3fce3520
A2 : 0x3fc92eb0 A3 : 0xb33fffff A4 : 0x0000abab A5 : 0x00060123
A6 : 0x00060123 A7 : 0x0000cdcd A8 : 0xb33fffff A9 : 0xffffffff
A10 : 0x0000003f A11 : 0x3fce3e98 A12 : 0x3fc94e28 A13 : 0x00060323
A14 : 0x02c92eb0 A15 : 0x00ffffff SAR : 0x00000004 EXCCAUSE: 0x00000001
EXCVADDR: 0x00000000 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffe
Backtrace:0x4037cfac:0x3fce35200x4037c888:0x3fce3560 0x4037b1c7:0x3fce3580 0x4037b270:0x3fce35c0 0x403788a1:0x3fce35e0 0x4037898d:0x3fce3610 0x4200de22:0x3fce3630 0x4200ce79:0x3fce3650 0x4200c8d9:0x3fce3670 0x4201e4a9:0x3fce3690 0x4201c4be:0x3fce36b0 0x4201c546:0x3fce36d0 0x4201d179:0x3fce3700 0x4202bedd:0x3fce3730 0x4202546f:0x3fce3750 0x4201ddb5:0x3fce3a60 0x42002316:0x3fce3ab0 0x42001cde:0x3fce3ae0 0x420021ab:0x3fce3b60 0x4201347f:0x3fce3b80 0x420020dd:0x3fce3bb0
ELF file SHA256: 0000000000000000
Update:
The crash was not related to the sha 256 comparison failed. Cause of the crash was due to the usb pendrive.