git clone https://github.com/PX4/libopencm3.git
cd libopencm3
make lib

 

git clone https://github.com/PX4/Bootloader.git
cd Bootloader
make

 

使用 ST DfuSe 下载

  • Vendor ID: 0x 0483
  • Product ID: 0x df11
  • Version ID: 0x 2100

PX4-Dfuse-upgrading-process

 

 

使用 ST-LINK V2 下载 Bootloader

  • Pin 1 – VCC  目标板 VCC
  • Pin 7 – TMS/SWDIO SWD 数据线
  • Pin 8 – GND
  • Pin 9 – TCK/SWCLK SWD 时钟线
  • Pin 15 – nSRST/RESET 系统复位(有时候非必要)

st-link-v2-jtag-20pin

 

 

 

cortex-10-pin-1.27-jtag_swd-connector-pin

http://pixhawk.org/dev/bootloader_update