使用仿真器与串口的方式进行烧写
bootloader也不过是一个程序布局,也要通过两种方式进行烧写的
可以参考这篇文章
STM32替换Arduino
https://blog.csdn.net/hk_shao/article/details/79319548