ESP32-C3-DevKitM-1 SHA-256 comparison failed

GDM.VA
Posts: 4
Joined: Fri Feb 11, 2022 2:37 pm

ESP32-C3-DevKitM-1 SHA-256 comparison failed

Postby GDM.VA » Fri Feb 11, 2022 2:47 pm

Dear all,
I'm facing the following error during boot:

ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x420
load:0x403ce000,len:0x90c
load:0x403d0000,len:0x236c
SHA-256 comparison failed:
Calculated: ccb0d00bac7e84e1d90a12e4f75f4ab6c5f7e71bb209afd5819c4c9557a6db71
Expected: c9cf160580940ec7801c73b16423824e72ad12055c732e83ce66332240af42a7
Attempting to boot anyway...
entry 0x403ce000

The application runs without any problem, but there is a way to fix this "issue"?
Many thanks in advance for your support.
Kind regards.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-C3-DevKitM-1 SHA-256 comparison failed

Postby ESP_Sprite » Sat Feb 12, 2022 6:25 am

Sounds like a bit fell over in flash somehow... does re-flashing the chip solve the issue?

pataga
Posts: 73
Joined: Sat Aug 12, 2017 5:53 am

Re: ESP32-C3-DevKitM-1 SHA-256 comparison failed

Postby pataga » Sun Feb 13, 2022 7:14 am

I saw the same issue with an AI Thinker ESP32-C3M module with 4MB flash, when I hooked it up to test, the factory flash content booted fine, but when I flashed some test code, saw this message. The code worked fine as far as I could tell :-). This was a couple of months ago.

I just checked another AI Thinker module C312F with 2MB flash, that I have reflashed many times, but am not seeing this message. I use Visual Studio Code + PlatformIO with arduino framework, maybe the packages were updated.

GDM.VA
Posts: 4
Joined: Fri Feb 11, 2022 2:37 pm

Re: ESP32-C3-DevKitM-1 SHA-256 comparison failed

Postby GDM.VA » Mon Feb 14, 2022 8:01 am

Hello ESP_Sprite & Pataga for your kind replies.
I never used ESP32 before: I will try to reflash the device, but...I don't know exactly how to proceed.
If you have any link/suggestion to the reflashing procedure, it could help a lot.
Thank you so much for your support.
Kind regards.

GDM.VA
Posts: 4
Joined: Fri Feb 11, 2022 2:37 pm

Re: ESP32-C3-DevKitM-1 SHA-256 comparison failed

Postby GDM.VA » Mon Feb 14, 2022 4:09 pm

Hello,
I've just successfully re-flashed my board using "Flash Download Tool" and ESP32-C3 "factory_MINI-1.bin".
After that, I've downloaded again my application.
The SHA-256 issue is still present...
Do you have any suggestion to fix the problem?
Thank you for your support.

burtrum
Posts: 20
Joined: Mon Dec 28, 2015 1:34 pm

Re: ESP32-C3-DevKitM-1 SHA-256 comparison failed

Postby burtrum » Wed Feb 16, 2022 10:25 pm

FYI Same SHA-256 boot warning on Lilygo TTGO T-01 esp32c3.

This was with Nuttx and ESP boot binaries. Not Arduino. All with the latest tools.

Multiple flase erase and reprogram no change. But seems to boot OK.

Burtrum

GDM.VA
Posts: 4
Joined: Fri Feb 11, 2022 2:37 pm

Re: ESP32-C3-DevKitM-1 SHA-256 comparison failed

Postby GDM.VA » Thu Feb 17, 2022 9:06 am

Hi,
on my side, it seems the warning happens only flashing my board from Arduino IDE; flashing an application from Espressif IDE, solve the SHA-256 issue.
I will use Espressif IDE instead of Arduino IDE...
I confirm the application runs even when SHA-256 warning is present.

Who is online

Users browsing this forum: No registered users and 126 guests