logo elektroda
logo elektroda
X
logo elektroda

ESPConnect - a convenient tool for ESP8266/ESP32 in the browser - flash, partitions, information

p.kaczmarek2 2400 14
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • ESPConnect interface displaying ESP32-S3 microcontroller and Flash memory info
    ESPConnect is an advanced tool for managing ESP family microcontrollers without having to install desktop applications. It allows you to read and upload the contents of the chip's Flash memory. It allows you to view detailed device information such as chip family, MAC, Flash size and clocking. It also has an extensive file system manager (SPIFFS, LittleFS and FATFS) with file viewing, writing and reading. ESPConnect offers a graphical representation of the Flash partition layout and tools for backing up or restoring them.

    Let's test this tool with ESP32-S3-Touch-LCD-4.3 .
    Connect the board to the computer, open the tool window . The serial port is selected. You don't need to load anything on the ESP32 - the program shown reads everything from outside via the virtual serial port. This works analogously to esptool.
    Serial port selection window with USB Single Serial (COM45) highlighted
    Immediately everything becomes clear - we see information about the CPU itself, the size of the Flash memory, the capabilities of the chip, the size of the external PSRAM bone and even the Flash ID.
    ESPConnect screenshot showing ESP32-S3 chip details, flash, and PSRAM info
    Similarly, we have information about Flash security and the USB-UART connection:
    ESPConnect interface showing Security and Connection panel with device protection details
    In the Partitions tab we have the partitions from the Flash format:
    ESP32 Flash partition layout with visual map and detailed partition table
    In the App tab we have information about the program, how it was compiled, etc:
    View of two OTA slots in ESPConnect showing app details and firmware version
    SPIFFS allows you to manage the file system on your device. The whole idea is that we have to back up all the memory first, so we are unlikely to lose anything, even if we mess something up.
    SPIFFS loading window with a progress bar for reading flash memory data
    In Flash Tools we have the usual firmware write and read operations:
    ESPConnect interface with flash backup, erase, and firmware flashing options
    Serial monitor is simply a serial port console - RealTerm is no longer needed:
    ESPConnect screenshot showing ESP32-S3 boot data in Serial Monitor console
    The Session Log, on the other hand, tells us what the ESPConnect was doing - you can view there what was read, what went wrong, etc:
    Screenshot of ESPConnect's Session Log showing ESP32-S3 chip and flash memory information

    In summary, the tool looks very promising. The whole thing is very fresh, looking at GitHub it appeared about 3 weeks ago, but in my case it even has a chance to replace esptool. Everything in one place, convenient and accessible.
    And what is your opinion? Which tools for ESP do you use?

    Tool in question:
    https://thelastoutpostworkshop.github.io/microcontroller_devkit/espconnect/
    Project repository:
    https://github.com/thelastoutpostworkshop/ESPConnect

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 13916 posts with rating 11715, helped 629 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21783467
    bsw
    Level 21  
    1. Does not work with Firefox:
    This browser does not support the Web Serial API. Use Chrome, Edge, or another Chromium-based browser.

    2. Under Opera (Chromium-based):
    Processing error
    An error occurred while processing information from the device.
    Latest error: Unable to read undefined property (read 'productName')
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21783471
    p.kaczmarek2
    Moderator Smart Home
    Good idea to check it out. It doesn't work on Firefox for me either. On Edge it works:
    ESPConnect interface showing ESP32-S3 info and 921600 baud rate selected
    On my Opera it works:
    ESPConnect page in Opera browser showing ESP32-S3 device info and connection controls
    On WaterFox: This browser does not support the Web Serial API. Use Chrome, Edge, or another Chromium-based browser.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 21783484
    p.kaczmarek2
    Moderator Smart Home
    My Opera is version 124.0.5705.42 on Windows 10.
    Helpful post? Buy me a coffee.
  • #6 21783488
    bsw
    Level 21  
    My Opera: 122.0.5643.24 but offers me an update to: 125.0.5729.21. I'll check at my leisure but I'm not promising myself much....
    These problems concern the ESP32 S3 (with USB-OTG).
    I connected the ESP8266 and here it worked without a miss:
    ESPConnect interface showing ESP8266EX data with 4MB flash and WiFi connection
    Helpful post? Buy me a coffee.
  • #8 21783495
    p.kaczmarek2
    Moderator Smart Home
    Interesting, I added this add-on to Firefox and now when opening the UART port the browser suggests me to download some exe....
    WebSerial add-on error message in Firefox suggesting download of .exe application
    I took a chance, installed and:
    Error message after failed UART connection attempt with ESP32 board
    Something flawed this solution seems to be.


    And another thing is that the solution soliciting to install the exe looks weak. An attacker could also distribute malware this way.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #10 21783513
    p.kaczmarek2
    Moderator Smart Home
    This add-on downloads the exe from its page on GitHub, looks authentic, but still doesn't work. It's easier to fire up Chrome. But yes - I agree with the comment, I strongly advise against downloading anything suggested by add-ons .
    Helpful post? Buy me a coffee.
  • #11 21783536
    krzbor
    Level 28  
    Instead of downloading add-ons for FF it is better to use Chrome or Edge. There, UART support is built in.
  • #12 21783610
    androot
    VIP Meritorious for electroda.pl
    bsw wrote:
    Maybe it's an OS issue? I only use Debian...


    I Windows...
    Works...

    The description is quite laconic, it lacks even a linked video that explains everything, and it's available on Github. At first I thought it was a library for ESP32.
  • #13 21783808
    p.kaczmarek2
    Moderator Smart Home
    Thanks for pointing this out. Sometimes it's hard to look at something from a beginner's perspective. I have added sentences saying that the tool reads data through the UART (virtual COM port) and does not touch the hardware firmware (unless we want it to).

    For me tool = external program, library/firmware = something on ESP.

    I think I need to get familiar with this WebSerial, looks useful. Maybe some kind of tutorial for Arduino? I'll think about it.
    Helpful post? Buy me a coffee.
  • #14 21784232
    krzbor
    Level 28  
    p.kaczmarek2 wrote:
    I guess I need to get familiar with this WebSerial, it looks useful.

    Tasmota can be uploaded via WebSerial: Link . It's convenient because you don't have to install anything and you can always access the latest firmware.
  • #15 21784245
    p.kaczmarek2
    Moderator Smart Home
    Helpful post? Buy me a coffee.
📢 Listen (AI):
ADVERTISEMENT