MPC5748G开发笔记-----S32DS提示The target may have entered reset escalation

S32DS芯片锁死,提示The target may have entered reset escalation


前言

晚上散步回来兴高采烈的准备调试MPC5748G开发板的FLASH刷写功能,开电脑后看了一眼开发板有点不对劲,复位脚的红灯一直在亮,打开S32DS后发现无法调试,提示he target may have entered reset。
在这里插入图片描述

一、分析原因

感觉芯片可能被锁了

凭借直接感觉芯片被锁了,因为以前做片上FLASH擦除、编程等操作芯片经常出问题。以前接触过各种单片机,NXP,TI等芯片被锁都处理过,感觉应该问题不大,解下锁就行了

不淡定了

经过搜索,很多人遇到这个问题,问题原因与预想的基本一致是FLASH擦除编程时,芯片复位或掉电引起的,有人说单片机死循环进入reset状态且不可恢复,一下子不淡定了,700块的开发板不会就废了吧

柳暗花明

https://community.nxp.com/t5/MPC5xxx/MPC5748G-Cannot-attached-JTAG-after-erase-all/m-p/617380 MPC5748G Cannot attached JTAG after erase all?

‎01-16-2017 02:45 AM 246 Views
lukaszadrapa
NXP TechSupport lukaszadrapa
NXP TechSupport
Hi,

regarding BAF recovery - see this thread:

https://community.nxp.com/message/806415?commentID=806415#comment-806415

Yes, you can do that. Background: if there’s no code in the flash which disables watchdog, the device will be reset several times after power-on and then it will be forced to permanent reset due to reset escalation feature. To avoid that, it is necessary to force the reset pin low, then power-up the device, enter debug mode during reset and disable the watchdog. That’s what the “Halt Core at power-on reset” does.

Regards,

Lukas

https://community.nxp.com/t5/MPC5xxx/Pop-up-dialog-with-quot-The-target-may-have-entered-reset/m-p/666929
‎07-13-2017 12:04 AM 308 Views
martin_kovar
NXP Employee martin_kovar
NXP Employee
Hello,

I have bad news for you. With almost 100% probability, your microcontroller is dead. Please check threads below.

MPC5748G can not attach JTAG

https://community.nxp.com/message/890274

If you have any other questions, please feel free to write me back.

Regards,

Martin

二、尝试修复

根据上面的提示可以先让芯片一直处于复位状态,然后给板子上12V电,此时用S32DS链接板子。于是手一直按着复位键,换上上12V供电,用S32DS连接仿真器,看到命令行有反应,松开复位键后再次连接,板子恢复正常,满血复活。

在这里插入图片描述


总结

通过论坛几位大神的分析,板子复活了,给遇到相同问题的人一些参考。

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值