Upload Firmware
Last updated
Last updated
Some USB cables are just for charging and do not have data transfer capability. Using the original data cable in the kit is better for making the uploading successful.
Some new laptops only have USB-C ports, so users use a hub to connect standard USB-B to their computers. However, the intervening hubs prevent the app from recognizing the serial port. The solution was to connect the USB-C cable DIRECTLY to the computer using EITHER a USB-C to USB-C cable OR a tiny C to B adaptor (not a hub).
When you use a USB uploader to upload the firmware for the NyBoard, if there is no serial port in the port list of Device Manager.
Please download and install the USB driver:
When you use a USB type-C data cable to upload the firmware for the BiBoard, if there is no serial port in the port list of Device Manager.
Note: The connection for uploading firmware is to be made directly to the BiBoard and NOT to the outside charging port on the battery.
Please download and install the USB driver:
For more details, please refer to the BiBoard V0 USB Driver to access the serial port.
When you use a USB type-C data cable to upload the firmware for the mainboard BiBoard V1.
On Windows, if there is no serial port in the port list of Device Manager:
On Mac, open the Terminal program under the Applications-Utilities folder and type the following commands. If no serial device name starting with "tty.wchusbserial" or "cu.wchusbserial" is found:
For the macOS(from the version Sequoia), after installing the driver, you need to enable the driver, as follows:
Settings -> General -> Login Items & Extensions -> Driver Extensions
There are two methods to Upload the firmware to the robot:
The simplest method is to use the Petoi Desktop App. No programming is involved. You can play with some preset modes.
If you have some programming experience, you can use the Arduino IDE. You will be able to modify the open-source codes for your new projects.
If you are using NyBoard, please refer to Upload Sketch for NyBoard.
If you are using BiBoard, please refer to Upload Sketch for BiBoard.
If you have a NyBoard(with Bittle and Nybble), we highly recommend using the green USB programmer to upload the firmware. The Bluetooth dongle is not as stable and may cause the mainboard's bootloader to crash if interrupted in the middle.
For BiBoard(with Bittile X), the USB/Bluetooth connections are built on the board already.