From 9fff5eac2b4ebcc592135e9ae32c7cd4ac35a0c3 Mon Sep 17 00:00:00 2001 From: jiangwei Date: Fri, 19 Jan 2024 14:26:10 +0800 Subject: [PATCH] update Flash Example documents --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dd80a53..b05ec0b 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,13 @@ Any ESP board that have USB-OTG supported. > using erase_flash will lose all stored keys ``` # Erase first 1MB size -esptool erase_region 0x0 0x10000 +esptool erase_region 0x0 0x100000 ``` Flash binaries: ``` -#esp32s3 chip ,--chip select esp32s3 -esptool -b 460800 --before default_reset --after hard_reset --chip esp32s2 write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 esp32_u2f.bin 0x8000 partition_table/partition-table.bin +esptool write_flash 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 esp32_u2f.bin ``` ### Tools