Try   HackMD

STM32燒錄方法(CP2102+stm32f103ct86)

tags: stm32

:memo: 安裝燒錄軟體

  1. 下載FlyMCU
  2. 在本地端解壓並打開執行檔
  3. 將STM32開發板連接CP2102並將其USB插入電腦(參考底下硬體連接方式)
  4. 照著圖片的步驟進行操作
  5. 最後燒錄完成後記得將Boot0切換回0再重新上電,你所寫的功能就會顯示出來了。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

上圖步驟說明:
(1) 選擇COM PORT
(2) 選擇要燒錄的十六進制檔
(3) 勾選 Verify 和 Run After ISP complete
(4) 取消 Program OptionBytes when ISP
(5) 開始燒錄
(6) 若燒錄成功會出現框框中的訊息

:memo: 硬體接線方式

須將BOOT0設成1

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

rx接A9
tx接A10
gnd接G
5v接5v

示意圖:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

參考資料:如何使用串口来给STM32下载程序