Refer to the UiFlow2 Web IDE tutorial to learn the basic UiFlow2 workflow and complete the installation of the M5Burner firmware flashing tool.
Download the firmware for AtomS3R-CAM/AtomS3R-M12 in M5Burner, as shown below.
Burn button for the corresponding firmware, select the device port, then click Start.
Next to start flashing.
Configuration information:
When Burn successfully, click here to return appears, flashing is successful.
Configure option, and follow the on-screen instructions.
The device supports Access Code (via wireless network) or USB (wired connection to a computer) for connecting to UiFlow2 for program upload and debugging. See the following steps:
Visit uiflow2.m5stack.com to open the UiFlow2 Web IDE.
Make sure the device is connected to the network and obtain the Access Code: click WebTerminal in the lower-left corner of the interface, select the corresponding serial port in the dialog, then click Connect to open the serial monitor. You can view the current valid Access Code and Wi-Fi connection status. (Note: If the corresponding information is not displayed, click Soft Reset to perform a soft reboot.)
Select Your Controller (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 AtomS3R-CAM or AtomS3R-M12 to UiFlow2.
Select Device page, select the connected device and click Confirm to enter the UiFlow2 programming interface.
Visit uiflow2.m5stack.com to open the UiFlow2 Web IDE, and connect AtomS3R-CAM or AtomS3R-M12 to the computer with a USB cable.
Click Select Your Controller (shown on first entry) or the Controller button to enter the Select Device page.
Confirm.
WebTerminal button, select the corresponding serial port in the dialog, then 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 of the interface to run the program once for testing. Click the Run Always button to download the program to the device.
You can also run once or download the program from the WebTerminal window.