Hi all,
我目前因為要使用 esp mdf,所以 esp idf 只能用 4.3.1 的版本,在加密上遇到了問題,想請問加密步驟是這樣嗎?
[ 第一次燒錄步驟 ]
1. 產生金鑰
espsecure.py generate_flash_encryption_key flash_encryption_key.bin
2. 燒錄金鑰
espefuse.py --port COM3 burn_key flash_encryption build\flash_encryption_key.bin
3. 開啟加密
CONFIG_FLASH_ENCRYPTION_ENABLED=y
CONFIG_FLASH_ENCRYPTION_MODE_DEVELOPMENT=y
4. 編譯程式
5. 燒錄原始韌體
idf.py -p COM3 erase_flash
idf.py -p COM3 flash monitor
[ 重新燒錄步驟 ]
1. 編譯程式
2. 加密韌體 (選用)
espsecure.py encrypt_flash_data --keyfile build\flash_encryption_key.bin --address 0x20000 --output build\app-encrypt.bin build\app.bin
刪除 app.bin
app-encrypt.bin 更名為 app.bin
3. 燒錄韌體
idf.py -p COM3 flash monitor
照這個步驟做,重新燒錄後,都會無法開機,出現 invalid header
esp32 加密
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 1 guest
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!