CP2104 version) and CP34X (for the CH9102 version). After extracting the package, select the installer that matches your operating system architecture. If you are not sure which USB chip your device uses, you can install both drivers. CH9102_VCP_SER_MacOS v1.7 may report an error during installation, but the installation has actually completed and the error can be ignored.| Driver Name | Driver Chip | Download Link |
|---|---|---|
| CP210x_VCP_Windows | CP2104 | Download |
| CP210x_VCP_MacOS | CP2104 | Download |
| CP210x_VCP_Linux | CP2104 | Download |
| CH9102_VCP_SER_Windows | CH9102 | Download |
| CH9102_VCP_SER_MacOS v1.7 | CH9102 | Download |
Refer to the UiFlow2 Web IDE Tutorial to learn the basic workflow of UiFlow2 and complete the installation of the M5Burner firmware flashing tool.
Download the firmware for Tough in M5Burner, as shown below.
Found New Device prompt.
Burn button for the corresponding firmware, select the device port, and click Start.
Next to start flashing.
Configuration information:
Burn successfully, click here to return is displayed, flashing is successful.
Configure, and modify the settings according to the prompts.
The device supports connecting to UiFlow2 via Access Code (wireless network) or USB (wired connection to a computer) for program pushing and debugging. Refer to the following steps:
Configure option in M5Burner and flash again.

Access Code on the device's UiFlow2 startup screen.
Visit uiflow2.m5stack.com to open the UiFlow2 Web IDE.
Click Select Your Controller on the page (shown on first entry) or the Controller button to enter the Select Device page.
Connect Device, enter the access code and a custom device name, then click Confirm to connect Tough to UiFlow2.
Tough device on the Select Device page, then click Confirm to enter the UiFlow2 programming interface.
Visit uiflow2.m5stack.com to open the UiFlow2 Web IDE, and connect Tough to the computer with a USB cable.
Click Select Your Controller on the page (shown on first entry) or the Controller button to enter the Select Device page.
Confirm.
WebTerminal button, select the serial port for Tough in the dialog, and click Connect.
When the WebTerminal screen displays Connected to Serial Port!, the USB connection is successful.
After the device is connected to UiFlow2, you can drag Blockly blocks to edit programs.
After editing the program, click the Run Once button in the lower-right corner to run the program once for testing. Click Run Always to download the program to the device.
You can also run once or download the program in the WebTerminal window.