飞思卡尔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

相关文章
|
6月前
|
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.
464 0
|
5天前
|
物联网
BLE 0x3e HCI_ERROR_CODE_CONN_FAILED_TO_ESTABLISH
BLE 0x3e HCI_ERROR_CODE_CONN_FAILED_TO_ESTABLISH
8 0
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
681 0
|
3月前
|
测试技术
Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法
Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法
128 0
|
5月前
|
开发工具 git
【Git】push代码时候报错,出现fatal: unable to access xxx Recv failure: Connection was reset
【Git】push代码时候报错,出现fatal: unable to access xxx Recv failure: Connection was reset
107 0
|
8月前
|
数据安全/隐私保护
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
144 1
|
9月前
|
算法 Java
22-大厂面试题:Con-current Mode Failure如何导致以及解决
上文我们已经介绍了CMS垃圾收集器的工作原理以及流程,本篇我们接着深入说明CMS垃圾收集器的缺点以及所导致的一些问题应该如何解决。
95 0
|
10月前
|
jenkins 持续交付 网络安全
2. 成功解决 BUG:Exception when publishing, ...[Failed to connect and initialize SSH connection...
SSH: Connecting from host [WIN-...] SSH: Connecting with configuration [192.168....] ... ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [192.168....]. Message [java.net.ConnectException: Connection
1032 0
|
10月前
|
网络协议 安全 Linux
如何修复 SSH Client_loop: send disconnect: Broken pipe Error
如何修复 SSH Client_loop: send disconnect: Broken pipe Error
1556 1
|
11月前
【WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, st】
【WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, st】
143 0