forked from PX4/PX4-Autopilot
-
Notifications
You must be signed in to change notification settings - Fork 1
PX4 bootloader guide
Andre Wong edited this page Jan 3, 2021
·
4 revisions
- arm-none-eabi-gcc installed
Steps:
- run
git clone git@github.com:nusrobomaster/PX4-Bootloader.git --recursive -
cd PX4-Bootloaderto enter directory - run
make robomaster_dev_a_blfor dev board A bootloader ormake robomaster_dev_c_blfor dev board C bootloader -
cd buildand then cd into robomaster_dev_x_bl, there should be a robomaster_dev_x_bl.bin file inside (x can be either a or c)
Steps:
- TODO
Steps:
- short the top two pins on the dev board C boot port to enter bootloader mode
- connect the usb to the dev board C and then to the computer
- in the same directory as the .bin file above, run
dfu-util -a 0 --dfuse-address 0x08000000 -D robomaster_dev_x_bl.bin - unplug the usb from the computer, then unplug the jumper wire
At this point the dev board should boot into the bootloader when the usb is plugged in and the jumper wire is not need after this
- Dev board C should be blinking blue