9ff44040e7d2d90637d151f02c48160140d97c5a
Chip-cn-dat/allwinner-dat/F133-dat/2025-07-26-12-23-54.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F133-dat/2025-07-26-12-23-54.png differ |
Chip-cn-dat/allwinner-dat/F133-dat/F133-dat.md
| ... | ... | @@ -24,6 +24,11 @@ Allwinner D1s (also known as F133) is based on a RISC-V core, and is a cheaper v |
| 24 | 24 | |
| 25 | 25 | https://d1s.docs.aw-ol.com/ |
| 26 | 26 | |
| 27 | + |
|
| 28 | +## flash |
|
| 29 | + |
|
| 30 | + |
|
| 31 | + |
|
| 27 | 32 | ## version |
| 28 | 33 | |
| 29 | 34 | - F133-A == TQFP-128-EP(14x14) |
SDK-dat/ESP-SDK-dat/ESP-SDK-dat.md
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | |
| 7 | 7 | - [[ESP-dat]] - [[ESP32-SDK-dat]] - [[ESP8266-SDK-dat]] |
| 8 | 8 | |
| 9 | - |
|
| 9 | +- [[SPIFFS-dat]] |
|
| 10 | 10 | |
| 11 | 11 | |
| 12 | 12 | ## Official SDK |
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | |
| 24 | 24 | - arduino firmware - https://github.com/Edragon/esp_firmware |
| 25 | 25 | |
| 26 | -## Firmware |
|
| 26 | +## Firmware and APPs |
|
| 27 | 27 | |
| 28 | 28 | - [[ESPHome-dat]] - [[tasmota-dat]] |
| 29 | 29 |
SDK-dat/ESP-SDK-dat/ESP32-SDK-dat/ESP32-SDK-dat.md
| ... | ... | @@ -1,14 +1,14 @@ |
| 1 | - |
|
| 2 | 1 | # ESP32-SDK-dat |
| 3 | 2 | |
| 4 | 3 | |
| 5 | 4 | |
| 6 | 5 | - [[esp-idf-dat]] - [[ESP-dat]] |
| 7 | 6 | |
| 8 | -- [[flash-download-tool-dat]] |
|
| 7 | +- [[flash-download-tool-dat]] - [[esptool-dat]] |
|
| 9 | 8 | |
| 10 | 9 | - [[ESP32-debug-log-dat]] |
| 11 | 10 | |
| 11 | +- [[SPIFFS-dat]] |
|
| 12 | 12 | |
| 13 | 13 | ## other reference |
| 14 | 14 |
SDK-dat/ESP-SDK-dat/SPIFFS-dat/SPIFFS-dat.md
| ... | ... | @@ -0,0 +1,70 @@ |
| 1 | + |
|
| 2 | +# SPIFFS-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +## file system arduino ide |
|
| 6 | + |
|
| 7 | +- [[arduino-ide-dat]] |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +the most simple solution is to use Arduino IDE 1.x when you need to upload a filesystem to your ESP32 board. The download links for Arduino IDE 1.x are listed here: |
|
| 11 | + |
|
| 12 | +https://www.arduino.cc/en/software#legacy-ide-18x |
|
| 13 | + |
|
| 14 | +https://github.com/me-no-dev/arduino-esp32fs-plugin |
|
| 15 | + |
|
| 16 | +It does these things using two command line tools: |
|
| 17 | + |
|
| 18 | +- [mkspiffs](https://github.com/igrr/mkspiffs) |
|
| 19 | +- [[esptool-dat]] |
|
| 20 | + |
|
| 21 | + |
|
| 22 | +### arduino-littlefs-upload |
|
| 23 | + |
|
| 24 | +and more spiffs support (new) |
|
| 25 | + |
|
| 26 | +https://github.com/earlephilhower/arduino-littlefs-upload |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +### ESP32FS |
|
| 30 | + |
|
| 31 | +https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/ |
|
| 32 | + |
|
| 33 | +Go to the sketchbook location, and create a tools folder. |
|
| 34 | + |
|
| 35 | +4) Unzip the downloaded .zip folder. Open it and copy the ESP32FS folder to the tools folder you created in the previous step. You should have a similar folder structure: |
|
| 36 | + |
|
| 37 | +<Sketchbook-location>/tools/ESP32FS/tool/esp32fs.jar |
|
| 38 | + |
|
| 39 | +### SPIFFS Download |
|
| 40 | + |
|
| 41 | +Here are the most common methods to download files from SPIFFS on ESP32: |
|
| 42 | + |
|
| 43 | +#### 1. Using a Web Server (Recommended) |
|
| 44 | +- Run a web server on your ESP32 and access files via your browser. |
|
| 45 | +- **ESPAsyncWebServer Library**: Popular for asynchronous web servers. |
|
| 46 | +- **Example Sketches**: "FSBrowser" (File → Examples → WebServer) demonstrates serving/downloading files from SPIFFS. |
|
| 47 | +- **File Manager Libraries**: ESPFMfGK offers drag-and-drop web interfaces for SPIFFS management. |
|
| 48 | + |
|
| 49 | +**Steps:** |
|
| 50 | +1. Set up ESP32 as Wi-Fi Access Point or connect to your network. |
|
| 51 | +2. Upload a sketch with a web server to ESP32 (serves SPIFFS files). |
|
| 52 | +3. Open your browser and go to ESP32's IP address. |
|
| 53 | +4. Download files directly from the web interface. |
|
| 54 | + |
|
| 55 | +#### 2. Using a Dedicated File System Downloader |
|
| 56 | +- Projects like [`maxgerhardt/pio-esp32-esp8266-filesystem-downloader`](https://github.com/maxgerhardt/pio-esp32-esp8266-filesystem-downloader) let you download the entire SPIFFS image over serial. |
|
| 57 | +- Useful for debugging and backup. |
|
| 58 | + |
|
| 59 | +#### 3. Accessing Files via Serial Port (Text/Debug) |
|
| 60 | +- Read SPIFFS file contents and print to Serial Monitor. |
|
| 61 | +- Good for debugging or small text files. |
|
| 62 | +- Open Serial Monitor in Arduino IDE or other terminal to view output. |
|
| 63 | + |
|
| 64 | +#### 4. Third-Party Tools (ESP-IDF) |
|
| 65 | +- Tools like [`octopus-framework/spiffs-dumper`](https://github.com/octopus-framework/spiffs-dumper) can extract files from SPIFFS partitions using ESP-IDF. |
|
| 66 | +- Useful if you prefer not to use web servers or need offline access. |
|
| 67 | + |
|
| 68 | +## ref |
|
| 69 | + |
|
| 70 | +- [[SDK-dat]] - [[ESP-SDK-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/ESP-SDK-dat/esptool-dat/esptool-dat.md
| ... | ... | @@ -5,6 +5,8 @@ |
| 5 | 5 | |
| 6 | 6 | - [[python-dat]] |
| 7 | 7 | |
| 8 | +https://github.com/espressif/esptool |
|
| 9 | + |
|
| 8 | 10 | |
| 9 | 11 | ## install python 3 |
| 10 | 12 |
SDK-dat/arduino-dat/Arduino-IDE-DAT/2025-07-26-12-05-03.png
| ... | ... | Binary files /dev/null and b/SDK-dat/arduino-dat/Arduino-IDE-DAT/2025-07-26-12-05-03.png differ |
SDK-dat/arduino-dat/Arduino-IDE-DAT/2025-07-26-12-12-24.png
| ... | ... | Binary files /dev/null and b/SDK-dat/arduino-dat/Arduino-IDE-DAT/2025-07-26-12-12-24.png differ |
SDK-dat/arduino-dat/Arduino-IDE-DAT/arduino-IDE-DAT.md
| ... | ... | @@ -5,6 +5,9 @@ |
| 5 | 5 | |
| 6 | 6 | - [[arduino-lib-dat]] |
| 7 | 7 | |
| 8 | +https://github.com/arduino/arduino-ide |
|
| 9 | + |
|
| 10 | + |
|
| 8 | 11 | ## Library list |
| 9 | 12 | |
| 10 | 13 | multi-task |
| ... | ... | @@ -86,6 +89,67 @@ Open Command Prompt as Administrator and run: mklink /D "%LOCALAPPDATA%\Arduino1 |
| 86 | 89 | |
| 87 | 90 | - [[avrdude-dat]] |
| 88 | 91 | |
| 92 | +## arduino IDE 2.x |
|
| 93 | + |
|
| 94 | +compare to arduino version 1.x |
|
| 95 | + |
|
| 96 | + |
|
| 97 | + |
|
| 98 | + |
|
| 99 | + |
|
| 100 | + |
|
| 101 | +### LittleFS |
|
| 102 | + |
|
| 103 | +LittleFS is a lightweight filesystem created for microcontrollers that lets you access the flash memory as you do in a standard file system on your computer, but it’s simpler and more limited. You can read, write, close, and delete files. Using LittleFS with the ESP32 boards is useful to: |
|
| 104 | + |
|
| 105 | +- Create configuration files with settings; |
|
| 106 | +- Save data permanently; |
|
| 107 | +- Create files to save small amounts of data instead of using a microSD card; |
|
| 108 | +- Save HTML, CSS, and JavaScript files to build a web server; |
|
| 109 | +- Save images, figures, and icons; |
|
| 110 | +- And much more. |
|
| 111 | + |
|
| 112 | +download from release https://github.com/earlephilhower/arduino-littlefs-upload/releases |
|
| 113 | + |
|
| 114 | + |
|
| 115 | +On your computer, go to the following path: C:\Users\<username>\.arduinoIDE\. Create a new folder called **plugins** if you haven’t already. |
|
| 116 | + |
|
| 117 | +C:\Users\Administrator\.arduinoIDE\plugins\arduino-littlefs-upload-1.5.4.vsix |
|
| 118 | + |
|
| 119 | +Move the .vsix file you downloaded previously to the plugins folder (remove any other previous versions of the same plugin if that’s the case). |
|
| 120 | + |
|
| 121 | + |
|
| 122 | + |
|
| 123 | + |
|
| 124 | +test code |
|
| 125 | + |
|
| 126 | + #include "LittleFS.h" |
|
| 127 | + |
|
| 128 | + void setup() { |
|
| 129 | + Serial.begin(115200); |
|
| 130 | + |
|
| 131 | + if(!LittleFS.begin()){ |
|
| 132 | + Serial.println("An Error has occurred while mounting LittleFS"); |
|
| 133 | + return; |
|
| 134 | + } |
|
| 135 | + |
|
| 136 | + File file = LittleFS.open("/test_example.txt", "r"); |
|
| 137 | + if(!file){ |
|
| 138 | + Serial.println("Failed to open file for reading"); |
|
| 139 | + return; |
|
| 140 | + } |
|
| 141 | + |
|
| 142 | + Serial.println("File Content:"); |
|
| 143 | + while(file.available()){ |
|
| 144 | + Serial.write(file.read()); |
|
| 145 | + } |
|
| 146 | + file.close(); |
|
| 147 | + } |
|
| 148 | + |
|
| 149 | + void loop() { |
|
| 150 | + |
|
| 151 | + } |
|
| 152 | + |
|
| 89 | 153 | ## ref |
| 90 | 154 | |
| 91 | 155 |
Tech-dat/tech-dat.md
| ... | ... | @@ -36,6 +36,23 @@ |
| 36 | 36 | |
| 37 | 37 | ## Category |
| 38 | 38 | |
| 39 | + |
|
| 40 | + |
|
| 41 | +## Code and SDK |
|
| 42 | + |
|
| 43 | +- [[arduino-ide-dat]] |
|
| 44 | + |
|
| 45 | +- [[logic-dat]] |
|
| 46 | + |
|
| 47 | +- [[ESP-SDK-dat]] - [[esp32-sdk-dat]] - [[esp8266-sdk-dat]] |
|
| 48 | + |
|
| 49 | +- [[STM32-SDK-dat]] |
|
| 50 | + |
|
| 51 | +- [[MDK-ARM-dat]] |
|
| 52 | + |
|
| 53 | +- [[SDK-dat]] |
|
| 54 | + |
|
| 55 | + |
|
| 39 | 56 | ## network |
| 40 | 57 | |
| 41 | 58 | - [[network-dat]] - [[location-dat]] |
| ... | ... | @@ -121,19 +138,6 @@ |
| 121 | 138 | |
| 122 | 139 | - [[protection-dat]] |
| 123 | 140 | |
| 124 | -## Code and SDK |
|
| 125 | - |
|
| 126 | -- [[arduino-ide-dat]] |
|
| 127 | - |
|
| 128 | -- [[logic-dat]] |
|
| 129 | - |
|
| 130 | -- [[ESP-SDK-dat]] |
|
| 131 | - |
|
| 132 | -- [[STM32-SDK-dat]] |
|
| 133 | - |
|
| 134 | -- [[MDK-ARM-dat]] |
|
| 135 | - |
|
| 136 | -- [[SDK-dat]] |
|
| 137 | 141 | |
| 138 | 142 | ## PROG |
| 139 | 143 |