๐Ÿค–Have you ever tried Chat.M5Stack.com before asking??๐Ÿ˜Ž

Subcategories

  • You can discuss ESPHome related issues here, share your yaml and projects.

    22 Topics
    35 Posts
    C
    Hi everyone, I am new here. hopefully i can get this dial working with my home assistant. I have a M5 stack dial that is a S3A. While installing this M5 do i need to do anything different than the S3? thanks in advance cue340
  • Squareline Studio and LVGL Discussion

    6 Topics
    19 Posts
    S
    @ไฟบใŒใ‚ฌใƒณใƒ€ใƒ ใ  said in LVGL performance problem: I applied LVGL on stickc-plus2๏ผŒwith TFT_eSPI's st7789v2 driver.But the refreshing rate is very low (while doing "load screen anim").I know stickc had good performance on drawing screen (by watching the video of M5stick T-Lite Thermal tutorial). And the LVGL also has a good performance through Dial-ESP32-S3 and Din-Meter demonstration video. So what is the reason of such low performance. Cound it be the TFT_eSPI library? Iโ€™ve seen similar issues on the StickC-Plus2. It could be due to TFT_eSPI settings, try increasing the SPI frequency or enabling DMA. Also, check your LVGL buffer config; full buffering helps with performance.
  • Discuss all things UIFlow here. Bugs, Improvements, Guides etc...

    1k Topics
    4k Posts
    anNnYm0usA
    Hi because of the recent firmware update for M5 burner they have dropped the atom ECHO support and now only support ATOM echo lite pls let me know if any of you have the old micropython firmware for the ATOM echo Thanks
  • M5Stack is programmable with the Arduino IDE. Here you can troubleshoot your issues and share Arduino code and libraries

    470 Topics
    2k Posts
    D
    Just to share what I have done to get the debugging start working. Setup Windows 11 Adruino IDE Version 2.3.9 M5Stack StickS3 Symptom when clicking the Start Debugging button, encounter error messages as follows: Waiting for gdb server to start...[2026-06-07T13:03:42.505Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions. "C:\\Users\\dandu\\AppData\\Local\\Arduino15\\packages\\m5stack\\tools\\openocd-esp32\\v0.12.0-esp32-20251215/bin/openocd" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "c:\\Users\\dandu\\Documents\\M5Stack\\StickS3\\Pong" -f "C:/Program Files/Arduino IDE/resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl" -f board/esp32s3-builtin.cfg Open On-Chip Debugger v0.12.0-esp32-20251215 (2025-12-15-18:17) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html DEPRECATED! use 'gdb port', not 'gdb_port' DEPRECATED! use 'tcl port' not 'tcl_port' DEPRECATED! use 'telnet port', not 'telnet_port' CDRTOSConfigure Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001 Info : esp_usb_jtag: capabilities descriptor set to 0x2000 Info : Listening on port 50001 for tcl connections Info : Listening on port 50002 for telnet connections Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: esp_usb_jtag: could not find or open device! Diagnosis It is the driver for USB JTAG/serial debug unit (Interface 2) that causes issue. Reasons Using Zadig, found that the current driver is WINUSB (v10.0.26100.1150) The v10.0.x WinUSB driver is Microsoft's newer inbox driver that Windows sometimes auto-installs. It has been observed to be incompatible with OpenOCD's libusb on ESP32-S3 JTAG, causing exactly the LIBUSB_ERROR_NOT_FOUND error you saw. Visual Micro's own documentation explicitly warns about this: visualmicro Fix install Zadig replace/downgrade driver for USB JTAG/serial debug unit (Interface 2) to WinUSB (v6.1.7600.16385). NOTE: select "Install Driver" by clicking the dropbox on the button. The default option in the dropbox should be "Install WCID Driver" which will not help, it will still be the incompatible v10.0.x driver after Zadig installed the driver. Note on the USB JTAG/serial debug unit (Interface 0), the driver usbser (v10.0.26100.8328) is fine. There are Internet post that suggest replacing it with USB Serial (CDC). No need to make "Start Debugging" working. References IDE 2.3.0 debugging esp32s3 using built-in usb jtag Leveraging ESP32 Built-in JTAG for Advanced Debugging: A Step-by-Step Guide
  • Discuss all things Micropython here. Get help, Recommend Libraries, Report Bugs and Improvements

    218 Topics
    898 Posts
    J
    @pabou try using uiflow to generate the code, then peek copy from there.
  • For discussion and assistance with M5EZ.

    13 Topics
    62 Posts
    J
    using the mentioned changes hello_world example did compile and got uploaded to my core2. However , nothing is shown on screen, screen remains black.
  • Discuss all things related to ESP - IDF, Espressifs IoT Development Framework

    29 Topics
    101 Posts
    felmueF
    Hello @daniyyel ah, ok. So the correct documentation is here. Have a look at the code examples in Quick Start Guide to see how the M5IOE1 needs to be programmed to turn on power etc. The function is called SIM7028_EN() and first turns on power then resets the modem. Thanks Felix
  • UiFlow 2.0 related issues discussion.

    366 Topics
    2k Posts
    I attempted to burn the firmware for each version of UIFlow 2.0 Stick Plus on my stickC Plus, but after each firmware was burned, the device failed to boot up and did not respond to any key press.
  • New M5Stack Core 2 device captive buttons

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Programming Hat RoverC+ w/ M5StickC Plus in UIFlow2.0?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Programming Atom Matrix with external FTDI?

    2
    0 Votes
    2 Posts
    2k Views
    felmueF
    Hello @StackerBob unfortunately no, to manually put ESP32 into download mode GPIO1, GPIO3 and GPIO0 are required, none of them are externally accessible. Also see schematic here. Thanks Felix
  • m5Paper Sleep and Wake up

    7
    0 Votes
    7 Posts
    5k Views
    B
    @ajb2k3 That sounds exciting. Do you mean another ESP that functions as an ULP?
  • M5StickCPlus Card Mount Failed

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • AtomS3: No serial data received.

    3
    0 Votes
    3 Posts
    3k Views
    M
    Felmue, you genius you, THANK YOU! Newbie high-five.
  • M5Stack Atom S3 upload problems

    failed to conn
    2
    0 Votes
    2 Posts
    2k Views
    felmueF
    Hello @samarkh please see this post about how to get M5AtomS3 into download mode. Re format code : click onto the COMPOSE(?) at the top right corner of the edit field and learn about markdown. (or follow this link) Thanks Felix
  • Use Glass Unit on Raspberry Pi

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Installing Linux on CoreS3

    6
    0 Votes
    6 Posts
    8k Views
    S
    Have tried to burn the CoreS3 Linux Port with the M5Burner. But there is no output on the uart0, nor on the USB-C virtual com port. Also nothing on the screen. How did you make it ?
  • M5cardputer com is reading it as DFROBOT-Beetle

    m5stamps3 m5cardputer comissues
    4
    0 Votes
    4 Posts
    5k Views
    M
    I don't know if that solved your issue, but if you havent done so yet, you have to install the M5 Board Manager in the Arudino IDE board manager settings or M5 units will not appear in the board list. Go to this page and follow the steps for your operating system: M5 Stack Cardputer How to Article By the way, I ordered my cardputer today and when it arrives I will create some wall mount models for 3d printing. Watch the projects page. I already have some nice M5Stack wall mounts and travel cases up there. :)
  • Private UIFLow Server code test (CM4 Stack)

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Example OTA for AtomS3

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • M5 Stack ThermalOnline Cat-M Original Application HELP!

    3
    0 Votes
    3 Posts
    2k Views
    C
    @felmue Thank You !!!
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to lock m5stack software (firmware encryption)

    6
    0 Votes
    6 Posts
    8k Views
    R
    Enabling firmware encryption on the ESP32, which is the microcontroller used in M5Stack devices, involves a few steps. Please note that the specifics may vary based on the development environment and tools you are using. Here are general steps you can follow using the Arduino IDE: Install the ESP32 board support: Open Arduino IDE. Go to "File" -> "Preferences." In the "Additional Boards Manager URLs" field, add the following URL: https://dl.espressif.com/dl/package_esp32_index.json Click "OK" to close the preferences dialog. Go to "Tools" -> "Board" -> "Boards Manager." Search for "esp32" and install the "esp32" package. Install the M5Stack library: Go to "Sketch" -> "Include Library" -> "Manage Libraries." Search for "M5Stack" and install the M5Stack library. Update the M5Stack library to the latest version: Open the "Library Manager" again and check if there are updates available for the M5Stack library. If yes, update to the latest version. Enable Flash Encryption in the Arduino IDE: Open your Arduino sketch. In the Arduino IDE, go to "Tools" -> "M5Stack" -> "Flash Mode" and select "QIO." *Go to "Tools" -> "M5Stack" -> "Flash Frequency" and select "40MHz." *Go to "Tools" -> "M5Stack" -> "Flash Size" and select "16MB." *Finally, go to "Tools" -> "M5Stack" -> "Partition Scheme" and select "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)." *Enable Flash Encryption in Code: In your Arduino sketch, add the following line at the beginning, before the setup() function: Preferences preferences; In the setup() function, add the following lines: In the setup() function, add the following lines: preferences.begin("yourAppName", false); preferences.putString("yourEncryptionKey", "your32ByteEncryptionKeyHere"); preferences.end(); // Rest of your setup code... } Replace "yourAppName" with a unique name for your application, and replace "your32ByteEncryptionKeyHere" with a 32-byte encryption key. Upload the code to your M5Stack device: Connect your M5Stack device to your computer. Select the correct port and board in the Arduino IDE. Click the "Upload" button to upload the code to your M5Stack. These steps should enable flash encryption for your M5Stack firmware. Keep in mind that once flash encryption is enabled, you need to provide the correct encryption key when uploading new firmware. Otherwise, the new firmware won't be written to the device.
  • 'USBSerial' was not declared in this scope

    4
    0 Votes
    4 Posts
    5k Views
    I
    Thanks that worked!
  • M5Paper font

    11
    0 Votes
    11 Posts
    20k Views
    ScheduleDisplayS
    Hello, I Got the GFX font header file (by converting the Roboto.ttf file). Loaded the font file using canvas.setFreeFont(&Roboto_Medium50pt7b) and then display the text using canvas.printf(textString.c_str());. It is working fine and display the text properly but when I am giving some special characters รครถรผ then they are not appearing on M5stack paper. Can someone please guide me what I am doing wrong? Am I missing something? Thanks The link to my question can be found here
  • Driver to talk to m5stack device over USB?

    3
    0 Votes
    3 Posts
    3k Views
    BergKatseB
    Good thought, that solved the problem! Atom Lite works fine at 115200. Thanks!
  • How to prevent firmware copy

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied