Skip to content

Instantly share code, notes, and snippets.

@pitpit
Created December 9, 2024 23:58
Show Gist options
  • Save pitpit/778a951c1119d220574d2cd4d8cdb981 to your computer and use it in GitHub Desktop.
Save pitpit/778a951c1119d220574d2cd4d8cdb981 to your computer and use it in GitHub Desktop.
mistakenly uploading via USB on Kublet
* Executing task: platformio run --target upload --environment esp32dev
Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.9.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, 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.0 (2.0.17)
- 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-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 37 compatible libraries
Scanning dependencies...
Dependency Graph
|-- TFT_eSPI @ 2.5.43
|-- KGFX @ 0.0.22
|-- OTAServer @ 1.0.4
|-- ArduinoJson @ 7.2.1
|-- HTTPClient @ 2.0.0
|-- Preferences @ 2.0.0
Building in release mode
Retrieving maximum program size .pio/build/esp32dev/firmware.elf
Checking size .pio/build/esp32dev/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [== ] 15.7% (used 51508 bytes from 327680 bytes)
Flash: [======== ] 81.2% (used 1064449 bytes from 1310720 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, 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...
Using manually specified: /dev/ttyUSB0
Uploading .pio/build/esp32dev/firmware.bin
esptool.py v4.5.1
Serial port /dev/ttyUSB0
Connecting.........
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:c9:a3:dc:04:b8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00115fff...
Compressed 17536 bytes to 12202...
Writing at 0x00001000... (100 %)
Wrote 17536 bytes (12202 compressed) at 0x00001000 in 0.7 seconds (effective 200.3 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 300.7 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.2 seconds (effective 432.7 kbit/s)...
Hash of data verified.
Compressed 1071024 bytes to 687095...
Writing at 0x00010000... (2 %)
Writing at 0x0001807a... (4 %)
Writing at 0x000240f4... (7 %)
Writing at 0x0002e36f... (9 %)
Writing at 0x0003acbe... (11 %)
Writing at 0x00044593... (14 %)
Writing at 0x00049b96... (16 %)
Writing at 0x0004f54d... (19 %)
Writing at 0x00054f2e... (21 %)
Writing at 0x0005a260... (23 %)
Writing at 0x0005fb69... (26 %)
Writing at 0x00064d8c... (28 %)
Writing at 0x00069f26... (30 %)
Writing at 0x0006f258... (33 %)
Writing at 0x0007460e... (35 %)
Writing at 0x000798e8... (38 %)
Writing at 0x0007edc5... (40 %)
Writing at 0x00083ff4... (42 %)
Writing at 0x00089262... (45 %)
Writing at 0x0008e246... (47 %)
Writing at 0x00093efd... (50 %)
Writing at 0x00099522... (52 %)
Writing at 0x0009ea03... (54 %)
Writing at 0x000a3e32... (57 %)
Writing at 0x000a9054... (59 %)
Writing at 0x000ae51a... (61 %)
Writing at 0x000b391e... (64 %)
Writing at 0x000b8f1a... (66 %)
Writing at 0x000be748... (69 %)
Writing at 0x000c466e... (71 %)
Writing at 0x000c9eea... (73 %)
Writing at 0x000cf758... (76 %)
Writing at 0x000d5512... (78 %)
Writing at 0x000da711... (80 %)
Writing at 0x000e0a36... (83 %)
Writing at 0x000e9207... (85 %)
Writing at 0x000f122b... (88 %)
Writing at 0x000f62e6... (90 %)
Writing at 0x000ffda7... (92 %)
Writing at 0x001058a4... (95 %)
Writing at 0x0010ae37... (97 %)
Writing at 0x00110104... (100 %)
Wrote 1071024 bytes (687095 compressed) at 0x00010000 in 17.9 seconds (effective 478.9 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
================================================================================== [SUCCESS] Took 25.60 seconds ==================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment