用STM32CUBEProgrammer刷机
遇到参数混乱或者工作异常的情况,可以刷机试试。
官方教程:
http://www.mateksys.com/?p=6905
工具下载:
https://www.st.com/en/development-tools/stm32cubeprog.html
步骤:
按着FC上唯一的一个boot按钮不放,接入电脑USB,FC进入DFU模式。
Make sure DFU driver has been installed. Check out “Install DFU Drivers” in this page
Connect the FC USB to computer while holding the boot button in.
Select USB
USB1 and click Refresh
Connect
select “Erasing & Programming”
Click “Full chip erase”
Browse the hex or bin file from your computer, if flashing ardupilot, use “ardu*_with_bl.hex”.
Click “Start Programming”
After programming, unplug USB and plug USB back in. FC will boot and run in normal COM mode.
刷完机拔下FC,重新插上就正常工作了。
|