edn stumpy 的博客 ST-LINK 仿真器修复

 
周末不小心烧坏了一个st-link,悲剧,在网上找到下面的文章,据说可以修好。
 
 

ST-LINK 仿真器修复

    ST-LINK损坏,可能是无意将+12V电源线接到了仿真器TVCC引出线上了。表现的症状是能正常连接电脑,能出现可移动磁盘,但接到目标板时会造成目标板一直处于复位状态,仿真时弹出错误30001,无法与目标板通信;打开外壳接上USB连接电脑,发现过一段时间后一8脚芯片逐渐变热变烫,遂断定此芯片烧毁造成故障。 


    从原理图上看到,此芯片为SN74LVC2T45DCUT(见下图),为TI公司生产的电平转换芯片。TVCC接目标板电源正,VDD接仿真器内部电源+3.3V,DIR方向选择引脚接地,信号传输方向固定为B->A,即SWIM和SWIM_RST信号从外部接进来,通过电平转换成3.3V高电平的SWIM_IN和SWIM_RST_IN信号接到仿真器主控芯片输入引脚。


    阅读仿真器主控芯片STM32F103C8T6的芯片手册,发现芯片供电电压为3.3V,此电平转换电路的作用是当外部目标系统电源电压为不同值时都可以转换成3.3V信号,保护仿真器端口不会损坏,保证仿真器的正常工作。但仿真器主控芯片大部分引脚有5V容忍特性,即可直接与5V电平连接。具体为SWIM_IN连接的PB7,PB9,PB10都可以容忍5V,SWIM_RST_IN连接的PB5不容忍5V。


    修复尝试1:将U2去掉,直接将SWIM_IN与SWIM连接,SWIM_RST_IN与SWIM_RST连接,外部接上3.3V供电的目标板,可正常工作。 


    修复尝试2:在尝试1的基础上断开SWIM_RST_IN与SWIM_RST的连接,设计了如下的电平转换电路,将SWIM_RST接在in端,SWIM_RST_IN接在out端,外部接上5V供电的目标板,可正常工作;外部接上3.3V供电的目标板,也能正常工作。(图中接在TVCC上的1K上拉电阻在仿真器电路里已存在R19,不需要焊。)


    在长时间的使用中发现,通过修复尝试2修复后的仿真器能完全恢复原有功能,并稳定工作。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
4 Experiments This section examines the effectiveness of the proposed IFCS-MOEA framework. First, Section 4.1 presents the experimental settings. Second, Section 4.2 examines the effect of IFCS on MOEA/D-DE. Then, Section 4.3 compares the performance of IFCS-MOEA/D-DE with five state-of-the-art MOEAs on 19 test problems. Finally, Section 4.4 compares the performance of IFCS-MOEA/D-DE with five state-of-the-art MOEAs on four real-world application problems. 4.1 Experimental Settings MOEA/D-DE [23] is integrated with the proposed framework for experiments, and the resulting algorithm is named IFCS-MOEA/D-DE. Five surrogate-based MOEAs, i.e., FCS-MOEA/D-DE [39], CPS-MOEA [41], CSEA [29], MOEA/DEGO [43] and EDN-ARM-OEA [12] are used for comparison. UF1–10, LZ1–9 test problems [44, 23] with complicated PSs are used for experiments. Among them, UF1–7, LZ1–5, and LZ7–9 have 2 objectives, UF8–10, and LZ6 have 3 objectives. UF1–10, LZ1–5, and LZ9 are with 30 decision variables, and LZ6–8 are with 10 decision variables. The population size N is set to 45 for all compared algorithms. The maximum number of FEs is set as 500 since the problems are viewed as expensive MOPs [39]. For each test problem, each algorithm is executed 21 times independently. For IFCS-MOEA/D-DE, wmax is set to 30 and η is set to 5. For the other algorithms, we use the settings suggested in their papers. The IGD [6] metric is used to evaluate the performance of each algorithm. All algorithms are examined on PlatEMO [34] platform.
05-24

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值