Upload Firmware Using Petoi Desktop APP

The manual for Beginner.

** Download the latest version of the Petoi Desktop APParrow-up-right. **

For detailed installation tutorials and usage instructions, please refer to Desktop APP Introductionarrow-up-right.

Connect the mainboard to the computer

Currently, Petoi Web Coding Blocks only support Petoi robots equipped with the BiBoard.

You can connect the computer to the mainboard using a USB cable, following the instructions on the pages ( BiBoard V0 / BiBoard V1), which are specific to the robot's mainboard model.

circle-info

For BiBoard, there are BiBoard V0_*arrow-up-right (which requires an extension hat to use the voice command module and Grove sockets) and BiBoard V1_0arrow-up-right.

Upload the firmware using the Petoi Desktop app

Open the PetoiDesktopApp

After properly connecting the mainboard with the computer via a USB data cable, open the PetoiDesktopApp (for Windows: UI.exe / for Mac: Petoi Desktop App), and select your Model and Language.

Model
Language
Help

Click the Firmware Uploader button

Main interface

Auto Detect the Serial Port

If there is no serial port or more than one serial port is detected by the desktop app:

After clicking the Firmware Uploader button, there will be a message box prompt as follows:

Please follow the prompts in the message box. After clicking the Confirm button, If you complete the prompts within 10 seconds, the desktop app will automatically identify the serial port name connecting the robot to the computer. If you complete the operation of unplugging and plugging the USB interface on the computer for more than 10 seconds, the desktop application will enter the manual selection of the serial port name mode:

Click the OK button in the Warning message box first, then you can refresh the serial port list or select one of them (e.g. COM3) and click the OK button in the Manual mode window to open the Firmware Uploader interface as follows:

Once the Firmware Uploader interface is opened, you can also unplug and replug the USB cable from the COMPUTER side. The desktop app will automatically identify the serial port name used to connect the robot to the computer.

If you unplug the COM5 and replug it on the computer side, it will be discovered by the desktop app as follows:

Select the correct options to upload the latest firmware.

circle-exclamation

Please follow the instructions on the subsequent sub-pages (BiBoard V0), depending on the type of your robot's mainboard.

Finish uploading the firmware

After the upload, the status bar will update the corresponding result, such as the success or failure of firmware uploading. If the upload is successful, a message window titled "Firmware upload complete!" will pop up.

circle-info

Note:

After uploading the firmware, if the BiBoard V1 is not connected to the battery and powered on, you will hear a series of descending melodies, indicating that the battery is low or disconnected. You need to connect the battery and turn it on.

Check the log

From the desktop app version 1.2.7, the log information will be output in the console box at the bottom of the interface:

You can directly click the Copy button to copy all the log information, or you can first select specific key information in the console output box with your mouse, then click the Copy button to copy only that portion of the log information, and then paste this information into an email and send it to support.petoi.com for assistance.

circle-info

For the old version of the desktop app, if the upload fails, the following message box will pop up:

the log file is located at:

  • For Windows: The log file is in the same directory as UI.exe

  • For macOS: You can check the log file as follows:

When you contact our [email protected], please attach the log file to your email.

Last updated