39633faee7b065ca331a4e32ff8ce3b9d2c33fe8
SDK-dat/ESP-SDK-dat/ESP32-SDK-dat/ESP32-SDK-dat.md
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | |
| 7 | 7 | - [[ESP32-HDK-dat]] |
| 8 | 8 | |
| 9 | - |
|
| 9 | +- [[esptool-dat]] |
|
| 10 | 10 | |
| 11 | 11 | ## other reference |
| 12 | 12 |
SDK-dat/ESP-SDK-dat/esptool-dat/esptool-dat.md
| ... | ... | @@ -16,6 +16,23 @@ or python2 == pip install esptool |
| 16 | 16 | |
| 17 | 17 | |
| 18 | 18 | |
| 19 | +## command errors |
|
| 20 | + |
|
| 21 | +- Wrong option names: you used hyphens in option values (default-reset, hard-reset) and in flash options (--flash-mode, --flash-freq, --flash-size). esptool expects underscores (default_reset, hard_reset, --flash_mode, --flash_freq, --flash_size). |
|
| 22 | +- The whole command must be run as one line (don’t split with backslashes in PowerShell). |
|
| 23 | +- Quote filenames/paths with spaces and ensure the .bin files exist in the current directory (or use full paths). |
|
| 24 | + |
|
| 25 | + esptool --chip esp32 --port COM21 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0xe000 "boot_app0.bin" 0x1000 "DAOLEDCLOCK-SPFF.ino.bootloader.bin" 0x10000 "DAOLEDCLOCK-SPFF.2023-5-2-v6.2.bin" 0x8000 "DAOLEDCLOCK-SPFF.ino.partitions.bin" |
|
| 26 | + |
|
| 27 | +## memory structure |
|
| 28 | + |
|
| 29 | +| Address | File Name | Description | |
|
| 30 | +| ------- | ----------------------------------- | ------------------------- | |
|
| 31 | +| 0xe000 | boot_app0.bin | Boot application | |
|
| 32 | +| 0x1000 | DAOLEDCLOCK-SPFF.ino.bootloader.bin | Bootloader | |
|
| 33 | +| 0x8000 | DAOLEDCLOCK-SPFF.ino.partitions.bin | Partition table | |
|
| 34 | +| 0x10000 | DAOLEDCLOCK-SPFF.2023-5-2-v6.2.bin | Main firmware/application | |
|
| 35 | + |
|
| 19 | 36 | |
| 20 | 37 | ## basic usage |
| 21 | 38 |
SDK-dat/arduino-dat/arduino-lib-dat/arduino-lib-dat.md
| ... | ... | @@ -7,6 +7,19 @@ |
| 7 | 7 | - [ESP8266](https://github.com/Edragon/arduino-esp8266) - |
| 8 | 8 | |
| 9 | 9 | |
| 10 | + |
|
| 11 | +## unsort |
|
| 12 | + |
|
| 13 | +- timelib |
|
| 14 | +- ArduinoJson |
|
| 15 | +- SimpleDHT |
|
| 16 | + |
|
| 17 | +h file |
|
| 18 | +- Arduino_GB2312_library.h |
|
| 19 | +- WiFiUdp.h |
|
| 20 | +- MyFont.h |
|
| 21 | + |
|
| 22 | + |
|
| 10 | 23 | ## interface |
| 11 | 24 | |
| 12 | 25 | - [[softwareserial-dat]] |