* Unplug the quad and short the 2 "BOOT0" pins. * Click "Connect" -> This should open the "Initial Setup" tab and you should see sensor data from the quad shown * You should see "Programming: SUCCESSFUL" in the log box * Select the USB-UART adapter from the top left box * Connect the USB->Serial adapter to the board * Tick "No Reboot Sequence" and "Full Chip Erase"
* Select "Load Firmware " and wait for the firmware to download. * Choose the latest CJMCU firmware from the list. To spin after around 20 seconds, it is recommended not to connect the motors until the board WARNING: If the motors are connected and the board boots into the bootloader, they will start If this does not happen, checkĪfter the flashing process has been completed, this will allow access via the cleanflight configurator to change When first connected this should power up the board, and will be in bootloader mode.
How to flash cleanflight firmware serial#
You will need a USB -> Serial UART adapter. If you have wired as above, Motor1/Motor2 on the board will be forward. there is one wire on each motor out of the standard RED/BLACK VCC/GND polarity colors that can be used to identify polarity. If you are using the Hubsan x4/Ladybird motors, clockwise are Blue (GND) / Red (VCC) wires, anticlockwise It is therefore simplest to wire the motors: In standard QUADX configuration, the motors are mapped: Cleanflight USART1 (along with power) is on the following pins.
A regulated 3.3v supply can be found on the top pin of column 1, just below the RX GND pin. Be careful if you are using a voltage sensitive RX. NOTE: The VCC RX Pin is not regulated and will supply what ever voltage is provided to the board, this will mean it'll provide 5v if a 5v serial connection is used. Version 2 boards are supported from firmware v1.4.0 onwards, do NOT flash earlier versions to version 2 boards. Uses blue and red LEDsīoot jumper pads presoldered with pins and a jumper by LED1. This board does not have an onboard USB-Serial converter, so an external adapter is needed. The CJMCU is a tiny (80mm) board running a STM32F103, which contains a 3-Axis Compass (HMC5883L)