飞思卡尔codewarrior下载出现USBD connection error:Failed to connect to targe(Reason :Target reset pin time out)

简介: 飞思卡尔codewarrior下载出现USBD connection error:Failed to connect to targe(Reason :Target reset pin time out)

飞思卡尔codewarrior下载出现USBD connection error:Failed to connect to targe(Reason :Target reset pin time out)

  1. 检查自己的板子是否上电;
  2. 下载器的BKGD、RESET、以及GND是否和板载MCU对应引脚接触良好;
  3. 检查BDM下载器是否正常工作;(可以通过在好的开发板上下载程序验证下载器是否工作)
  4. 上电检查外置晶振是否起振;(可以使用示波器或者万用表电压档检查)

以上是官方出的板子检查方法,如果是自己设计的板子,需要对照MCU的手册指导来设计PCB,以下以MC9S12X128为例,

检查电路图是否正确,最小系统电路图

Schematic Prints

晶振电路的是否合理,112pin-LQFP,手册PCB指导那一章节

image-20211231092553025

MCU是否和PCB接触良好,尤其检查VCC、VSS以及下载端的BKGN、RESET、GND是否导通;以及检查,MCU管脚号是否和PCB上的一一对应。可以通过芯片上的标记来开,MC9S12XS128MAL的 1 引脚在将芯片上的丝印信息正放的下方一排最左边的一个,也可以通过芯片四个角上刻的圆形凹槽中,最小圆形角上即为1引脚。

image-20211231095424650

==千万不要把正对芯片丝印信息的左上角作为1引脚,不然会出大问题,正常上电没有什么反常(可能逆时针旋转90度芯片引脚没有正负短接,或正负接反),但是,一旦接上BDM下载器,就算下载器没有接入至电脑,当VCC通上电,芯片就会发热烫手(别问我怎么知道的),如果是这个问题,解决办法很简单,就是换一个新的芯片,顺时针旋转90度(如图所示),重新焊上就可以下载程序==

image-20211231100443145

相关文章
|
Web App开发 前端开发
【前端异常】Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
【前端异常】Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
862 0
|
3月前
|
网络安全
client_loop: send disconnect: Connection reset by peerB/s4-5
client_loop: send disconnect: Connection reset by peerB/s4-5
Flutter之运行提示Could not update files on device: Connection closed before full header was received
Flutter之运行提示Could not update files on device: Connection closed before full header was received
767 0
|
数据安全/隐私保护
Do Sync Disk 0 Part 0 Failed, code=S3_F42, msg=Sync Failed after retry 5 times
Do Sync Disk 0 Part 0 Failed, code=S3_F42, msg=Sync Failed after retry 5 times
199 1
|
算法 Java
22-大厂面试题:Con-current Mode Failure如何导致以及解决
上文我们已经介绍了CMS垃圾收集器的工作原理以及流程,本篇我们接着深入说明CMS垃圾收集器的缺点以及所导致的一些问题应该如何解决。
284 0
|
Python
pip 安装库失败问题:Retrying (Retry(total=4, connect=None, read=None, redirect=None, status =None)),原因及解决办法
pip 安装库失败问题:Retrying (Retry(total=4, connect=None, read=None, redirect=None, status =None)),原因及解决办法
18083 0
【WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, st】
【WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, st】
1443 0
|
Python
pip安装第三方库报错WARNING: Retrying (Retry(total=4,connect=None, read=Noneredirect=None,status=None))解决
pip安装第三方库报错WARNING: Retrying (Retry(total=4,connect=None, read=Noneredirect=None,status=None))解决
1678 0
pip安装第三方库报错WARNING: Retrying (Retry(total=4,connect=None, read=Noneredirect=None,status=None))解决
|
Linux
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
638 0
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
1118 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.