Board-new/board-new-dat.md
... ...
@@ -3,4 +3,4 @@
3 3
4 4
- [[ESP32-ISO-dat]] - [[rs485-autoboard-1]]
5 5
6
-- [[dcdc]]
... ...
\ No newline at end of file
0
+- [[battery-drainer-dat]]
... ...
\ No newline at end of file
Board/NWI/NWI1050-DAT/NWI1050-DAT.md
... ...
@@ -18,7 +18,7 @@ back side functions:
18 18
19 19
## ref
20 20
21
-- [[ESP-SDK]]
21
+- [[ESP-SDK-dat]]
22 22
- https://www.electrodragon.com/w/Category:ESP8266_Hardware#Perpherial_Schematic
23 23
- flash guide - https://www.electrodragon.com/flash-firmware-for-nodemcu-on-esp-12f-with-breakout-board/
24 24
Board/NWI/NWI1118-dat/2023-10-08-17-09-09.png
... ...
Binary files /dev/null and b/Board/NWI/NWI1118-dat/2023-10-08-17-09-09.png differ
Board/NWI/NWI1118-dat/NWI1118-DAT.md
... ...
@@ -1,22 +1,44 @@
1 1
# NWI1118-DAT
2 2
3
+
4
+
5
+
3 6
### hardware
4 7
8
+#### R7 ESP32-C3 Version
9
+
10
+![](2023-10-08-17-09-09.png)
11
+
12
+- programmerable LED IO10
13
+- programmerable / Flash Button IO9
14
+- Reset Button
15
+- Relay Pin IO6 / IO7
16
+- ADC Port Pin IO0
17
+- Default Pull up IO2 IO8
18
+- I2C Expand Pin Headers IO4 IO5 3V3 GND
19
+
20
+#### R6
21
+- IO2 = status LED (also on module ESP-12F)
22
+- IO0 = BTN2
23
+- RST = BTN1
24
+
5 25
#### R5
26
+
27
+- IO2 = BTN1
28
+- IO0 = BTN2
29
+
6 30
- IO13 = relay 1
7 31
- IO12 = relay 2
8 32
- IO14 = IO14
9 33
- IO16 = status LED
10 34
- IO4, IO5 = I2C Pull up
11
-- IO0 = BTN2
12
-- IO2 = BTN1
13 35
14
-#### R6
15
-- IO2 = status LED (also on module ESP-12F)
16
-- IO0 = BTN2
17
-- RST = BTN1
36
+
18 37
19 38
## ref
20
-- [[ESP-12F-DAT]]
39
+
40
+- [[ESP-SDK-dat]]
41
+
42
+- [[ESP-12F-DAT]] - [[ESP32-­C3-­WROOM-­2-DAT]]
21 43
- [[AC-DC-SM]]
22 44
- code reference - [[NWI1139-DAT]]
... ...
\ No newline at end of file
Board/NWI/NWI1119-DAT/NWI1119-DAT.md
... ...
@@ -26,6 +26,6 @@
26 26
27 27
### ref
28 28
29
-- [[ESP-SDK]] - [[arduino-esp32-dat]]
29
+- [[ESP-SDK-dat]] - [[arduino-esp32-dat]]
30 30
- [[ESP32-USB]]
31 31
- [[ESP32-C3-WROOM-02-DAT]]
... ...
\ No newline at end of file
Board/NWI/NWI1186-dat.md
... ...
@@ -16,7 +16,7 @@ https://www.mouser.com/ProductDetail/Espressif-Systems/ESP32-Sense-Kit?qs=MLItCL
16 16
17 17
- [demo video](https://www.youtube.com/watch?v=UzN8yJvoCjE&ab_channel=PeiChiNg)
18 18
19
-- [[NWI1186]] - [[esp-sdk]]
19
+- [[NWI1186]] - [[ESP-SDK-dat]]
20 20
21 21
22 22
- [[board-stock-out]]
... ...
\ No newline at end of file
SDK/Arduino-IDE-DAT/Arduino-ESP32/arduino-esp32-dat.md
... ...
@@ -66,7 +66,7 @@ includes
66 66
- bluetooth / wifi tested with official examples
67 67
68 68
69
-- [[ESP-SDK]]
69
+- [[ESP-SDK-dat]]
70 70
71 71
72 72
SDK/ESP-SDK-dat/40-51-15-19-07-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/40-51-15-19-07-2023.png differ
SDK/ESP-SDK-dat/ESP-SDK-dat.md
... ...
@@ -0,0 +1,51 @@
1
+
2
+
3
+
4
+
5
+# ESP32 SDK
6
+
7
+
8
+## Official SDK
9
+
10
+- [[esp-idf]] - [[esp-idf-vscode]]
11
+
12
+
13
+## ESP Arduino code and firmware
14
+
15
+
16
+- [[arduino-esp32-dat]]
17
+
18
+- arduino firmware - https://github.com/Edragon/esp_firmware
19
+
20
+## Other Firmware
21
+
22
+- [[ESPHome-dat]]
23
+
24
+
25
+## Flashing
26
+
27
+- [[esptool]] - [[flash-download-tool]]
28
+
29
+### Serial Connect
30
+Wirings use [[USB-TTL-dat]]
31
+
32
+
33
+### using ESP-Prog official programmer
34
+
35
+- [[DPR1109-dat]]
36
+
37
+
38
+
39
+## Functions
40
+
41
+- [[ESP32-USB]]
42
+
43
+
44
+
45
+## ref
46
+
47
+API Reference
48
+https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/index.html
49
+
50
+
51
+
SDK/ESP-SDK-dat/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-dat/ESPHome/ESPHome-dat.md
... ...
@@ -0,0 +1,34 @@
1
+
2
+# ESPHome-dat
3
+
4
+- install [[home-assistant-dat]] first
5
+- flash esphome via esp-web-tools, find the link below
6
+
7
+
8
+## boards
9
+
10
+- [[NWI1072-dat]] - [[NWI1118-dat]]
11
+
12
+- [[NWI1072]]
13
+
14
+
15
+## ESP Web Tools
16
+
17
+- https://github.com/esphome/esp-web-tools
18
+
19
+- https://esphome.io/web-api/
20
+
21
+
22
+
23
+## deprecated
24
+
25
+- https://github.com/esphome/esphome-flasher
26
+
27
+
28
+## ref
29
+
30
+- https://github.com/esphome/esphome
31
+
32
+- https://github.com/esphome/aioesphomeapi
33
+
34
+- [Web Server Component](https://esphome.io/components/web_server.html)
... ...
\ No newline at end of file
SDK/ESP-SDK-dat/PlatformIO/platformio.md
SDK/ESP-SDK-dat/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-dat/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-dat/esp-idf-vscode/complie/33-27-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/esp-idf-vscode/complie/33-27-15-19-12-2022.png differ
SDK/ESP-SDK-dat/esp-idf-vscode/complie/38-26-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/esp-idf-vscode/complie/38-26-15-19-12-2022.png differ
SDK/ESP-SDK-dat/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-dat/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-dat/esp-idf-vscode/esp-idf-vscode.md
... ...
@@ -0,0 +1,4 @@
1
+
2
+
3
+# esp idf vscode
4
+
SDK/ESP-SDK-dat/esp-idf-vscode/flash/57-27-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/esp-idf-vscode/flash/57-27-15-19-12-2022.png differ
SDK/ESP-SDK-dat/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-dat/esp-idf-vscode/install/01-26-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/esp-idf-vscode/install/01-26-15-19-12-2022.png differ
SDK/ESP-SDK-dat/esp-idf-vscode/install/13-52-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/esp-idf-vscode/install/13-52-15-19-12-2022.png differ
SDK/ESP-SDK-dat/esp-idf-vscode/install/41-25-15-19-12-2022.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/esp-idf-vscode/install/41-25-15-19-12-2022.png differ
SDK/ESP-SDK-dat/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-dat/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-dat/esp-idf/esp-idf.md
... ...
@@ -0,0 +1,57 @@
1
+
2
+
3
+# ESP IDF
4
+
5
+- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c2/index.html
6
+
7
+- https://github.com/espressif/esp-idf
8
+
9
+
10
+- https://idf.espressif.com/
11
+
12
+
13
+
14
+### windows-setup
15
+- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/windows-setup.html
16
+
17
+
18
+### Standard Toolchain Setup for Linux and macOS
19
+- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/linux-macos-setup.html
20
+
21
+### vs-code extension
22
+- https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md
23
+
24
+
25
+### offline installer
26
+https://dl.espressif.cn/dl/esp-idf/
27
+
28
+
29
+ESP32-C3
30
+
31
+
32
+- install [[vs-cpp]]
33
+
34
+
35
+Download an archive with submodules included
36
+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.
37
+
38
+This archive can also be downloaded from Espressif's download server:
39
+https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.0/esp-idf-v5.0.zip
40
+
41
+
42
+### installer
43
+
44
+
45
+Espressif-IDE
46
+
47
+ESP-IDF
48
+
49
+install.bat
50
+Selected targets are: esp32c3, esp32c2, esp32, esp32s3, esp32h2, esp32s2
51
+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
52
+
53
+C:\Users\Administrator\.espressif
54
+
55
+
56
+Setting up Python environment
57
+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-dat/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-dat/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-dat/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-dat/flash-download-tool/11-51-17-17-04-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/flash-download-tool/11-51-17-17-04-2023.png differ
SDK/ESP-SDK-dat/flash-download-tool/32-02-18-06-02-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/flash-download-tool/32-02-18-06-02-2023.png differ
SDK/ESP-SDK-dat/flash-download-tool/36-05-18-06-02-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/flash-download-tool/36-05-18-06-02-2023.png differ
SDK/ESP-SDK-dat/flash-download-tool/56-04-18-06-02-2023.png
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/flash-download-tool/56-04-18-06-02-2023.png differ
SDK/ESP-SDK-dat/flash-download-tool/flash-download-tool-3.pdf
... ...
Binary files /dev/null and b/SDK/ESP-SDK-dat/flash-download-tool/flash-download-tool-3.pdf differ
SDK/ESP-SDK-dat/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-SDK/40-51-15-19-07-2023.png
... ...
Binary files a/SDK/ESP-SDK/40-51-15-19-07-2023.png and /dev/null differ
SDK/ESP-SDK/ESP-SDK.md
... ...
@@ -1,36 +0,0 @@
1
-
2
-
3
-
4
-
5
-# ESP32 SDK
6
-
7
-
8
-- [[flash-download-tool]]
9
-
10
-- [[esptool]] - [[esp-idf-vscode]] - [[ESP32-USB]] - [[esp-idf]]
11
-
12
-
13
-- [[arduino-esp32-dat]]
14
-
15
-
16
-
17
-## ESP firmware
18
-- https://github.com/Edragon/esp_firmware
19
-
20
-
21
-
22
-Wirings use [[USB-TTL-dat]]
23
-
24
-
25
-## using ESP-Prog official programmer
26
-
27
-- [[DPR1109-dat]]
28
-
29
-
30
-## ref
31
-
32
-API Reference
33
-https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/index.html
34
-
35
-
36
-
SDK/ESP-SDK/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-SDK/ESPHome/ESPHome-dat.md
... ...
@@ -1,34 +0,0 @@
1
-
2
-# ESPHome-dat
3
-
4
-- install [[home-assistant-dat]] first
5
-- flash esphome via esp-web-tools, find the link below
6
-
7
-
8
-## boards
9
-
10
-- [[NWI1072-dat]] - [[NWI1118-dat]]
11
-
12
-- [[NWI1072]]
13
-
14
-
15
-## ESP Web Tools
16
-
17
-- https://github.com/esphome/esp-web-tools
18
-
19
-- https://esphome.io/web-api/
20
-
21
-
22
-
23
-## deprecated
24
-
25
-- https://github.com/esphome/esphome-flasher
26
-
27
-
28
-## ref
29
-
30
-- https://github.com/esphome/esphome
31
-
32
-- https://github.com/esphome/aioesphomeapi
33
-
34
-- [Web Server Component](https://esphome.io/components/web_server.html)
... ...
\ No newline at end of file
SDK/ESP-SDK/PlatformIO/platformio.md
SDK/ESP-SDK/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-SDK/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-SDK/esp-idf-vscode/complie/33-27-15-19-12-2022.png
... ...
Binary files a/SDK/ESP-SDK/esp-idf-vscode/complie/33-27-15-19-12-2022.png and /dev/null differ
SDK/ESP-SDK/esp-idf-vscode/complie/38-26-15-19-12-2022.png
... ...
Binary files a/SDK/ESP-SDK/esp-idf-vscode/complie/38-26-15-19-12-2022.png and /dev/null differ
SDK/ESP-SDK/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-SDK/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-SDK/esp-idf-vscode/esp-idf-vscode.md
... ...
@@ -1,4 +0,0 @@
1
-
2
-
3
-# esp idf vscode
4
-
SDK/ESP-SDK/esp-idf-vscode/flash/57-27-15-19-12-2022.png
... ...
Binary files a/SDK/ESP-SDK/esp-idf-vscode/flash/57-27-15-19-12-2022.png and /dev/null differ
SDK/ESP-SDK/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-SDK/esp-idf-vscode/install/01-26-15-19-12-2022.png
... ...
Binary files a/SDK/ESP-SDK/esp-idf-vscode/install/01-26-15-19-12-2022.png and /dev/null differ
SDK/ESP-SDK/esp-idf-vscode/install/13-52-15-19-12-2022.png
... ...
Binary files a/SDK/ESP-SDK/esp-idf-vscode/install/13-52-15-19-12-2022.png and /dev/null differ
SDK/ESP-SDK/esp-idf-vscode/install/41-25-15-19-12-2022.png
... ...
Binary files a/SDK/ESP-SDK/esp-idf-vscode/install/41-25-15-19-12-2022.png and /dev/null differ
SDK/ESP-SDK/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-SDK/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-SDK/esp-idf/esp-idf.md
... ...
@@ -1,57 +0,0 @@
1
-
2
-
3
-# ESP IDF
4
-
5
-- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c2/index.html
6
-
7
-- https://github.com/espressif/esp-idf
8
-
9
-
10
-- https://idf.espressif.com/
11
-
12
-
13
-
14
-### windows-setup
15
-- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/windows-setup.html
16
-
17
-
18
-### Standard Toolchain Setup for Linux and macOS
19
-- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/linux-macos-setup.html
20
-
21
-### vs-code extension
22
-- https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md
23
-
24
-
25
-### offline installer
26
-https://dl.espressif.cn/dl/esp-idf/
27
-
28
-
29
-ESP32-C3
30
-
31
-
32
-- install [[vs-cpp]]
33
-
34
-
35
-Download an archive with submodules included
36
-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.
37
-
38
-This archive can also be downloaded from Espressif's download server:
39
-https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.0/esp-idf-v5.0.zip
40
-
41
-
42
-### installer
43
-
44
-
45
-Espressif-IDE
46
-
47
-ESP-IDF
48
-
49
-install.bat
50
-Selected targets are: esp32c3, esp32c2, esp32, esp32s3, esp32h2, esp32s2
51
-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
52
-
53
-C:\Users\Administrator\.espressif
54
-
55
-
56
-Setting up Python environment
57
-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
... ...
@@ -1,3 +0,0 @@
1
-
2
-
3
-- CONFIG_ESPTOOLPY_MONITOR_BAUD=74880
... ...
\ No newline at end of file
SDK/ESP-SDK/esptool/esptool-log.md
... ...
@@ -1,34 +0,0 @@
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
... ...
@@ -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-SDK/flash-download-tool/11-51-17-17-04-2023.png
... ...
Binary files a/SDK/ESP-SDK/flash-download-tool/11-51-17-17-04-2023.png and /dev/null differ
SDK/ESP-SDK/flash-download-tool/32-02-18-06-02-2023.png
... ...
Binary files a/SDK/ESP-SDK/flash-download-tool/32-02-18-06-02-2023.png and /dev/null differ
SDK/ESP-SDK/flash-download-tool/36-05-18-06-02-2023.png
... ...
Binary files a/SDK/ESP-SDK/flash-download-tool/36-05-18-06-02-2023.png and /dev/null differ
SDK/ESP-SDK/flash-download-tool/56-04-18-06-02-2023.png
... ...
Binary files a/SDK/ESP-SDK/flash-download-tool/56-04-18-06-02-2023.png and /dev/null differ
SDK/ESP-SDK/flash-download-tool/flash-download-tool-3.pdf
... ...
Binary files a/SDK/ESP-SDK/flash-download-tool/flash-download-tool-3.pdf and /dev/null differ
SDK/ESP-SDK/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/USB-TTL-dat/USB-TTL-dat.md
... ...
@@ -57,7 +57,7 @@ Booting Mode select
57 57
## ref
58 58
software [[com-monitor-dat]]
59 59
60
-- [[ESP-SDK]]
60
+- [[ESP-SDK-dat]]
61 61
62 62
63 63
## other interface
Tech/tech-dat.md
... ...
@@ -12,7 +12,7 @@
12 12
## PROG
13 13
14 14
## SDK
15
-- [[arduino-IDE-DAT]] - [[ESP-SDK]]
15
+- [[arduino-IDE-DAT]] - [[ESP-SDK-dat]]
16 16
17 17
18 18
## Tools
chip-cn/Espressif/ESP32/ESP32-C3/ESP32-C3-DAT.md
... ...
@@ -7,7 +7,7 @@
7 7
- RAM:400KB
8 8
- QFN32_5x5
9 9
10
-- [[ESP-SDK]]
10
+- [[ESP-SDK-dat]]
11 11
12 12
DS
13 13
https://www.espressif.com.cn/sites/default/files/documentation/esp32-c3_datasheet_en.pdf
chip-cn/Espressif/ESP32/ESP32-DAT.md
... ...
@@ -2,12 +2,12 @@
2 2
3 3
# ESP32
4 4
5
-- [[ESP-SDK]]
5
+- [[ESP-SDK-dat]]
6 6
7 7
8 8
## ref
9 9
10
-- [[ESP-SDK]] - [[arduino-ESP32-dat]]
10
+- [[ESP-SDK-dat]] - [[arduino-ESP32-dat]]
11 11
12 12
- [[ESP32-FAQ]]
13 13
chip-cn/Espressif/ESP32/ESP32-\302\255C3-\302\255WROOM\302\255-2-DAT/ESP32-\302\255C3-\302\255WROOM-\302\2552-DAT.md
... ...
@@ -34,5 +34,5 @@ page 24.
34 34
35 35
## ref
36 36
37
-- [[ESP32-C3]] - [[ESP-SDK]] - [[ESP32-DAT]]
37
+- [[ESP32-C3]] - [[ESP-SDK-dat]] - [[ESP32-DAT]]
38 38