当前位置:网站首页>华大单片机KEIL添加ST-LINK解决方法
华大单片机KEIL添加ST-LINK解决方法
2022-06-27 17:12:00 【苏守坤】
使用st-link+keil下载和调试华大单片机的教程
首先说明一下,目前只测试了HC32F005,但是理论上讲这个方法是通用的
一、下载支持包
从华大官网找到你芯片资料页,下载DDL库压缩包和IDE支持包,也就是这两个压缩包。
分别解压,双击IDE支持包里面的MDK_IDE目录的支持包安装。
二、添加flash模型
1,复制文件
打开DDL库文件夹,找到mcu\MDK\config路径里的FLM后缀的文件,复制到你的keil安装目录的ARM\Flash文件夹。
2,配置工程
打开DDL库文件夹,打开任意一个example目录里的工程,这里我选的第一个example\adc\adc_cont_irq_sw\MDK
点魔术棒配置工程

找到Debug选项卡,选择你使用的调试器,我这里是ST-Link,然后点Settings进行设置
切换到Flash Download选项卡,点Add添加

就可看到刚才复制的文件了,点击添加即可
再之后,就可以愉快的进行下载和调试了
边栏推荐
- Comment encapsuler un appel à une bibliothèque
- Keras深度学习实战(12)——面部特征点检测
- Technology sharing | introduction to kubernetes pod
- Teach you how to install Oracle 19C on Windows 10 (detailed picture and text with step on pit Guide)
- How to view the index information of MySQL tables?
- 基于STM32F103ZET6库函数蜂鸣器实验
- Market status and development prospect forecast of phenethyl resorcinol for skin care industry in the world in 2022
- 网上期货开户安全么?
- Informatics Orsay all in one 1335: [example 2-4] connected block
- Hikvision tools manager Hikvision tools collection (including sadp, video capacity calculation and other tools) a practical tool for millions of security practitioners
猜你喜欢
![[elt.zip] openharmony paper Club - memory compression for data intensive applications](/img/b3/ab915f0338174cba1a003edc262a5d.png)
[elt.zip] openharmony paper Club - memory compression for data intensive applications

芯动联科冲刺科创板:年营收1.7亿 北方电子院与中城创投是股东

Cloud native database: the outlet of the database, you can also take off

What is ICMP? What is the relationship between Ping and ICMP?

Two methods of MySQL database login and logout

How to view the index information of MySQL tables?

binder hwbinder vndbinder

openssl客户端编程:一个不起眼的函数导致的SSL会话失败问题

如何利用 RPA 实现自动化获客?

金源高端IPO被终止:曾拟募资7.5亿 儒杉资产与溧阳产投是股东
随机推荐
TIA博途_基于SCL语言制作模拟量输入输出全局库的具体方法
Blink SQL内置函数大全
How to use the low code platform of the Internet of things for picture management?
Campus book resource sharing platform
让单测变得如此简单 -- spock 框架初体验
VS code 运行yarn run dev 报yarn : 无法加载文件XXX的问题
PostgreSQL数据库WAL——资源管理器RMGR
Good news - British software 2022 has obtained 10 invention patents!
Hikvision Tools Manager海康威视工具大全(含SADP、录像容量计算等工具)百万安防从业者的实用工具
技术分享 | kubernetes pod 简介
实战回忆录:从Webshell开始突破边界
xctf攻防世界 MISC薪手进阶区
通过 G1 GC Log 重新认识 G1 垃圾回收器
在arcgis中以txt格式导出点的坐标
驾驭一切的垃圾收集器 -- G1
maxwell 报错(连接为mysql 8.x)解决方法
网络传输是怎么工作的 -- 详解 OSI 模型
芯动联科冲刺科创板:年营收1.7亿 北方电子院与中城创投是股东
Market status and development prospect forecast of the global shuttleless air jet loom industry in 2022
im即时通讯开发之双进程守护保活实践