M5StickC-Plus Firmware Burning and Program Pushing

1. Preparation

  • Refer to the UIFlow Web IDE Tutorial to understand the basic workflow of using UIFlow and complete the installation of the M5Burner firmware burning tool.
  • Download the firmware compatible with M5StickC-Plus in M5Burner, as shown in the image below.

2. USB Driver Installation

Connect the device to the PC and open Device Manager to install the FTDI driver . For Windows 10, download the driver matching your operating system, unzip it, and install it through Device Manager. (Note: In some system environments, the driver may need to be installed twice to take effect. Unrecognized devices are usually named M5Stack or USB Serial. It is recommended to install the driver files directly in Device Manager on Windows, as executable file installations might not work properly.) Click here to download the FTDI driver.

For MacOS users, please check System Preferences -> Security & Privacy -> General -> Allow apps downloaded from: -> App Store and identified developers before installation.

3. Port Selection

  1. Connect the device to the computer via USB, select the Burn button for the corresponding firmware in M5Burner, fill in WiFi information, and select the corresponding device port.

4. Firmware Burning

  1. Click the Start button to begin burning. Note: If burning fails or connection times out, check for port occupancy, try updating the USB cable, or lower the baud rate.

5.API KEY

  1. After completing the firmware burning, the device will reboot and maintain the USB connection. Use M5Burner to click the Configure option, select the corresponding port, and click Load to load the current device configuration. Once obtained, a pop-up will display the current device's API KEY, Start Mode, and other information. At this point, we can copy and save the device's API KEY information for later use. Note: In this example, we will use UIFlow Web IDE (online version) for programming, therefore, Start Mode needs to be set to Internet Mode.
  1. After configuring the device to online programming mode, we need to use the API KEY to establish a connection between the device and UIFlow, allowing it to push programs to the specified device. Users need to visit flow.m5stack.com in a web browser on their computer to enter the UIFlow programming page.

  2. Click the settings button in the upper right corner of the page, enter the API KEY we obtained in the previous step, click OK to save, and wait for the connection to succeed.

6.RUN

  1. After completing the above steps, you can start programming with UIFlow. Below is a simple program to demonstrate how to drive the M5StickC to light up an LED indicator. (1. Drag the LED lighting block 2. Attach it to the Setup initialization program. 3. Click the run button in the upper right corner.)
On This Page