SDK/ESP-SDK/40-51-15-19-07-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/40-51-15-19-07-2023.png differ
SDK/ESP-SDK/ESP-SDK.md
... ...
@@ -0,0 +1,11 @@
1
+
2
+
3
+
4
+
5
+# ESP32 SDK
6
+
7
+
8
+- [[flash-download-tool]] - [[esptool]] - [[esp-idf-vscode]] - [[ESP32-USB]] - [[esp-idf]] - [[arduino-ESP32]]
9
+
10
+ESP firmware
11
+- https://github.com/Edragon/esp_firmware
... ...
\ No newline at end of file
SDK/ESP-SDK/ESP32-USB.md
... ...
@@ -0,0 +1,26 @@
1
+
2
+
3
+# ESP32 USB
4
+
5
+## USB pins
6
+
7
+![](40-51-15-19-07-2023.png)
8
+
9
+
10
+## Arduino Code tested with [[ESP32-­C3-­WROOM-­2-DAT]]
11
+- not working
12
+- maybe hardware problem, or code problem, or need further test
13
+- consider it is not working if you buy.
14
+
15
+
16
+
17
+## Arduino Code tested with [[ESP32-S2]]
18
+- working
19
+
20
+
21
+## Boards
22
+
23
+- [[NWI1119-DAT]]
24
+- [[NWI1126-DAT]]
25
+- [[NWI1235-DAT]] - [[ESP32-S2]]
26
+
SDK/ESP-SDK/PlatformIO/platformio.md
SDK/ESP-SDK/esp-idf-tools/eit-install.md
... ...
@@ -0,0 +1,4 @@
1
+
2
+
3
+- idf install python 3.11
4
+- idf-vs install python 3.8.7
... ...
\ No newline at end of file
SDK/ESP-SDK/esp-idf-tools/eit-log.md
... ...
@@ -0,0 +1,56 @@
1
+
2
+
3
+Extracting C:\Users\Administrator\.espressif\dist\esp32ulp-elf-2.35_20220830-win64.zip to C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830
4
+
5
+
6
+Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env
7
+
8
+
9
+
10
+
11
+ Using cached https://dl.espressif.com/pypi/certifi/certifi-2022.12.7-py3-none-any.whl (155 kB)
12
+ Installing collected packages: windows-curses, reedsolo, pyserial, pygdbmi, pyelftools, msgpack, lockfile, bitstring, urllib3, six, pyyaml, pyparsing, pycparser, packaging, kconfiglib, idna, future, freertos_gdb, contextlib2, construct, colorama, charset-normalizer, certifi, tqdm, schema, requests, ecdsa, click, cffi, requests-toolbelt, requests-file, cryptography, cachecontrol, esptool, idf-component-manager, esp-coredump
13
+ DEPRECATION: esp-coredump is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
14
+ Running setup.py install for esp-coredump ... done
15
+ Successfully installed bitstring-3.1.9 cachecontrol-0.12.11 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-2.1.1 click-8.0.4 colorama-0.4.6 construct-2.10.68 contextlib2-21.6.0 cryptography-36.0.2 ecdsa-0.18.0 esp-coredump-1.4.2 esptool-4.4 freertos_gdb-1.0.1 future-0.18.2 idf-component-manager-1.2.1 idna-3.4 kconfiglib-14.1.0 lockfile-0.12.2 msgpack-1.0.4 packaging-22.0 pycparser-2.21 pyelftools-0.27 pygdbmi-0.9.0.2 pyparsing-3.0.9 pyserial-3.5 pyyaml-6.0 reedsolo-1.5.4 requests-2.28.1 requests-file-1.5.1 requests-toolbelt-0.10.1 schema-0.7.5 six-1.16.0 tqdm-4.64.1 urllib3-1.26.13 windows-curses-2.3.1
16
+ All done! You can now run:
17
+ export.bat
18
+ PS E:\soft\Clash.for.Windows-0.20.6-win> Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env
19
+
20
+
21
+export.bat
22
+
23
+ PS E:\esp-idf-v5.0> .\export.bat
24
+ Checking Python compatibility
25
+ Setting IDF_PATH: E:\esp-idf-v5.0
26
+
27
+ Adding ESP-IDF tools to PATH...
28
+ C:\Users\Administrator\.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin
29
+ C:\Users\Administrator\.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin
30
+ C:\Users\Administrator\.espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin
31
+ C:\Users\Administrator\.espressif\tools\xtensa-esp32s2-elf\esp-2022r1-11.2.0\xtensa-esp32s2-elf\bin
32
+ C:\Users\Administrator\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin
33
+ C:\Users\Administrator\.espressif\tools\riscv32-esp-elf\esp-2022r1-11.2.0\riscv32-esp-elf\bin
34
+ C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
35
+ C:\Users\Administrator\.espressif\tools\cmake\3.24.0\bin
36
+ C:\Users\Administrator\.espressif\tools\openocd-esp32\v0.11.0-esp32-20221026\openocd-esp32\bin
37
+ C:\Users\Administrator\.espressif\tools\ninja\1.10.2\
38
+ C:\Users\Administrator\.espressif\tools\idf-exe\1.0.3\
39
+ C:\Users\Administrator\.espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64
40
+ C:\Users\Administrator\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
41
+ C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts
42
+ E:\esp-idf-v5.0\tools
43
+
44
+ Checking if Python packages are up to date...
45
+ Constraint file: C:\Users\Administrator\.espressif\espidf.constraints.v5.0.txt
46
+ Requirement files:
47
+ - E:\esp-idf-v5.0\tools\requirements\requirements.core.txt
48
+ Python being checked: C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe
49
+ Python requirements are satisfied.
50
+
51
+ Done! You can now compile ESP-IDF projects.
52
+ Go to the project directory and run:
53
+
54
+ idf.py build
55
+
56
+ PS E:\esp-idf-v5.0>
... ...
\ No newline at end of file
SDK/ESP-SDK/esp-idf-vscode/complie/33-27-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/esp-idf-vscode/complie/33-27-15-19-12-2022.png differ
SDK/ESP-SDK/esp-idf-vscode/complie/38-26-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/esp-idf-vscode/complie/38-26-15-19-12-2022.png differ
SDK/ESP-SDK/esp-idf-vscode/complie/build-complete.md
... ...
@@ -0,0 +1,31 @@
1
+
2
+
3
+ * Executing task: C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env\Scripts\python.exe d:\esp-idf-v5.0\tools\idf_size.py d:\work\hello_world\build\hello_world.map
4
+
5
+ Total sizes:
6
+ Used static DRAM: 12048 bytes ( 168688 remain, 6.7% used)
7
+ .data size: 9768 bytes
8
+ .bss size: 2280 bytes
9
+ Used static IRAM: 47430 bytes ( 83642 remain, 36.2% used)
10
+ .text size: 46403 bytes
11
+ .vectors size: 1027 bytes
12
+ Used Flash size : 119363 bytes
13
+ .text : 87935 bytes
14
+ .rodata : 31172 bytes
15
+ Total image size: 176561 bytes (.bin may be padded larger)
16
+
17
+
18
+file includes:
19
+- bootloader.bin - 0x0
20
+- partition_table.bin - 0x8000
21
+- hello_world.bin - 0x10000
22
+
23
+SPI speed 40M, SPI Mode DIO
24
+
25
+
26
+
27
+
28
+
29
+### compile done
30
+![](33-27-15-19-12-2022.png)
31
+
SDK/ESP-SDK/esp-idf-vscode/complie/build-setup.md
... ...
@@ -0,0 +1,12 @@
1
+
2
+
3
+- setup target: ESP32-C2 / USB-bridge
4
+
5
+
6
+
7
+### compile demo
8
+1. 查看 - 命令面板(快捷键Ctrl+Shift+P)
9
+2. 输入show examples projects,点击。
10
+3. 点击弹出的 Use current ESP-ID,使用本地SDK,也就是前面自定义IDF的路径
11
+![](38-26-15-19-12-2022.png)
12
+4. 如下图创建工程
... ...
\ No newline at end of file
SDK/ESP-SDK/esp-idf-vscode/esp-idf-vscode.md
... ...
@@ -0,0 +1,4 @@
1
+
2
+
3
+# esp idf vscode
4
+
SDK/ESP-SDK/esp-idf-vscode/flash/57-27-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/esp-idf-vscode/flash/57-27-15-19-12-2022.png differ
SDK/ESP-SDK/esp-idf-vscode/flash/buidl-flash.md
... ...
@@ -0,0 +1,10 @@
1
+
2
+
3
+- A fatal error occurred: This chip is ESP32-C2 not ESP32-C3. Wrong --chip argument?
4
+
5
+
6
+
7
+### flash
8
+
9
+![](57-27-15-19-12-2022.png)
10
+
SDK/ESP-SDK/esp-idf-vscode/install/01-26-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/esp-idf-vscode/install/01-26-15-19-12-2022.png differ
SDK/ESP-SDK/esp-idf-vscode/install/13-52-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/esp-idf-vscode/install/13-52-15-19-12-2022.png differ
SDK/ESP-SDK/esp-idf-vscode/install/41-25-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/esp-idf-vscode/install/41-25-15-19-12-2022.png differ
SDK/ESP-SDK/esp-idf-vscode/install/esp-idf-vscode-install.md
... ...
@@ -0,0 +1,22 @@
1
+
2
+### VS extension install
3
+configure esp-idf extension
4
+
5
+![](41-25-15-19-12-2022.png)
6
+
7
+![](01-26-15-19-12-2022.png)
8
+
9
+![](13-52-15-19-12-2022.png)
10
+
11
+ESP-IDF: v5.0 (release version)
12
+Downloaded: 1.53% (13120.00 / 859935.84) KB
13
+about 800MB
14
+
15
+https://github.com/espressif/vscode-esp-idf-extension
16
+
17
+
18
+
19
+
20
+
21
+
22
+
SDK/ESP-SDK/esp-idf/esp-idf-error.md
... ...
@@ -0,0 +1,26 @@
1
+
2
+
3
+
4
+ModuleNotFoundError: No module named 'setuptools.command.build'
5
+
6
+python.exe -m pip install --upgrade pip
7
+
8
+
9
+C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env
10
+
11
+C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env>scripts\activate.bat
12
+
13
+>python -m pip install --upgrade pip setuptools wheel
14
+
15
+
16
+
17
+
18
+(idf5.0_py3.8_env) C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env>python -m pip install --upgrade pip setuptools wheel
19
+Requirement already satisfied: pip in c:\users\administrator\.espressif\python_env\idf5.0_py3.8_env\lib\site-packages (22.3.1)
20
+Requirement already satisfied: setuptools in c:\users\administrator\.espressif\python_env\idf5.0_py3.8_env\lib\site-packages (65.6.3)
21
+Requirement already satisfied: wheel in c:\users\administrator\.espressif\python_env\idf5.0_py3.8_env\lib\site-packages (0.38.4)
22
+
23
+
24
+import setuptools.command.build
25
+ok
26
+
SDK/ESP-SDK/esp-idf/esp-idf.md
... ...
@@ -0,0 +1,55 @@
1
+
2
+
3
+- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c2/index.html
4
+
5
+- https://github.com/espressif/esp-idf
6
+
7
+
8
+- https://idf.espressif.com/
9
+
10
+
11
+
12
+### windows-setup
13
+- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/windows-setup.html
14
+
15
+
16
+### Standard Toolchain Setup for Linux and macOS
17
+- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/linux-macos-setup.html
18
+
19
+### vs-code extension
20
+- https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md
21
+
22
+
23
+### offline installer
24
+https://dl.espressif.cn/dl/esp-idf/
25
+
26
+
27
+ESP32-C3
28
+
29
+
30
+- install [[vs-cpp]]
31
+
32
+
33
+Download an archive with submodules included
34
+Attached to this release is an esp-idf-v5.0.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.
35
+
36
+This archive can also be downloaded from Espressif's download server:
37
+https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.0/esp-idf-v5.0.zip
38
+
39
+
40
+### installer
41
+
42
+
43
+Espressif-IDE
44
+
45
+ESP-IDF
46
+
47
+install.bat
48
+Selected targets are: esp32c3, esp32c2, esp32, esp32s3, esp32h2, esp32s2
49
+Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util
50
+
51
+C:\Users\Administrator\.espressif
52
+
53
+
54
+Setting up Python environment
55
+Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.10_env
... ...
\ No newline at end of file
SDK/ESP-SDK/esp-idf/sdkconfig/sdkconfig.md
... ...
@@ -0,0 +1,3 @@
1
+
2
+
3
+- CONFIG_ESPTOOLPY_MONITOR_BAUD=74880
... ...
\ No newline at end of file
SDK/ESP-SDK/esptool/esptool-log.md
... ...
@@ -0,0 +1,34 @@
1
+
2
+
3
+## Possible serial noise or corruption.
4
+
5
+ C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1/esptool.exe --chip esp32 --port COM186 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_175220/Blink.ino.bootloader.bin 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_175220/Blink.ino.partitions.bin 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9/tools/partitions/boot_app0.bin 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_175220/Blink.ino.bin
6
+
7
+
8
+
9
+ esptool.py v4.5.1
10
+ Serial port COM185
11
+ Connecting....
12
+ Chip is ESP32-D0WDQ6 (revision v1.0)
13
+ Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, BLK3 partially reserved, Coding Scheme 3/4
14
+ Crystal is 40MHz
15
+ MAC: b4:e6:2d:c8:0d:29
16
+ Uploading stub...
17
+ Running stub...
18
+ Stub running...
19
+ Changing baud rate to 921600
20
+ Changed.
21
+ WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
22
+ Configuring flash size...
23
+ Flash will be erased from 0x00001000 to 0x00005fff...
24
+ Flash will be erased from 0x00008000 to 0x00008fff...
25
+ Flash will be erased from 0x0000e000 to 0x0000ffff...
26
+ Flash will be erased from 0x00010000 to 0x00049fff...
27
+ Compressed 18960 bytes to 13073...
28
+ Writing at 0x00001000... (100 %)
29
+
30
+ A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
31
+ A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
32
+
33
+
34
+
SDK/ESP-SDK/esptool/esptool.md
... ...
@@ -0,0 +1,111 @@
1
+
2
+
3
+
4
+## python CLI version
5
+
6
+C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/esptool.exe --chip esp32c3 --port COM12 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bootloader.bin 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.partitions.bin 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bin
7
+
8
+C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/
9
+
10
+ esptool.exe
11
+ --chip esp32c3
12
+ --port COM12
13
+ --baud 921600
14
+ --before default_reset
15
+ --after hard_reset write_flash
16
+ -z --flash_mode dio
17
+ --flash_freq 80m
18
+ --flash_size 4MB
19
+ 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bootloader.bin
20
+ 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.partitions.bin
21
+ 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin
22
+ 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bin
23
+
24
+
25
+C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/esptool.exe --chip esp32c3 --port COM7 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bootloader.bin 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.partitions.bin 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bin
26
+
27
+
28
+
29
+C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/
30
+
31
+esptool.exe --chip esp32c3 --port COM7 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB
32
+
33
+0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bootloader.bin
34
+0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.partitions.bin
35
+0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin
36
+0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bin
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.3.0>esptool.exe
53
+esptool.py v3.3
54
+usage: esptool [-h]
55
+ [--chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2}]
56
+ [--port PORT] [--baud BAUD] [--before {default_reset,usb_reset,no_reset,no_reset_no_sync}]
57
+ [--after {hard_reset,soft_reset,no_reset,no_reset_stub}] [--no-stub] [--trace]
58
+ [--override-vddsdio [{1.8V,1.9V,OFF}]] [--connect-attempts CONNECT_ATTEMPTS]
59
+ {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,merge_bin,get_security_info,version}
60
+ ...
61
+
62
+esptool.py v3.3 - Espressif chips ROM Bootloader Utility
63
+
64
+positional arguments:
65
+ {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,merge_bin,get_security_info,version}
66
+ Run esptool {command} -h for additional help
67
+ load_ram Download an image to RAM and execute
68
+ dump_mem Dump arbitrary memory to disk
69
+ read_mem Read arbitrary memory location
70
+ write_mem Read-modify-write to arbitrary memory location
71
+ write_flash Write a binary blob to flash
72
+ run Run application code in flash
73
+ image_info Dump headers from an application image
74
+ make_image Create an application image from binary files
75
+ elf2image Create an application image from ELF file
76
+ read_mac Read MAC address from OTP ROM
77
+ chip_id Read Chip ID from OTP ROM
78
+ flash_id Read SPI flash manufacturer and device ID
79
+ read_flash_status Read SPI flash status register
80
+ write_flash_status Write SPI flash status register
81
+ read_flash Read SPI flash content
82
+ verify_flash Verify a binary blob against flash
83
+ erase_flash Perform Chip Erase on SPI flash
84
+ erase_region Erase a region of the flash
85
+ merge_bin Merge multiple raw binary files into a single file for later flashing
86
+ get_security_info Get some security-related data
87
+ version Print esptool version
88
+
89
+optional arguments:
90
+ -h, --help show this help message and exit
91
+ --chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2}, -c {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2}
92
+ Target chip type
93
+ --port PORT, -p PORT Serial port device
94
+ --baud BAUD, -b BAUD Serial port baud rate used when flashing/reading
95
+ --before {default_reset,usb_reset,no_reset,no_reset_no_sync}
96
+ What to do before connecting to the chip
97
+ --after {hard_reset,soft_reset,no_reset,no_reset_stub}, -a {hard_reset,soft_reset,no_reset,no_reset_stub}
98
+ What to do after esptool.py is finished
99
+ --no-stub Disable launching the flasher stub, only talk to ROM bootloader. Some features will not be
100
+ available.
101
+ --trace, -t Enable trace-level output of esptool.py interactions.
102
+ --override-vddsdio [{1.8V,1.9V,OFF}]
103
+ Override ESP32 VDDSDIO internal voltage regulator (use with care)
104
+ --connect-attempts CONNECT_ATTEMPTS
105
+ Number of attempts to connect, negative or 0 for infinite. Default: 7.
106
+
107
+# read flash
108
+esptool.exe --baud 115200 --port COM66 --baud 115200 read_flash 0 2097152 output.bin
109
+
110
+esptool.exe --baud 115200 --port COM66 --baud 921600 read_flash 0 2097152 output.bin
111
+
SDK/ESP-SDK/flash-download-tool/11-51-17-17-04-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/flash-download-tool/11-51-17-17-04-2023.png differ
SDK/ESP-SDK/flash-download-tool/32-02-18-06-02-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/flash-download-tool/32-02-18-06-02-2023.png differ
SDK/ESP-SDK/flash-download-tool/36-05-18-06-02-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/flash-download-tool/36-05-18-06-02-2023.png differ
SDK/ESP-SDK/flash-download-tool/56-04-18-06-02-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK/flash-download-tool/56-04-18-06-02-2023.png differ
SDK/ESP-SDK/flash-download-tool/flash-download-tool-3.pdf
... ...
Binary files /dev/null and b/SDK/ESP-SDK/flash-download-tool/flash-download-tool-3.pdf differ
SDK/ESP-SDK/flash-download-tool/flash-download-tool.md
... ...
@@ -0,0 +1,48 @@
1
+
2
+# Flash Download Tool
3
+
4
+- download from - https://www.espressif.com.cn/en/support/download/other-tools
5
+
6
+## NWI1139
7
+
8
+SPI = 40Mhz
9
+SPI Mode = DOUT
10
+for CH340, speed up to 1 500 000 = 1.5M
11
+
12
+![](11-51-17-17-04-2023.png)
13
+
14
+
15
+## NWI1126
16
+
17
+### ESP32-C3 Factory Mode
18
+
19
+- Chip = ESP32-C3
20
+- Mode = Factory
21
+- LoadMode = UART
22
+
23
+
24
+![](32-02-18-06-02-2023.png)
25
+
26
+setup
27
+- Flash Frequency: 40M or 80M
28
+- SPI Mode: QIO or DIO
29
+
30
+
31
+![](56-04-18-06-02-2023.png)
32
+
33
+wiring with USB-TTL cable
34
+- Red = 5V+ Power Supply = pin1 = +5V or VCC
35
+- Green - TXD
36
+- White - RXD
37
+- GND - Ground
38
+
39
+
40
+![](36-05-18-06-02-2023.png)
41
+
42
+
43
+
44
+### ESP32-C3 Enter into Flash Mode
45
+
46
+- Connect wiring first
47
+- Hold down IO9
48
+- Press EN or RST button to restart the module, and enter into flash mode
SDK/ESP/40-51-15-19-07-2023.png
... ...
Binary files a/SDK/ESP/40-51-15-19-07-2023.png and /dev/null differ
SDK/ESP/ESP-SDK.md
... ...
@@ -1,11 +0,0 @@
1
-
2
-
3
-
4
-
5
-# ESP32 SDK
6
-
7
-
8
-- [[flash-download-tool]] - [[esptool]] - [[esp-idf-vscode]] - [[ESP32-USB]] - [[esp-idf]] - [[arduino-ESP32]]
9
-
10
-ESP firmware
11
-- https://github.com/Edragon/esp_firmware
... ...
\ No newline at end of file
SDK/ESP/ESP32-USB.md
... ...
@@ -1,26 +0,0 @@
1
-
2
-
3
-# ESP32 USB
4
-
5
-## USB pins
6
-
7
-![](40-51-15-19-07-2023.png)
8
-
9
-
10
-## Arduino Code tested with [[ESP32-­C3-­WROOM-­2-DAT]]
11
-- not working
12
-- maybe hardware problem, or code problem, or need further test
13
-- consider it is not working if you buy.
14
-
15
-
16
-
17
-## Arduino Code tested with [[ESP32-S2]]
18
-- working
19
-
20
-
21
-## Boards
22
-
23
-- [[NWI1119-DAT]]
24
-- [[NWI1126-DAT]]
25
-- [[NWI1235-DAT]] - [[ESP32-S2]]
26
-
SDK/ESP/PlatformIO/platformio.md
SDK/ESP/esp-idf-tools/eit-install.md
... ...
@@ -1,4 +0,0 @@
1
-
2
-
3
-- idf install python 3.11
4
-- idf-vs install python 3.8.7
... ...
\ No newline at end of file
SDK/ESP/esp-idf-tools/eit-log.md
... ...
@@ -1,56 +0,0 @@
1
-
2
-
3
-Extracting C:\Users\Administrator\.espressif\dist\esp32ulp-elf-2.35_20220830-win64.zip to C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830
4
-
5
-
6
-Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env
7
-
8
-
9
-
10
-
11
- Using cached https://dl.espressif.com/pypi/certifi/certifi-2022.12.7-py3-none-any.whl (155 kB)
12
- Installing collected packages: windows-curses, reedsolo, pyserial, pygdbmi, pyelftools, msgpack, lockfile, bitstring, urllib3, six, pyyaml, pyparsing, pycparser, packaging, kconfiglib, idna, future, freertos_gdb, contextlib2, construct, colorama, charset-normalizer, certifi, tqdm, schema, requests, ecdsa, click, cffi, requests-toolbelt, requests-file, cryptography, cachecontrol, esptool, idf-component-manager, esp-coredump
13
- DEPRECATION: esp-coredump is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
14
- Running setup.py install for esp-coredump ... done
15
- Successfully installed bitstring-3.1.9 cachecontrol-0.12.11 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-2.1.1 click-8.0.4 colorama-0.4.6 construct-2.10.68 contextlib2-21.6.0 cryptography-36.0.2 ecdsa-0.18.0 esp-coredump-1.4.2 esptool-4.4 freertos_gdb-1.0.1 future-0.18.2 idf-component-manager-1.2.1 idna-3.4 kconfiglib-14.1.0 lockfile-0.12.2 msgpack-1.0.4 packaging-22.0 pycparser-2.21 pyelftools-0.27 pygdbmi-0.9.0.2 pyparsing-3.0.9 pyserial-3.5 pyyaml-6.0 reedsolo-1.5.4 requests-2.28.1 requests-file-1.5.1 requests-toolbelt-0.10.1 schema-0.7.5 six-1.16.0 tqdm-4.64.1 urllib3-1.26.13 windows-curses-2.3.1
16
- All done! You can now run:
17
- export.bat
18
- PS E:\soft\Clash.for.Windows-0.20.6-win> Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env
19
-
20
-
21
-export.bat
22
-
23
- PS E:\esp-idf-v5.0> .\export.bat
24
- Checking Python compatibility
25
- Setting IDF_PATH: E:\esp-idf-v5.0
26
-
27
- Adding ESP-IDF tools to PATH...
28
- C:\Users\Administrator\.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin
29
- C:\Users\Administrator\.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin
30
- C:\Users\Administrator\.espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin
31
- C:\Users\Administrator\.espressif\tools\xtensa-esp32s2-elf\esp-2022r1-11.2.0\xtensa-esp32s2-elf\bin
32
- C:\Users\Administrator\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin
33
- C:\Users\Administrator\.espressif\tools\riscv32-esp-elf\esp-2022r1-11.2.0\riscv32-esp-elf\bin
34
- C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
35
- C:\Users\Administrator\.espressif\tools\cmake\3.24.0\bin
36
- C:\Users\Administrator\.espressif\tools\openocd-esp32\v0.11.0-esp32-20221026\openocd-esp32\bin
37
- C:\Users\Administrator\.espressif\tools\ninja\1.10.2\
38
- C:\Users\Administrator\.espressif\tools\idf-exe\1.0.3\
39
- C:\Users\Administrator\.espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64
40
- C:\Users\Administrator\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
41
- C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts
42
- E:\esp-idf-v5.0\tools
43
-
44
- Checking if Python packages are up to date...
45
- Constraint file: C:\Users\Administrator\.espressif\espidf.constraints.v5.0.txt
46
- Requirement files:
47
- - E:\esp-idf-v5.0\tools\requirements\requirements.core.txt
48
- Python being checked: C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe
49
- Python requirements are satisfied.
50
-
51
- Done! You can now compile ESP-IDF projects.
52
- Go to the project directory and run:
53
-
54
- idf.py build
55
-
56
- PS E:\esp-idf-v5.0>
... ...
\ No newline at end of file
SDK/ESP/esp-idf-vscode/complie/33-27-15-19-12-2022.png
... ...
Binary files a/SDK/ESP/esp-idf-vscode/complie/33-27-15-19-12-2022.png and /dev/null differ
SDK/ESP/esp-idf-vscode/complie/38-26-15-19-12-2022.png
... ...
Binary files a/SDK/ESP/esp-idf-vscode/complie/38-26-15-19-12-2022.png and /dev/null differ
SDK/ESP/esp-idf-vscode/complie/build-complete.md
... ...
@@ -1,31 +0,0 @@
1
-
2
-
3
- * Executing task: C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env\Scripts\python.exe d:\esp-idf-v5.0\tools\idf_size.py d:\work\hello_world\build\hello_world.map
4
-
5
- Total sizes:
6
- Used static DRAM: 12048 bytes ( 168688 remain, 6.7% used)
7
- .data size: 9768 bytes
8
- .bss size: 2280 bytes
9
- Used static IRAM: 47430 bytes ( 83642 remain, 36.2% used)
10
- .text size: 46403 bytes
11
- .vectors size: 1027 bytes
12
- Used Flash size : 119363 bytes
13
- .text : 87935 bytes
14
- .rodata : 31172 bytes
15
- Total image size: 176561 bytes (.bin may be padded larger)
16
-
17
-
18
-file includes:
19
-- bootloader.bin - 0x0
20
-- partition_table.bin - 0x8000
21
-- hello_world.bin - 0x10000
22
-
23
-SPI speed 40M, SPI Mode DIO
24
-
25
-
26
-
27
-
28
-
29
-### compile done
30
-![](33-27-15-19-12-2022.png)
31
-
SDK/ESP/esp-idf-vscode/complie/build-setup.md
... ...
@@ -1,12 +0,0 @@
1
-
2
-
3
-- setup target: ESP32-C2 / USB-bridge
4
-
5
-
6
-
7
-### compile demo
8
-1. 查看 - 命令面板(快捷键Ctrl+Shift+P)
9
-2. 输入show examples projects,点击。
10
-3. 点击弹出的 Use current ESP-ID,使用本地SDK,也就是前面自定义IDF的路径
11
-![](38-26-15-19-12-2022.png)
12
-4. 如下图创建工程
... ...
\ No newline at end of file
SDK/ESP/esp-idf-vscode/esp-idf-vscode.md
... ...
@@ -1,4 +0,0 @@
1
-
2
-
3
-# esp idf vscode
4
-
SDK/ESP/esp-idf-vscode/flash/57-27-15-19-12-2022.png
... ...
Binary files a/SDK/ESP/esp-idf-vscode/flash/57-27-15-19-12-2022.png and /dev/null differ
SDK/ESP/esp-idf-vscode/flash/buidl-flash.md
... ...
@@ -1,10 +0,0 @@
1
-
2
-
3
-- A fatal error occurred: This chip is ESP32-C2 not ESP32-C3. Wrong --chip argument?
4
-
5
-
6
-
7
-### flash
8
-
9
-![](57-27-15-19-12-2022.png)
10
-
SDK/ESP/esp-idf-vscode/install/01-26-15-19-12-2022.png
... ...
Binary files a/SDK/ESP/esp-idf-vscode/install/01-26-15-19-12-2022.png and /dev/null differ
SDK/ESP/esp-idf-vscode/install/13-52-15-19-12-2022.png
... ...
Binary files a/SDK/ESP/esp-idf-vscode/install/13-52-15-19-12-2022.png and /dev/null differ
SDK/ESP/esp-idf-vscode/install/41-25-15-19-12-2022.png
... ...
Binary files a/SDK/ESP/esp-idf-vscode/install/41-25-15-19-12-2022.png and /dev/null differ
SDK/ESP/esp-idf-vscode/install/esp-idf-vscode-install.md
... ...
@@ -1,22 +0,0 @@
1
-
2
-### VS extension install
3
-configure esp-idf extension
4
-
5
-![](41-25-15-19-12-2022.png)
6
-
7
-![](01-26-15-19-12-2022.png)
8
-
9
-![](13-52-15-19-12-2022.png)
10
-
11
-ESP-IDF: v5.0 (release version)
12
-Downloaded: 1.53% (13120.00 / 859935.84) KB
13
-about 800MB
14
-
15
-https://github.com/espressif/vscode-esp-idf-extension
16
-
17
-
18
-
19
-
20
-
21
-
22
-
SDK/ESP/esp-idf/esp-idf-error.md
... ...
@@ -1,26 +0,0 @@
1
-
2
-
3
-
4
-ModuleNotFoundError: No module named 'setuptools.command.build'
5
-
6
-python.exe -m pip install --upgrade pip
7
-
8
-
9
-C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env
10
-
11
-C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env>scripts\activate.bat
12
-
13
->python -m pip install --upgrade pip setuptools wheel
14
-
15
-
16
-
17
-
18
-(idf5.0_py3.8_env) C:\Users\Administrator\.espressif\python_env\idf5.0_py3.8_env>python -m pip install --upgrade pip setuptools wheel
19
-Requirement already satisfied: pip in c:\users\administrator\.espressif\python_env\idf5.0_py3.8_env\lib\site-packages (22.3.1)
20
-Requirement already satisfied: setuptools in c:\users\administrator\.espressif\python_env\idf5.0_py3.8_env\lib\site-packages (65.6.3)
21
-Requirement already satisfied: wheel in c:\users\administrator\.espressif\python_env\idf5.0_py3.8_env\lib\site-packages (0.38.4)
22
-
23
-
24
-import setuptools.command.build
25
-ok
26
-
SDK/ESP/esp-idf/esp-idf.md
... ...
@@ -1,55 +0,0 @@
1
-
2
-
3
-- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c2/index.html
4
-
5
-- https://github.com/espressif/esp-idf
6
-
7
-
8
-- https://idf.espressif.com/
9
-
10
-
11
-
12
-### windows-setup
13
-- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/windows-setup.html
14
-
15
-
16
-### Standard Toolchain Setup for Linux and macOS
17
-- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/linux-macos-setup.html
18
-
19
-### vs-code extension
20
-- https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md
21
-
22
-
23
-### offline installer
24
-https://dl.espressif.cn/dl/esp-idf/
25
-
26
-
27
-ESP32-C3
28
-
29
-
30
-- install [[vs-cpp]]
31
-
32
-
33
-Download an archive with submodules included
34
-Attached to this release is an esp-idf-v5.0.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.
35
-
36
-This archive can also be downloaded from Espressif's download server:
37
-https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.0/esp-idf-v5.0.zip
38
-
39
-
40
-### installer
41
-
42
-
43
-Espressif-IDE
44
-
45
-ESP-IDF
46
-
47
-install.bat
48
-Selected targets are: esp32c3, esp32c2, esp32, esp32s3, esp32h2, esp32s2
49
-Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util
50
-
51
-C:\Users\Administrator\.espressif
52
-
53
-
54
-Setting up Python environment
55
-Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.10_env
... ...
\ No newline at end of file
SDK/ESP/esp-idf/sdkconfig/sdkconfig.md
... ...
@@ -1,3 +0,0 @@
1
-
2
-
3
-- CONFIG_ESPTOOLPY_MONITOR_BAUD=74880
... ...
\ No newline at end of file
SDK/ESP/esptool/esptool.md
... ...
@@ -1,111 +0,0 @@
1
-
2
-
3
-
4
-## python CLI version
5
-
6
-C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/esptool.exe --chip esp32c3 --port COM12 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bootloader.bin 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.partitions.bin 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bin
7
-
8
-C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/
9
-
10
- esptool.exe
11
- --chip esp32c3
12
- --port COM12
13
- --baud 921600
14
- --before default_reset
15
- --after hard_reset write_flash
16
- -z --flash_mode dio
17
- --flash_freq 80m
18
- --flash_size 4MB
19
- 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bootloader.bin
20
- 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.partitions.bin
21
- 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin
22
- 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bin
23
-
24
-
25
-C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/esptool.exe --chip esp32c3 --port COM7 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bootloader.bin 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.partitions.bin 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bin
26
-
27
-
28
-
29
-C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/
30
-
31
-esptool.exe --chip esp32c3 --port COM7 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB
32
-
33
-0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bootloader.bin
34
-0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.partitions.bin
35
-0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin
36
-0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_562933/basic-2.ino.bin
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.3.0>esptool.exe
53
-esptool.py v3.3
54
-usage: esptool [-h]
55
- [--chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2}]
56
- [--port PORT] [--baud BAUD] [--before {default_reset,usb_reset,no_reset,no_reset_no_sync}]
57
- [--after {hard_reset,soft_reset,no_reset,no_reset_stub}] [--no-stub] [--trace]
58
- [--override-vddsdio [{1.8V,1.9V,OFF}]] [--connect-attempts CONNECT_ATTEMPTS]
59
- {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,merge_bin,get_security_info,version}
60
- ...
61
-
62
-esptool.py v3.3 - Espressif chips ROM Bootloader Utility
63
-
64
-positional arguments:
65
- {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,merge_bin,get_security_info,version}
66
- Run esptool {command} -h for additional help
67
- load_ram Download an image to RAM and execute
68
- dump_mem Dump arbitrary memory to disk
69
- read_mem Read arbitrary memory location
70
- write_mem Read-modify-write to arbitrary memory location
71
- write_flash Write a binary blob to flash
72
- run Run application code in flash
73
- image_info Dump headers from an application image
74
- make_image Create an application image from binary files
75
- elf2image Create an application image from ELF file
76
- read_mac Read MAC address from OTP ROM
77
- chip_id Read Chip ID from OTP ROM
78
- flash_id Read SPI flash manufacturer and device ID
79
- read_flash_status Read SPI flash status register
80
- write_flash_status Write SPI flash status register
81
- read_flash Read SPI flash content
82
- verify_flash Verify a binary blob against flash
83
- erase_flash Perform Chip Erase on SPI flash
84
- erase_region Erase a region of the flash
85
- merge_bin Merge multiple raw binary files into a single file for later flashing
86
- get_security_info Get some security-related data
87
- version Print esptool version
88
-
89
-optional arguments:
90
- -h, --help show this help message and exit
91
- --chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2}, -c {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2}
92
- Target chip type
93
- --port PORT, -p PORT Serial port device
94
- --baud BAUD, -b BAUD Serial port baud rate used when flashing/reading
95
- --before {default_reset,usb_reset,no_reset,no_reset_no_sync}
96
- What to do before connecting to the chip
97
- --after {hard_reset,soft_reset,no_reset,no_reset_stub}, -a {hard_reset,soft_reset,no_reset,no_reset_stub}
98
- What to do after esptool.py is finished
99
- --no-stub Disable launching the flasher stub, only talk to ROM bootloader. Some features will not be
100
- available.
101
- --trace, -t Enable trace-level output of esptool.py interactions.
102
- --override-vddsdio [{1.8V,1.9V,OFF}]
103
- Override ESP32 VDDSDIO internal voltage regulator (use with care)
104
- --connect-attempts CONNECT_ATTEMPTS
105
- Number of attempts to connect, negative or 0 for infinite. Default: 7.
106
-
107
-# read flash
108
-esptool.exe --baud 115200 --port COM66 --baud 115200 read_flash 0 2097152 output.bin
109
-
110
-esptool.exe --baud 115200 --port COM66 --baud 921600 read_flash 0 2097152 output.bin
111
-
SDK/ESP/flash-download-tool/11-51-17-17-04-2023.png
... ...
Binary files a/SDK/ESP/flash-download-tool/11-51-17-17-04-2023.png and /dev/null differ
SDK/ESP/flash-download-tool/32-02-18-06-02-2023.png
... ...
Binary files a/SDK/ESP/flash-download-tool/32-02-18-06-02-2023.png and /dev/null differ
SDK/ESP/flash-download-tool/36-05-18-06-02-2023.png
... ...
Binary files a/SDK/ESP/flash-download-tool/36-05-18-06-02-2023.png and /dev/null differ
SDK/ESP/flash-download-tool/56-04-18-06-02-2023.png
... ...
Binary files a/SDK/ESP/flash-download-tool/56-04-18-06-02-2023.png and /dev/null differ
SDK/ESP/flash-download-tool/flash-download-tool-3.pdf
... ...
Binary files a/SDK/ESP/flash-download-tool/flash-download-tool-3.pdf and /dev/null differ
SDK/ESP/flash-download-tool/flash-download-tool.md
... ...
@@ -1,48 +0,0 @@
1
-
2
-# Flash Download Tool
3
-
4
-- download from - https://www.espressif.com.cn/en/support/download/other-tools
5
-
6
-## NWI1139
7
-
8
-SPI = 40Mhz
9
-SPI Mode = DOUT
10
-for CH340, speed up to 1 500 000 = 1.5M
11
-
12
-![](11-51-17-17-04-2023.png)
13
-
14
-
15
-## NWI1126
16
-
17
-### ESP32-C3 Factory Mode
18
-
19
-- Chip = ESP32-C3
20
-- Mode = Factory
21
-- LoadMode = UART
22
-
23
-
24
-![](32-02-18-06-02-2023.png)
25
-
26
-setup
27
-- Flash Frequency: 40M or 80M
28
-- SPI Mode: QIO or DIO
29
-
30
-
31
-![](56-04-18-06-02-2023.png)
32
-
33
-wiring with USB-TTL cable
34
-- Red = 5V+ Power Supply = pin1 = +5V or VCC
35
-- Green - TXD
36
-- White - RXD
37
-- GND - Ground
38
-
39
-
40
-![](36-05-18-06-02-2023.png)
41
-
42
-
43
-
44
-### ESP32-C3 Enter into Flash Mode
45
-
46
-- Connect wiring first
47
-- Hold down IO9
48
-- Press EN or RST button to restart the module, and enter into flash mode
Tech/Interface/I2C-dat/I2C-dat.md
... ...
@@ -3,7 +3,7 @@
3 3
4 4
// I2C device found at address 0x40 ! // INA219, INA226
5 5
6
-//I2C device found at address 0x3C ! //
6
+//I2C device found at address 0x3C ! // OLED = 0x78
7 7
8 8
//I2C device found at address 0x75 ! // IP5306
9 9