Hi there,
i use esp32_arduino + w5500 + tcp/ip client/server to update my firmware over Internet.
upgrade mechanism looks like:
Download process:
1 - download parts through my tcp/ip server
[encrypted_data_pat_1][crc_32]
[encrypted_data_pat_2][crc_32]
[encrypted_data_pat_3][crc_32]
...
2 - calculate crc32 for each part and compare it
3 - then i do decription
4 - write part to flash (through LITTLE_FS function file.write(part..))
5 - then i use Update.h to apply my firmware
Works good.
Now, i wan't to use secure flash function to secure my app
I downloaded and install esp-idf and esp32_ardiono and setted esp32_arduino as component. Copyed hello_world example and flashed it. So, all i described before can be runned through esp32_arduino idf component. Now i can obtain esp-idf functionality.
I know, i have to use FATFS to store data becuse of secure mode.
My plan is:
1 - Download part's like described before and store it in flash through FATFS and function fprintf.
2 - Using some function (maby part of OTA that can apply firmware in secure mode)
something else.
Question:
1 - It's possible?
Help
Secure flash and firmware update.
-
- Posts: 11
- Joined: Sun Apr 17, 2022 6:58 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- 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 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- 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 88 guests
- 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.