Connect ToughC5 to the computer's USB port.
Open the ToughC5 UiFlow2 firmware page on the M5Burner website, and click Burn to device in the interface to start flashing the UiFlow2 firmware.
Select COM.
Connect.
When the interface displays Connected to xxx, the port is connected successfully.
Burn, and click Start in the pop-up window.
Next.
When Burn successfully is displayed, flashing is successful. Please reset the device at this point.
ToughC5 supports connecting to UiFlow2 via Access Code (over a wireless network) or USB (wired connection to a computer) to push and debug programs. Refer to the following tutorial:
Configuration option on the WebBurner 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 (shown on first visit) or the Controller button on the page to enter the Select Device page.
Connect Device, enter the access code and a custom device name, then click Confirm to connect ToughC5 to UiFlow2.
Select Device page, select the connected ToughC5 device and click Confirm to enter the UiFlow2 programming interface.
Select Your Controller (shown on first visit) or the Controller button on the page to enter the Select Device page.
Confirm.
WebTerminal button, select the serial port for ToughC5 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.