rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) AFTER FLASH ENCRYPTION ENABLE
Posted: Sun Feb 11, 2024 8:29 pm
Good evening, I'm writing another post to see if someone can help me. I'm trying to enable flash encryption and Secure boot v2 with the new idf 5.1.2 version and it doesn't work. I have already blocked two chips and I am desperate. It is a process that I have done several times with version 4.2 and never had problems.
I have reviewed the documentation carefully, but when I activate flash encryption and secure boot v2 (rev 3 chip) I get this error.
I check the efuses beforehand and everything is correct with espefuse summary. In Development mode I get the same error, but then I re-flash the updated and encrypted partitions with idf.py encrypted-flash monitor and it works, but only in development mode. In release mode it no longer lets me flash anything after the first start.
The size of the bootloader is fine and I have disabled NVS encryption to avoid problems. During the construction phase it does not give any errors.
Please, any clue as to what the problem could be?
Thank you.
I have reviewed the documentation carefully, but when I activate flash encryption and secure boot v2 (rev 3 chip) I get this error.
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
ets Jul 29 2019 12:21:46
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
ets Jul 29 2019 12:21:46
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
invalid header: 0x3cedda74
ets Jul 29 2019 12:21:46
The size of the bootloader is fine and I have disabled NVS encryption to avoid problems. During the construction phase it does not give any errors.
Please, any clue as to what the problem could be?
Thank you.