A Rust-based RISC-V emulator that runs ESP32-C3/C6/H2/P4, and S31 firmware binaries - CPU, memory, WiFi, BLE, Thread, Ethernet, Security, and more.
https://github.com/espressif/esp-emulator
Project is still in beta phase. Please feel free to try and leave any feedback
Thanks.
Search found 195 matches
- Tue Jul 21, 2026 4:24 am
- Forum: General Discussion
- Topic: Rust based Emulator for ESP RISC-V SoCs
- Replies: 0
- Views: 22
- Tue Jan 06, 2026 4:36 am
- Forum: Documentation
- Topic: Do Espressif provide espsecure.py key generation security documentation?
- Replies: 1
- Views: 1147
Re: Do Espressif provide espsecure.py key generation security documentation?
Hello,
The espsecure script uses standard python os.urandom call for RNG requirement. Please refer to documentation details here for more information: https://docs.python.org/3/library/os.html#os.urandom
Regarding the EN 18031 compliance, please refer to:
https://developer.espressif.com/blog/2025 ...
The espsecure script uses standard python os.urandom call for RNG requirement. Please refer to documentation details here for more information: https://docs.python.org/3/library/os.html#os.urandom
Regarding the EN 18031 compliance, please refer to:
https://developer.espressif.com/blog/2025 ...
- Wed Apr 02, 2025 10:01 am
- Forum: General Discussion
- Topic: ESP32-C5 Secure boot doesn't works
- Replies: 1
- Views: 575
Re: ESP32-C5 Secure boot doesn't works
Hello,
1. If we have different keys, should we sign our binaries with all keys? (e.g. in the example before we have 3 ECDSA keys on secure blocks, so should we sign the binaries three times?)
Yes, if you would like to consider key revocation feature then you must sign the bootloader image with ...
1. If we have different keys, should we sign our binaries with all keys? (e.g. in the example before we have 3 ECDSA keys on secure blocks, so should we sign the binaries three times?)
Yes, if you would like to consider key revocation feature then you must sign the bootloader image with ...
- Sun Mar 09, 2025 3:47 pm
- Forum: General Discussion
- Topic: Undocumented backdoor found in ESP32
- Replies: 12
- Views: 14687
- Thu Feb 27, 2025 8:47 am
- Forum: ESP-IDF
- Topic: Failed to disable ROM download mode
- Replies: 3
- Views: 1557
Re: Failed to disable ROM download mode
Hello,
To switch from the flash encryption development to release mode, we recommend using API `esp_flash_encryption_set_release_mode`. This API can be called in the application startup sequence and it shall take care of burning all necessary efuses required for the release mode. ( https://github ...
To switch from the flash encryption development to release mode, we recommend using API `esp_flash_encryption_set_release_mode`. This API can be called in the application startup sequence and it shall take care of burning all necessary efuses required for the release mode. ( https://github ...
- Fri May 31, 2024 4:57 am
- Forum: ESP-IDF
- Topic: Esp32S3 : Flash Encryption Question.
- Replies: 3
- Views: 3668
Re: Esp32S3 : Flash Encryption Question.
Hello,
1) In development mode, is it possible to reflash non-encrypted firmware in the flash ? If the answer is yes, does it mean that :
A) The Esp32S3 can automatically use the key stored in the eFuses (Because it has been put inside the 1st time) and encrypt the FW when flashing (In the UART ...
1) In development mode, is it possible to reflash non-encrypted firmware in the flash ? If the answer is yes, does it mean that :
A) The Esp32S3 can automatically use the key stored in the eFuses (Because it has been put inside the 1st time) and encrypt the FW when flashing (In the UART ...
- Tue May 14, 2024 5:54 am
- Forum: ESP-IDF
- Topic: Invalid magic byte on secure boot with custom partition table offset
- Replies: 4
- Views: 2864
Re: Invalid magic byte on secure boot with custom partition table offset
The error here points to no legit application binary on the flash. Can you please confirm that you are flashing application binary at either factory/ota_0/ota_1 partition offset?
- Wed Feb 14, 2024 9:30 am
- Forum: ESP-IDF
- Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
- Replies: 19
- Views: 26899
Re: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
1.- I imagine that this manual will be valid for any recent version of IDF, I am working with version 5.1.2.??? I ask because it is in the master branch and does not appear in the documentation of the version I use.
Yes, the host based security workflow document should apply to ESP-IDF 5.1.2 ...
Yes, the host based security workflow document should apply to ESP-IDF 5.1.2 ...
- Wed Feb 14, 2024 8:38 am
- Forum: ESP-IDF
- Topic: Esp32 blocked: Flash encryption eFuse bit was not enabled in bootloader
- Replies: 6
- Views: 5334
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 ...
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 ...
- Tue Feb 13, 2024 9:21 am
- Forum: ESP-IDF
- Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
- Replies: 19
- Views: 26899
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 ...
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 ...