pdf-icon

UiFlow Tutorial

UiFlow1 Development Guide

Project Management

Use LTE network

UiFlow1 Blockly

Event

Unit

UiFlow2 Development Guide

UI Editor

Device Security & Sharing

Cardputer-Adv Firmware Burning and Program Upload

1. Preparation

  • Refer to the UIFlow2 Web IDE Tutorial to understand the basic workflow of using UiFlow2 and complete the installation of the M5Burner firmware burning tool.
  • Log in or register on M5Burner. After the device is successfully burned, the device information will be bound to the account.

2. Burning Firmware

  1. Set the power switch on the side of the Cardputer-Adv to the OFF position, then before powering on, press and hold the G0 button, release it after powering the device from the back, and the device will then enter download mode.
  1. In M5Burner, download the firmware adapted for Cardputer-Adv as shown below.
  1. Select the port. Connect the device to the computer via a USB cable, click the Burn button for the corresponding firmware in M5Burner, select the port for the device, and click Start.
  1. Fill in the Wi-Fi configuration that the device needs to connect to, including Wi-Fi SSD and Wi-Fi Password, as well as any other device configurations that need to be added or modified, then click Next to start burning.
Note
If your device is connecting for the first time, you need to bind it to this account.
  1. When prompted with Burn successfully, click here to return, the burning process is complete. At this point, restart the device to apply the burning information.

Configuration Information Description

  • COM: Serial port
  • BaudRate: Baud rate for serial communication
  • Server: Server address the device connects to
  • WIFI SSID/WIFI Password: Wi-Fi name and password for device connection
  • SNTP Server
    • SNTP0: Alibaba Cloud NTP server (China)
    • SNTP1: Japan NTP server pool
    • SNTP2: Global public NTP server pool
  • Timezone: Timezone setting
  • Boot Option
    • run main.py directly: Run main.py directly
    • show startup menu and network setup: Display the startup interface (NEMU) and network setup
    • only network setup: Network setup only

3. Modifying Device Configuration

After completing the firmware burning, if you need to modify the device configuration, keep the USB connection, restart the device, use M5Burner to click the Configure option, make the changes in the pop-up configuration window, then click Next to re-modify and burn the configuration information.

4. Logging into UiFlow2

Go to the UiFlow2 page and click the user icon in the upper right corner to log in to your UiFlow2 account.

UiFlow2 Account
This account must be the same as the one used to log in to M5Burner. After successfully logging in, devices under this account that are connected to a valid Wi-Fi network can be viewed by clicking Select Device. To change the device owner, you need to unbind the device from the account.

5. Entering the Programming Page

You can connect the device to UiFlow2 via Wi-Fi or USB to enter the programming page. The methods are as follows:

Wi-Fi Method

Note
Ensure Wi-Fi has been configured: During the burning process, configure Wi-Fi and other information in the Configure section of M5Burner.

Enter the device list.

Select the online device and click Confirm.

Successfully enter the UiFlow2 programming page for the device.

USB Method

  1. Connect Cardputer-Adv to your computer using a USB cable, select the Cardputer-Adv device module from the device list, and click Confirm.
  1. Click the WebTerminal button.
  1. In the pop-up dialog, select the serial port for Cardputer-Adv and click Connect.

When the WebTerminal screen displays Connected to Serial Port!, the USB connection is successful and you can enter the UiFlow2 programming page for the device.

6. RUN

After completing the above steps, you can start programming with UiFlow2.

On This Page