pdf-icon

M5StickCPlus2 Program Compilation and Upload

1. Preparation

2. USB Driver Installation

Driver Installation Tip
Click the link below to download the driver matching your operating system. The driver package for the CP34X (for the CH9102 version) can be downloaded and installed by selecting the installation package corresponding to your operating system. If you encounter issues with program download (such as timeout or "Failed to write to target RAM" errors), try reinstalling the device driver.
Driver Name Applicable Driver Chip Download Link
CH9102_VCP_SER_Windows CH9102 Download
CH9102_VCP_SER_MacOS v1.7 CH9102 Download
Port Selection on MacOS
On MacOS, there may be two available ports. When using them, please select the port named wchmodem.

3. Port Selection

Connect the device to the computer via a USB cable. After completing the driver installation, select the corresponding device port in the Arduino IDE.

4. Program Compilation & Upload

Open the example program “display” from the driver library. Click the upload button to automatically compile and upload the program.

The effect is as shown below:

On This Page