Connect CoreMatrix to the computer using a USB Type-C cable.
Open the CoreMatrix UiFlow2 firmware page on the M5Burner website, then 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, then click Start in the pop-up window.
Next.
When Burn successfully is displayed, flashing is successful. Please reset the device at this point.
CoreMatrix supports connecting to UiFlow2 via Access Code (wireless network) or USB (wired connection to a computer) to push and debug programs. Refer to the following tutorial:
WebTerminal button, select the serial port for CoreMatrix in the dialog, and click Connect. Confirm in the serial monitor that the device is connected to the network. If the connection fails, check whether the Wi-Fi name and password entered during firmware flashing are correct, then modify them through the Configuration option on the WebBurner and flash again.
Access Code in the WebTerminal serial monitor. If the information is not displayed, click Soft Reset to perform a soft reboot.
Select Your Controller on the page (shown on first visit) 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 CoreMatrix to UiFlow2.
Select Device page, select the connected CoreMatrix device, then click Confirm to enter the UiFlow2 programming interface.
Select Your Controller on the page (shown on first visit) or the Controller button to enter the Select Device page.
Confirm.
WebTerminal button, select the serial port for CoreMatrix 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.