From f2b501600409b17e83933549afa9c30d32f8e8c2 Mon Sep 17 00:00:00 2001 From: jocover Date: Fri, 19 Jan 2024 18:55:41 +0800 Subject: [PATCH] Update Flash Example esp32s2/s3 have different bootloader addresses --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b05ec0b..a479539 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Any ESP board that have USB-OTG supported. > **WARNING** > using erase_flash will lose all stored keys + ``` # Erase first 1MB size esptool erase_region 0x0 0x100000 @@ -20,14 +21,24 @@ esptool erase_region 0x0 0x100000 Flash binaries: +esp32s2 +bootloader address is 0x1000 + ``` -esptool write_flash 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 esp32_u2f.bin +esptool write_flash 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 esp32_u2f.bin ``` -### Tools -[espressif esptool](https://github.com/espressif/esptool/releases) +esp32s3 +bootloader address is 0x0 + +``` +esptool write_flash 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 esp32_u2f.bin +``` +### Tools + +[espressif esptool](https://github.com/espressif/esptool/releases) ### License -[GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html) \ No newline at end of file +[GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html)