引言

步骤

一、硬件连接

二、驱动安装

ST-LinK下载STM32程序

三、Kile5编程

ST-LinK下载STM32程序

四、配置

1.点击Target魔术棒
ST-LinK下载STM32程序
2.在Device中核对一下选择的芯片信号
ST-LinK下载STM32程序
3.在Target中核对一下外部晶振
ST-LinK下载STM32程序
4.在linker中选择ST-Link
ST-LinK下载STM32程序
5.进入Settings
ST-LinK下载STM32程序
6.在Debug中Port选择SW模式,SW Device中出现相应的名称
ST-LinK下载STM32程序
ST-LinK下载STM32程序
7.在Flash Download中,勾选Reset and Run,如果Programming Algorithm栏里没有芯片型号,点击add添加。
ST-LinK下载STM32程序
8.点击确定

五、下载或调试

1.调试
ST-LinK下载STM32程序
2.下载
ST-LinK下载STM32程序

相关文章: