Could not write Ctrl/Stat register
来源:互联网 发布:淘宝优惠劵机器人 编辑:程序博客网 时间:2024/05/20 03:44
在一个新做的stm32系统板时发现,程序无法通过Jlink下载,显示
**JLink Warning: No matching core found.
***JLink Error: SWD-DP error:
Could not write Ctrl/Stat register.
ROMTableAddr = 0x0
**JLink Warning: CPU could not be halted
错误提示信息。
我采用的是SW模式(即四线下载Vcc,Gnd,Swdclk,Swdio)。之前也有自己做几块关于stm32的系统板,均没有遇到这样的问题。后来上网查了一下别人也有类似的提问,有的说是芯片被加密了,有的说是芯片引脚虚焊了(需要重新焊一遍)。但是这两个方式试了一下均没有用,后来对比了之前做画的pcb才发现,原来在复制原理图时不小心导致连接VDDA的引脚被断开了。通过查阅stm32的芯片手册发现该引脚是给cpu的模拟部分的外设供电的,如给ADC,复位模块,锁相环等部分供电的,如下图所示。当该引脚浮空时必定导致模拟外设供电不正常,复位不正常,进而也导致程序烧写出现问题。
因此,只需将该引脚接上VCC即3.3V即可。如下图所示,电容,电感起到滤波、阻交的作用。
所以,有遇到上述问题的同学可能是stm32 VDDA引脚没有接VCC或者该引脚虚焊了。如果是,把VDDA接上vcc或重新焊好就可以了。
0 0
- Could not write Ctrl/Stat register
- Could not write Ctrl/Stat register.
- could not write cpu register R15
- could not write file .project
- Could not write metadata for...
- ISCSI报错iscsiadm: Could not stat
- Could not register HTTP URL with WCF
- CS0016: Could not write to output file
- Could not write to 'conf_global.php'
- could not write bytes broken pipe
- Could not write file: C:\......\.classpath
- Could not write file XXX\.classpath解决
- Ubuntu could not write bytes broken pipe
- Could not write metadata for '/RemoteSystemsTempFiles'.
- could not write bytes: Broken pipe解决
- Could not write metadata for '/RemoteSystemsTempFiles'.
- Could not write file XXX\.classpath解决
- could not write bytes: Broken pipe解决
- perl 数字<->字符串及其进制间的转换
- 杭电2602
- 京东商品详情页应对“双11”大流量的技术实践
- perl的数据结构
- VIM 文件编码识别与乱码处理
- Could not write Ctrl/Stat register
- 一个示例性的Unity Shader例子
- POJ 3734 矩阵加速dp
- 输入带有空格字符串的三种方法
- Android软键盘的用法总结
- 获取Android 光感Sensor的值
- android-Building a Dynamic UI with Fragments
- Apache Kafka:下一代分布式消息系统
- 从菜鸟走向大数据高手