c69ec2719c8db6c974de6aa526c3ec4f07692b00
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-SDK-dat/ESP32-S3-SDK-dat.md
| ... | ... | @@ -30,8 +30,57 @@ REPL is on the USB-OTG connector. |
| 30 | 30 | |
| 31 | 31 | ## features |
| 32 | 32 | |
| 33 | -- [[USB-MSC-dat]] - [[USB-MTP-dat]] - [[USB-dat]] - [[USB-OTG-dat]] |
|
| 33 | +- [] [[USB-MSC-dat]] |
|
| 34 | +- [] [[USB-MTP-dat]] |
|
| 34 | 35 | |
| 36 | +- [[USB-dat]] - [[USB-OTG-dat]] - [[tinyUSB-dat]] |
|
| 37 | + |
|
| 38 | +- [[zigbee-dat]] |
|
| 39 | + |
|
| 40 | +- [[ESP32-USB-dat]] |
|
| 41 | + |
|
| 42 | + |
|
| 43 | + |
|
| 44 | + |
|
| 45 | + |
|
| 46 | +## ESP32-S3 |
|
| 47 | + |
|
| 48 | + |
|
| 49 | +### USB CDC On Boot |
|
| 50 | + |
|
| 51 | +The chip exposes a USB CDC (virtual COM) at boot via the ROM “USB Serial/JTAG” peripheral. You get serial console logs and can flash with |
|
| 52 | + |
|
| 53 | +- [] enable |
|
| 54 | +- [] disable |
|
| 55 | + |
|
| 56 | +### USB DFU On Boot |
|
| 57 | + |
|
| 58 | +The firmware enumerates as USB DFU class at boot (TinyUSB). You can update the app with dfu-util. Not the ROM bootloader. |
|
| 59 | + |
|
| 60 | +- [] enable |
|
| 61 | +- [] disable |
|
| 62 | + |
|
| 63 | +Short answer: “App” means your firmware application image (factory/OTA slot like ota_0/ota_1), not the ROM bootloader. |
|
| 64 | + |
|
| 65 | +- USB DFU on ESP32‑S3 is provided by your running app via TinyUSB. |
|
| 66 | +- dfu-util updates the application partition(s) that your app exposes (factory or OTA slots). |
|
| 67 | +- It does not use or update the ROM bootloader (immutable) and typically not the ESP‑IDF second‑stage bootloader in flash unless you explicitly implement that. |
|
| 68 | +- To flash bootloader/partition table, use esptool via UART0 or USB Serial/JTAG (ROM downloader). |
|
| 69 | + |
|
| 70 | +### USB Firmware MSC On Boot: |
|
| 71 | + |
|
| 72 | +- [] Disabled |
|
| 73 | +- [] Enabled (Requires USB-OTG Mode) |
|
| 74 | + |
|
| 75 | +### USB Mode |
|
| 76 | + |
|
| 77 | +- [] Hardware CDC and JTAG - Uses the ROM “USB Serial/JTAG” composite device. Provides CDC (console/flashing) and JTAG debugging over the same USB. Lightweight, but limited to CDC+JTAG only. |
|
| 78 | +- [] USB-OTG (TinyUSB) - Runs the full TinyUSB stack. Lets you expose CDC, MSC, MTP, HID, etc., or act as USB host. Incompatible with USB Serial/JTAG while active (no JTAG-over-USB). |
|
| 79 | + |
|
| 80 | +### Upload Mode |
|
| 81 | + |
|
| 82 | +- [] UARTO / Hardware CDC - Official ROM download channels for esptool (UART0 pins or USB Serial/JTAG). Reliable for flashing and logs. |
|
| 83 | +- [] USB-OTG CDC (TinyUSB) - App‑level CDC provided by TinyUSB. Good for REPL/console, but not for ROM flashing with esptool unless your app explicitly reboots to the ROM downloader. |
|
| 35 | 84 | |
| 36 | 85 | |
| 37 | 86 | |
| ... | ... | @@ -43,6 +92,14 @@ REPL is on the USB-OTG connector. |
| 43 | 92 | MicroPython v1.25.0 on 2025-04-15; Generic ESP32S3 module with ESP32S3 |
| 44 | 93 | |
| 45 | 94 | |
| 95 | + |
|
| 96 | + |
|
| 97 | +## board |
|
| 98 | + |
|
| 99 | +- [[NWI1126-dat]] |
|
| 100 | + |
|
| 46 | 101 | ## ref |
| 47 | 102 | |
| 48 | -- [[ESP32-S3-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[ESP32-S3-dat]] |
|
| 1 | + |
|
| 2 | +- [[ESP32-S3]] - [[ESP32-S3-SDK]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-HDK-dat/ESP32-USB-dat/ESP32-USB-dat.md
| ... | ... | @@ -10,6 +10,7 @@ |
| 10 | 10 | |
| 11 | 11 | |
| 12 | 12 | ## Arduino Code tested with [[ESP32-C3-WROOM-02-DAT]] |
| 13 | + |
|
| 13 | 14 | - not working |
| 14 | 15 | - maybe hardware problem, or code problem, or need further test |
| 15 | 16 | - consider it is not working if you buy. |
| ... | ... | @@ -17,9 +18,15 @@ |
| 17 | 18 | |
| 18 | 19 | |
| 19 | 20 | ## Arduino Code tested with [[ESP32-S2]] |
| 21 | + |
|
| 22 | + |
|
| 20 | 23 | - working |
| 21 | 24 | |
| 22 | 25 | |
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 23 | 30 | ## Boards |
| 24 | 31 | |
| 25 | 32 | - [[NWI1119-DAT]] |
Tech-dat/Interface-dat/USB-dat/USB-MSC-dat/USB-MSC-dat.md
| ... | ... | @@ -5,16 +5,6 @@ |
| 5 | 5 | - USB Mass Storage Class (MSC) for SPIFFS/LittleFS |
| 6 | 6 | |
| 7 | 7 | |
| 8 | -## ESP32-S3 |
|
| 9 | - |
|
| 10 | -USB Mode |
|
| 11 | - |
|
| 12 | -- Hardware CDC and JTAG |
|
| 13 | -- USB-OTG (TinyUSB) |
|
| 14 | - |
|
| 15 | -Upload Mode |
|
| 16 | -- UARTO / Hardware CDC |
|
| 17 | -- USB-OTG CDC (TinyUSB) |
|
| 18 | 8 | |
| 19 | 9 | |
| 20 | 10 | ## portable devices |
Tech-dat/Interface-dat/USB-dat/USB-MTP-dat/USB-MTP-dat.md
| ... | ... | @@ -1,6 +1,10 @@ |
| 1 | 1 | |
| 2 | 2 | # USB-MTP-dat |
| 3 | 3 | |
| 4 | + |
|
| 5 | + |
|
| 6 | + |
|
| 7 | + |
|
| 4 | 8 | ## What is MTP? |
| 5 | 9 | - **MTP (Media Transfer Protocol)** is a USB class protocol. |
| 6 | 10 | - Lets a PC (Windows/macOS/Linux) access ESP32 files (SPIFFS, LittleFS, SD card). |
| ... | ... | @@ -24,7 +28,12 @@ |
| 24 | 28 | - Compatible with Windows Explorer, macOS Finder, Linux file managers. |
| 25 | 29 | - ESP32 firmware stays in control of FS. |
| 26 | 30 | |
| 31 | +## ESP32-S3 Core and MTP Support Availability |
|
| 27 | 32 | |
| 33 | +- **ESP-IDF**: MTP is supported via TinyUSB component. |
|
| 34 | +- **Arduino-ESP32 core (v2.0.5 and newer)**: Includes MTP classes (`MTP.h`). |
|
| 35 | +- Works on **ESP32-S2** and **ESP32-S3** (chips with native USB OTG). |
|
| 36 | +- Not supported on original ESP32 or ESP32-C3 (no native USB device). |
|
| 28 | 37 | |
| 29 | 38 | |
| 30 | 39 | ## ref |
Tech-dat/Interface-dat/USB-dat/tinyUSB-dat/tinyUSB-dat.md
| ... | ... | @@ -0,0 +1,13 @@ |
| 1 | + |
|
| 2 | +# tinyUSB-dat |
|
| 3 | + |
|
| 4 | +Adafruit TinyUSB Library by Adafruit |
|
| 5 | + |
|
| 6 | +https://github.com/adafruit/Adafruit_TinyUSB_Arduino |
|
| 7 | + |
|
| 8 | +https://github.com/hathach/tinyusb |
|
| 9 | + |
|
| 10 | +https://github.com/chegewara/esp32-usb-v2 |
|
| 11 | + |
|
| 12 | +https://github.com/chegewara/EspTinyUSB |
|
| 13 | + |