Search found 76 matches

by Nespressif
Tue Mar 19, 2024 1:19 pm
Forum: ESP-IDF
Topic: Encryption via espsecure.py
Replies: 5
Views: 2488

Re: Encryption via espsecure.py

Hi ESPecially_Embedded, thanks for sharing the process with us. I also have some project that does not have any active communication system, neither wifi nor BT, therefore it also does not have OTA scheme implemented. I think that for this kind of projects where you can only access via UART, it is n...
by Nespressif
Thu Feb 22, 2024 10:04 am
Forum: ESP-IDF
Topic: Fatal error ESP32S2 after Secure Boot Experiments
Replies: 5
Views: 2014

Re: Fatal error ESP32S2 after Secure Boot Experiments

After that I added (accidentally) `esp_efuse_disable_rom_download_mode();` to main.c and the device stopped flashing. Looks like it is only the software code makes the development board unusable. btw I use esptool.py v4.7.dev1 Hello, I think that by disabling the uart rom download mode, your SoC ha...
by Nespressif
Mon Feb 19, 2024 1:16 pm
Forum: ESP-IDF
Topic: Fatal error ESP32S2 after Secure Boot Experiments
Replies: 5
Views: 2014

Re: Fatal error ESP32S2 after Secure Boot Experiments

Hi, run the command to get the efuse status report and then post it here.

https://docs.espressif.com/projects/esp ... ml#summary

Greetings
by Nespressif
Fri Feb 16, 2024 9:59 am
Forum: ESP-IDF
Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
Replies: 17
Views: 20578

Re: IDF v4.4 ESP32 secure boot and flash encryption step-by-step

(1) In step "5. Encrypt and flash the binaries." there is the command line : espsecure.py encrypt_flash_data --keyfile my_flash_encryption_key.bin --address 0x8000 --output partition-table-enc.bin build/partition_table/partition-table.bin This is INCORRECT AND WILL NOT WORK as your documentation st...
by Nespressif
Fri Feb 16, 2024 9:41 am
Forum: ESP-IDF
Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
Replies: 17
Views: 20578

Re: IDF v4.4 ESP32 secure boot and flash encryption step-by-step

Hello @ESP_Mahavir: Yesterday I was testing with a chip on which I had already enabled FE in development mode, to test the FE and SBv2 workflow externally. And after a lot of testing I have a lot of doubts: 1.- In Enable Flash Encryption Externally: - As I had already enabled it before, it didn't le...
by Nespressif
Fri Feb 16, 2024 9:20 am
Forum: ESP-IDF
Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
Replies: 17
Views: 20578

Re: IDF v4.4 ESP32 secure boot and flash encryption step-by-step

It is frustrating that: (1) the procedure has obviously not actually be performed by the document author(s), (2) the documentation is incomplete as it omits the most critical example flash commands line and leaves to for the user to work it out. I totally agree, it is frustrating, the documentation...
by Nespressif
Thu Feb 15, 2024 11:38 am
Forum: ESP-IDF
Topic: Espressif IDE and .h files
Replies: 2
Views: 1183

Re: Espressif IDE and .h files

Hi, I compile directly from the command line and all that is needed is to set the environment variables.
https://docs.espressif.com/projects/esp ... -variables
Best regards
by Nespressif
Wed Feb 14, 2024 10:29 am
Forum: ESP-IDF
Topic: Esp32 blocked: Flash encryption eFuse bit was not enabled in bootloader
Replies: 6
Views: 3412

Re: Esp32 blocked: Flash encryption eFuse bit was not enabled in bootloader

Neither of the two chips that I have blocked trying to activate flash encryption and secure boot v2 allow me to connect with espefuse.py Sorry to hear that. This also confirms that UART DL mode is disabled on these chips. For future experiments, please keep `CONFIG_SECURE_INSECURE_ALLOW_DL_MODE` en...
by Nespressif
Wed Feb 14, 2024 10:20 am
Forum: ESP-IDF
Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
Replies: 17
Views: 20578

Re: IDF v4.4 ESP32 secure boot and flash encryption step-by-step

This will only be the case if you have enabled `CONFIG_SECURE_DISABLE_ROM_DL_MODE` in your sdkconfig. Please check and keep it disabled until you verify all settings at your end. UART ROM DL mode should be disabled as the very last step, either through esptool command specified above or through the...
by Nespressif
Tue Feb 13, 2024 8:15 pm
Forum: ESP-IDF
Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
Replies: 17
Views: 20578

Re: IDF v4.4 ESP32 secure boot and flash encryption step-by-step

Hello, Sorry for the delayed reply! In the instructions you shared, I was unable to see a command to flash the bootloader image. Please note that for secure boot enabled case, the default `idf.py flash` won't flash the bootloader on the device. If you could share more information about the eFuse su...