pdf-icon

M5StickC Program Compilation and Flashing

1. Preparation

2. USB Driver Installation

Connect the device to the PC, open the device manager to install the FTDI driver for the device. For Windows 10, download the driver file that matches your operating system, extract it, and install it through the device manager. (Note: In some system environments, it might be necessary to install the driver twice for it to take effect. Unrecognized device names are usually M5Stack or USB Serial. It is recommended for Windows to use the driver file for direct installation through the device manager (custom update); executable file installation methods might not work properly). Click here to download the FTDI driver .
For MacOS users, before installation, please check System Preferences -> Security & Privacy -> General -> Allow apps downloaded from: -> App Store and identified developers.

3. Port Selection

  1. Connect the device to the computer via USB cable. After completing the driver installation, you can select the corresponding device's port in the Arduino IDE.

4. Program Compilation & Flashing

  1. Open the example program from the driver library, click the upload button, and the program will automatically compile and flash.
On This Page