Search found 8 matches

by minhbka
Mon Jan 15, 2024 6:13 am
Forum: ESP-IDF
Topic: ESP32S3 keep stuck on taking trusted digest key when combine secureboot and ota update
Replies: 0
Views: 22736

ESP32S3 keep stuck on taking trusted digest key when combine secureboot and ota update

Hi everybody, I am working on project that enables secure boot v2 and supports ota update on esp32s3. The patition table is: ******************************************************************************* # ESP-IDF Partition Table # Name, Type, SubType, Offset, Size, Flags nvs,data,nvs,0x11000,16K, ...
by minhbka
Fri Jan 12, 2024 2:13 am
Forum: ESP-IDF
Topic: Will secure boot work after upgrade esp-idf version?
Replies: 2
Views: 20642

Re: Will secure boot work after upgrade esp-idf version?

Hello @ESP_harshal Below is project partition table map # ESP-IDF Partition Table # Name, Type, SubType, Offset, Size, Flags nvs,data,nvs,0xb000,24K, phy_init,data,phy,0x11000,4K, factory,app,factory,0x20000,1M, I already read current data in flash memory. Below are some image of data in flash with ...
by minhbka
Mon Jan 08, 2024 2:36 am
Forum: ESP-IDF
Topic: Will secure boot work after upgrade esp-idf version?
Replies: 2
Views: 20642

Will secure boot work after upgrade esp-idf version?

Hi everybody, I am testing secureboot v1 with esp32 dev kit. I use the blink example and enable secure boot with reflashable option. The private key is pre-generated. Actually, the project worked properly when I use with esp_idf version 4.4. After that, I upgraded esp_idf version to 5.1.2 Then I tes...
by minhbka
Sun Jan 07, 2024 4:56 am
Forum: General Discussion
Topic: Failed to enable secure boot / encrypted flash
Replies: 9
Views: 23178

Re: Failed to enable secure boot / encrypted flash

Hi , Enabled security features on ESP-WROOM-32 but getting an error.Anyone can help me to come out from the below issues, Monitoring: rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO...
by minhbka
Sat Jan 06, 2024 11:56 am
Forum: ESP-IDF
Topic: Error when add new simple task to simple ota project
Replies: 2
Views: 6259

Re: Error when add new simple task to simple ota project

ESP_Sprite wrote:
Sat Jan 06, 2024 11:50 am
You already found the error: the stack of the blink task overflowed because it has too little stack memory. In the xTaskCreate(&blink_task, "blink_task", 1024, NULL, 5, NULL); line, increase the 1024 to something higher, e.g. 8192.
Thank you
by minhbka
Sat Jan 06, 2024 3:36 am
Forum: ESP-IDF
Topic: Error when add new simple task to simple ota project
Replies: 2
Views: 6259

Error when add new simple task to simple ota project

Hi everyone, I am testing ota update using simple_ota_example project. The code is working properly when it has ota task only on main function. When I add new simple task that does the blinking led to main function. The code of blink_led task is below: void blink_task(void *pvParameter) { ESP_LOGI(T...
by minhbka
Mon Dec 18, 2023 3:43 pm
Forum: ESP-IDF
Topic: Cannot disable flash encrytion after enabled it on development mode
Replies: 3
Views: 13638

Re: Cannot disable flash encrytion after enabled it on development mode

ESP_Sprite wrote:
Mon Dec 18, 2023 5:12 am
Base issue is that you cannot 'un-burn' eFuse bits. You initially set it to 0001 (1), and you want to set it to 0010 (2), which requires 'un-burning' the 1st fuse. You probably want to set it to 0011 (3) instead.
Thank you, now I can burn and test dev kit without flash encryption.
by minhbka
Mon Dec 18, 2023 3:38 am
Forum: ESP-IDF
Topic: Cannot disable flash encrytion after enabled it on development mode
Replies: 3
Views: 13638

Cannot disable flash encrytion after enabled it on development mode

Hi everybody, I am testing with flash encryption for ESP32 using ESP-IDF version 4.4. I have enabled flash encryption in development and test mode following the instructions in the ESP-IDF sample flash_encryption project. Now I want to disable flash encryption. I have followed the steps as per the i...