pyocd 下载stm32f103c8t6

1. 安装pyocd

2. pyocd pack install stm32f103c8   //安装芯片包

    pyocd pack -f stm32f103c8 //验证是否装

C:\Users\Administrator\Desktop\testapp1\MDK-ARM\testapp1>pyocd pack -f stm32f103c8
  Part          Vendor               Pack                 Version   Installed
-------------------------------------------------------------------------------
  STM32F103C8   STMicroelectronics   Keil.STM32F1xx_DFP   2.4.1     True

C:\Users\Administrator\Desktop\testapp1\MDK-ARM\testapp1>pyocd list --targets   //显示支持支持的芯片

  pyocd flash -t stm32f103c8 testapp1.hex --verbose  //下载hex,输出详细信息

posted @ 2025-05-05 17:16  微笑的''80  阅读(33)  评论(0)    收藏  举报