We don’t do a full functional test of the device, we just do a simple test to make sure the device works, and then move on.

• If the expansion board is connected to the LED and the installation is normal, and then the USB cable is used to connect the power supply, the LED will light up, and the LED LCD screen will display; If not, it doesn’t matter, we will continue to check the next serial port test;

After powering on the device and making sure it wasn’t smoking, we were able to connect the device to the computer using a USB cable to test the game.

Serial Port Identification check

After connecting the device with USB, the corresponding connection will be identified by the system as a COM device. Only after the system correctly identifies the device, can we proceed with further operations.

• Windows: Open the hardware device Manager to check whether the serial port device exists and is correctly identified. The system automatically arranges the port number according to the actual situation.

— Wi-Fi IoT: Wi-fi IoT Smart Home Kit test equipment – HarmonyOS Technical Community

If it is not identified, you need to download the following driver to install:

– Driver download: Download the CH341/340SER driver

After downloading and installing the driver, you need to restart it for the driver to take effect. After the restart is complete, check whether serial port identification is normal

• MacOS:

Before and after the serial port is connected, run the following commands on the COMMAND-LINE interface (CLI). If there are new records, the installation has identified them

Ls/dev / | grep ser # results show: / dev/cu usbserial - 1410 # results show: / dev/tty usbserial - 1410

If no, install the following drivers: – Driver download: Download the CH341/340SER driver. After the driver is downloaded and installed, restart the ch341/340SER driver for the driver to take effect. After the restart is complete, check whether serial port identification is normal

Serial communication test

Once the serial port has been correctly identified, we are ready to test the serial communication. Under different operating systems, we need to see different serial tools.

• Windows:

Huawei IPOP

– Serial Debugging software (SSCOM)

• MacOS:

– SerialTools: Download it from the App Store for free

– ComTool: Open source download

After downloading the serial port tool, open the serial port tool, select or enter a serial port based on the serial port number identified previously, and set parameters. The detailed Settings are as follows:

• Serial Port: Previously identified Serial Port number

• Baud Rate: 115,200

• Data Bits: 8

• Stop Bits: 1

• Whether to add a NewLine (CR/LF or NewLine) : 1

To connect and restart the device, the serial port will receive the following message:

• Serial port test:

– Press the RET button on the core board to restart

If the serial port received the above message, it means that our board is ready to run, move on.