Page 1 of 1

esp32cam - fatal error - Secure Boot detected

Posted: Sat May 18, 2024 5:38 am
by PBAJ4U
I bought this hardware to install in it the project - https://jomjol.github.io/AI-on-the-edge-device/
It says installation finished and shows that it has successfully installed it in the device. But it doesn't work.

So I checked the device and tried to upload the examples code using arduino, and then I get the the following logs

Code: Select all

Sketch uses 866985 bytes (66%) of program storage space. Maximum is 1310720 bytes.
Global variables use 60060 bytes (18%) of dynamic memory, leaving 267620 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM5
Connecting..................................
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:71:bf:c4:a7:18
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...

A fatal error occurred: Secure Boot detected, writing to flash regions < 0x8000 is disabled to protect the bootloader. Use --force to override, please use with caution, otherwise it may brick your device!
Failed uploading: uploading error: exit status 2

Re: esp32cam - fatal error - Secure Boot detected

Posted: Sun May 19, 2024 4:08 am
by ESP_Sprite
What devkit are you using? Please be specific; link to the page you bought it from if possible.

Re: esp32cam - fatal error - Secure Boot detected

Posted: Sun May 19, 2024 1:35 pm
by PBAJ4U

Re: esp32cam - fatal error - Secure Boot detected

Posted: Mon May 20, 2024 7:17 am
by ESP_Sprite
That is odd, boards like that shouldn't have secureboot enabled.Do you have any other hardware you can test this with?

Re: esp32cam - fatal error - Secure Boot detected

Posted: Tue May 21, 2024 2:09 pm
by PBAJ4U
I don't have another board with same hardware requirement, I will get another one and test it again.