当前位置:网站首页>SWD/JTAG Communication Failure和No Target Connected
SWD/JTAG Communication Failure和No Target Connected
2022-07-16 11:43:00 【我与nano】
一、我们在使用DAP或者JLINK下载代码时,有时候会出现SWD/JTAG Communication Failure错误和No Target Connected 错误
出现这种问题是由于stm32上的SWCLK和SWDIO没有开启。无意识的用了PA13和PA4,这两个脚是决定swclk和swdio的复用的
------导致仿真器无法读取到stm32的芯片,这就是报错的原因,虽然mdk能识别仿真器却无法下载程序。


你的代码里一定有AFIO复用这句话。
这个时候你的板子只能下载一次,在下载是下载不了的,可以称为封印,那么该怎么解封呢
二、解决办法
在刚开始学习32的时候没有下载器,我们会用这个工具进行下载
使用这个软件随便烧写一个hex程序,然后回到KEIL5查看
这个时候就好了,可以进行下载了
总结
采用FLYMCU烧写可以不经过JTAG/SWD烧写,重新烧录程序重启单片机就可以了。
边栏推荐
- Implementation of distributed cronab based on cron library extension
- 自建个性化自动报价系统,应对多变报价模式
- How to design PCB chip heat dissipation pad?
- exchange
- 1.5.1 无限循环
- How to choose MySQL database storage engine? Let's take a look at the performance test
- Keil MDK5.37以上版本自行添加AC5(ARMCC)编译器的方法
- [golang] slice
- “四朵云”的较量
- [harmony OS] [FAQ] Hongmeng application development problem sharing (font / constructor)
猜你喜欢

一款优秀的信息搜集图形化工具Maltego

自建个性化自动报价系统,应对多变报价模式

View for recording a temperature curve
![[AGC] growth service 3-app linking example](/img/35/bd9eddd64ba71d0c625744bc44012a.png)
[AGC] growth service 3-app linking example

如何在Kubernetes上搭建code-server 云IDE平台

Stc8h development (XIV): I2C drive rx8025t high-precision real-time clock chip

生信周刊第36期

架构系列之标准Web系统的架构分层

无心剑中译扎加耶夫斯基《试着赞美这残缺的世界》

Njupt "Xin'an numeral base" Chapter 11 introduction to problem solving
随机推荐
Alipay sandbox tests mobile website payment, prompting that the merchant's cooperation agreement has expired and cannot continue to be used
STC8H開發(十四): I2C驅動RX8025T高精度實時時鐘芯片
NJUPT 《信安数基》第 11 章解题攻略
[HMS core] [wallet kit] [solution] why can't Huawei wallet's client sample code run
如何在Kubernetes上搭建code-server 云IDE平台
宝立食品上交所上市:年营收15.78亿 市值58亿
畅游奢侈品元宇宙Louis:The Game,参与NFT系列数字藏品白撸活动| 教程
PCB芯片散热焊盘如何设计?
“四朵云”的较量
[paid promotion] collection of common problems, basic promotion operation FAQ 2
为何加上@Configuration注解的类会生成cglib代理?
国际NFT交易所排行榜前10名
MYSQL的主主/主从复制/xtrabackup/binlog恢复数据库以及使用ansible的常见模块
Harmonic series are divergent
Etcd database source code analysis -- etcdserver bootstrap initialization cluster and raft
PostgreSQL source code (5) buffer management
调和级数是发散的
Using C language to realize the odd number problem of 0-10 -- Original
如何通过客户价值分析让银行收入倍增
MySQL master / master-slave replication /xtrabackup/binlog database recovery and common modules using ansible