marxram / spidr

Privacy for Deye Microinverters using ESP 8266 / 32 module
10 stars 1 forks source link

Flashing of `spidr_1.1.ino.heltec_wifi_kit32_V3.bin` successful but SPIDR does not boot #13

Open mailmarcus opened 3 weeks ago

mailmarcus commented 3 weeks ago

Hi Roland, when I was trying to flash Heltec Wifi_Kit_32_V3.1 with spidr_1.1.ino.heltec_wifi_kit32_V3.bin via Chrome and web.esphome.io, the device does not boot. The log shows "SHA-256 comparison failed" and the following is repeated endlessly:

[01:05:58]ESP-ROM:esp32s3-20210327
[01:05:58]Build:Mar 27 2021
[01:05:58]rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
[01:05:58]SPIWP:0xee
[01:05:58]mode:DIO, clock div:1
[01:05:58]load:0x3c0a0020,len:0x2a974
[01:05:58]load:0x3fc94dc0,len:0x567c
[01:05:58]load:0x42000020,len:0x9751c
[01:05:58]load:0x3fc9a43c,len:0x94
[01:05:58]load:0x40374000,len:0x10db4
[01:05:58]SHA-256 comparison failed:
[01:05:58]Calculated: 9e234e2acc09a21cbde79b601543b5cfac778d054b58aaa11c3e33a32bd78b80
[01:05:58]Expected: c1fa751f7ac680807523f82b9842b81b7bc41b1e23b084c00df0aab6f0f34af1
[01:05:58]Attempting to boot anyway...
[01:05:58]entry 0x403770dc

Any suggestion? I was able to flash the device OTA after first loading the "Empty ESPHome device" via Chrome https://esphome.io/projects/, please see different issue.

Bye, Marcus

marxram commented 3 weeks ago

Hi @mailmarcus ,

it seems like the binary could also be damaged. I did not test every bin myself on all devices. Do you have the option to build the project from scratch?

You can test if its working with uploading from Arduino. Then you can also export the binary.

grafik

Ideally you can test with that (hopefully working) binary. Then we coulkd exlude the bin as cause for the rrror and see if it is tasmonizer or something else.