Hello
i can’t fix the parameters of a lolin S3 mini pro !
i use
[env:lolin_s3_mini]
platform = espressif32
board = lolin_s3
framework = arduino
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
Writing at 0x000c3b0f… (96 %)
Writing at 0x000c98c9… (100 %)
Wrote 763312 bytes (493698 compressed) at 0x00010000 in 6.8 seconds (effective
894.5 kbit/s)…
A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, ‘Le périphérique ne reconnaît pas la commande.’, None, 22)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool.py latest documentation
*** [upload] Error 1
i begin with lolin_s3_mini but as i have pb i try with lolin_s3.
but the pb is the same.
my log
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/lolin_s3.html
PLATFORM: Espressif 32 (6.9.0) > WEMOS LOLIN S3
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h,
olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- tool-mkfatfs @ 2.0.1
- tool-mklittlefs @ 1.203.210628 (2.3)
- tool-mkspiffs @ 2.230.0 (2.30)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 40 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Adafruit GFX Library @ 1.12.1
|-- Adafruit ST7735 and ST7789 Library @ 1.11.0
|-- Adafruit NeoPixel @ 1.13.0
|-- arduino-timer @ 3.0.1
|-- ArduinoJson @ 7.4.1
|-- ESPmDNS @ 2.0.0
|-- HTTPClient @ 2.0.0
|-- LittleFS @ 2.0.0
|-- SPI @ 2.0.0
|-- WiFi @ 2.0.0
|-- Wire @ 2.0.0
Building in release mode
Retrieving maximum program size .pio\build\lolin_s3_mini\firmware.elf
Checking size .pio\build\lolin_s3_mini\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 13.8% (used 45216 bytes from 327680 bytes)
Flash: [= ] 11.6% (used 762941 bytes from 6553600 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: COM31
Uploading .pio\build\lolin_s3_mini\firmware.bin
esptool.py v4.5.1
Serial port COM31
Connecting...
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f0:f5:bd:76:1e:c4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000cafff...
Compressed 15104 bytes to 10429...
Writing at 0x00000000... (100 %)
Wrote 15104 bytes (10429 compressed) at 0x00000000 in 0.3 seconds (effective 423.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 409.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 584.2
kbit/s)...
Hash of data verified.
Compressed 763312 bytes to 493698...
Writing at 0x00010000... (3 %)
Writing at 0x0001b645... (6 %)
Writing at 0x00025db9... (9 %)
Writing at 0x00033025... (12 %)
Writing at 0x000389cd... (16 %)
Writing at 0x0003e73f... (19 %)
Writing at 0x00043c15... (22 %)
Writing at 0x000490aa... (25 %)
Writing at 0x0004e18a... (29 %)
Writing at 0x00052f57... (32 %)
Writing at 0x00057f1d... (35 %)
Writing at 0x0005cd4f... (38 %)
Writing at 0x00061c89... (41 %)
Writing at 0x0006708f... (45 %)
Writing at 0x0006c1b4... (48 %)
Writing at 0x00071e66... (51 %)
Writing at 0x00076e97... (54 %)
Writing at 0x0007bdd1... (58 %)
Writing at 0x00080ee7... (61 %)
Writing at 0x000860c0... (64 %)
Writing at 0x0008b57a... (67 %)
Writing at 0x000908fe... (70 %)
Writing at 0x000967a4... (74 %)
Writing at 0x0009bccb... (77 %)
Writing at 0x000a1669... (80 %)
Writing at 0x000a9ba5... (83 %)
Writing at 0x000b2479... (87 %)
Writing at 0x000b7981... (90 %)
Writing at 0x000be1d5... (93 %)
Writing at 0x000c3b0f... (96 %)
Writing at 0x000c98c9... (100 %)
Wrote 763312 bytes (493698 compressed) at 0x00010000 in 6.8 seconds (effective
894.5 kbit/s)...
A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Le périphérique ne reconnaît pas la commande.', None, 22)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit:
*** [upload] Error 1
========================= [FAILED] Took 30.11 seconds =========================
* Arrêt du processus de terminal "C:\Users\annie\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload', '--target', 'monitor', '--environment', 'lolin_s3_mini'". Code de sortie : 1.
* Le terminal sera réutilisé par les tâches, appuyez sur une touche pour le fermer.
It seems you’re using the “Upload an Monitor” button and Auto detecting the COM Port. You’re also using the ESP32-S3’s builtin USB port, which will disconnect when the MCU restarts. You’ll probably have different ports for Uploading and Serial monitoring.
Please reset your board manually after uploading and check the available COM Port.
You also should update to the latest official platform32 version which is 6.10.0 (platform = espressif32 @ 6.10.0) or better to the latest available version of Espressif Arduino 3.2.0 by using pioarduino:
i have a lolin s3 mini pro but i don’t find it. so i use s3_mini.
ok it’s compile and upload with the command “upload”. i reset the board and when i want to monitor, i have this message. the code don’t works