Search found 21 matches

by ESP_harshal
Tue Aug 06, 2024 4:05 am
Forum: ESP-IDF
Topic: esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x6C00
Replies: 2
Views: 978

Re: esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x6C00

Hi @askash kadam,

I think you should use the

Code: Select all

.crt_bundle_attach
element for the config to attach the cert bundle instead of

Code: Select all

.cert_pem
. The

Code: Select all

.cert_pem
element expects a certificate string whereas

Code: Select all

.crt_bundle_attach
expects a callback function pointer.

Thank you!
by ESP_harshal
Tue Aug 06, 2024 3:49 am
Forum: ESP-IDF
Topic: espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?
Replies: 2
Views: 959

Re: espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?

Hi @fschuetz, A similar issue has been reported in the mbedtls issues as well, could you please take a look into this thread https://github.com/libssh2/libssh2/commit/2e4c5ec4627b3ecf4b6da16f365c011dec9a31b4#commitcomment-141379351 . I think the crux of the above discussion is that the mbedtls_pk_lo...
by ESP_harshal
Mon Jul 22, 2024 9:06 am
Forum: ESP-IDF
Topic: Issue with Secure Boot v1 in ESP-IDF
Replies: 1
Views: 705

Re: Issue with Secure Boot v1 in ESP-IDF

Hello @vkp2808, I tried using the v5.2.2 tag of ESP-IDF but I was unable to recreate the issue. Using which ESP-IDF release are you facing the issue? You could also try out secure boot using QEMU (emulator) to "conserve" your testing devkits: 1. Build your firmware 2. Merge the binaries using: (cd b...
by ESP_harshal
Wed Mar 27, 2024 7:19 am
Forum: ESP-IDF
Topic: Securing firmware using flash encryption
Replies: 1
Views: 1165

Re: Securing firmware using flash encryption

Hi @bramalka, I would suggest you to use the Flash Encryption development mode for generating a production-ready device. Reference docs: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/security/flash-encryption.html#flash-enc-release-mode . While using development mode, you can disable f...
by ESP_harshal
Wed Mar 27, 2024 7:10 am
Forum: ESP-IDF
Topic: Secure Boot V1 on ESP32 Rev1 OR Rev3
Replies: 3
Views: 1523

Re: Secure Boot V1 on ESP32 Rev1 OR Rev3

Hello @mikecarlos,

The steps that you have followed are correct and even I tried them out at my end and the device boots correctly.
But I am not sure why the bootloader does not boot up in your case. Could you share your sdkconfig file to help me to reproduce the issue?
by ESP_harshal
Mon Mar 04, 2024 9:27 am
Forum: ESP-IDF
Topic: Efuse error when Running ESP32-C3 app on QEMU
Replies: 1
Views: 1193

Re: Efuse error when Running ESP32-C3 app on QEMU

Hi @yaghmr,

Addressing this issue at: https://github.com/espressif/esp-insigh ... 1976104736.

Thanks!
by ESP_harshal
Mon Mar 04, 2024 7:32 am
Forum: ESP-IDF
Topic: ESP32-S3 stuck in sha_hal_wait_idle
Replies: 3
Views: 1221

Re: ESP32-S3 stuck in sha_hal_wait_idle

Skimmed through the sdkconfig and it looks just normal.
I'll try to build a smaller repro.
Thanks that would be really helpful!
by ESP_harshal
Mon Mar 04, 2024 5:42 am
Forum: General Discussion
Topic: ESP32-S3 stuck in sha_hal_wait_idle
Replies: 1
Views: 858

Re: ESP32-S3 stuck in sha_hal_wait_idle

Hi @kasperl,

Let's continue the discussion here: https://esp32.com/viewtopic.php?f=13&t= ... 25#p128625

Thanks!
by ESP_harshal
Mon Mar 04, 2024 5:40 am
Forum: ESP-IDF
Topic: ESP32-S3 stuck in sha_hal_wait_idle
Replies: 3
Views: 1221

Re: ESP32-S3 stuck in sha_hal_wait_idle

Hello @kasperl,

1. Could you share the sdkconfig file of your use case?
2. Also, it would be great if you could create and share a minimal example that would help me to reproduce this issue.

Thanks!
by ESP_harshal
Tue Jan 09, 2024 9:48 am
Forum: ESP-IDF
Topic: Will secure boot work after upgrade esp-idf version?
Replies: 2
Views: 20484

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

Hello @minhbka, Secure boot should work even after an ESP-IDF version update. Taking a look at the error log, it looks like bootloader verification has failed. And by the steps that you have mentioned, seems like you flashed the new reflashable bootloader digest, app, and partition table, but missed...