How to recover S32K148 while debugger can not connect to target

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to recover S32K148 while debugger can not connect to target

1,564 次查看
marcin_krzemins
Contributor I

My image builder tool has created wrong srec binary. After flashing one it is impossible to connect to S32K148 (using J-Link and P&E micro).

I have already tried:

  • "Emergency Kinetis Device Recover by Full Chip Erase" option with P&E and S32DS
  • "Kinetis_Recovery_Utility" with P&E does not do the trick for me.
  • "unlock kinetis" from J-Commander or J-Flash can not erase flash.
  • J-Link command with the script (erase_all_pin.jlk) from topic: https://community.nxp.com/thread/439921?commentID=857127#comment-857127 can not solve the issue (full logs attached):

From MDM-AP Status register (0x34) looks like System is in reset state, system security is enabled and fortunately mass erase is still enabled. I find that mass erase is not working because "Flash memory ready" bit is not set. I assume it is because from some reason processor did not boot.

Is it possible to somehow rescue this chip in this circumstances? What else can I check?

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

1,191 次查看
pchui
Contributor I

Hi Marcin,

I have a S32K148 EVB that won't connect to either PE Micro or J-Link after running firmware that may have misconfigured the flash. I also tried the same four techniques that you tried to unbrick it. Did you a find a solution to recover your system?

Thanks.

Paul

0 项奖励
回复