Hi:
最近在S32K344EVB上做些调试,在调试过WDT后放置了一段时间(当时都正常),现在发现我的jlink无法连接芯片了,不知道是不是WDT问题,尝试了各种办法都不行,由于疫情在家,手上现在只有jlink,有没有什么办法恢复连接?
目前现状如下:
1、拉低RESET后使用J-Link Commander连接显示如下
2、RESET拉低,unlock kinetis显示如下
3、正常连接后使用Jflash连接显示如下
4、Read AP显示如下(在K1系列芯片解锁文档中有操作DP/AP寄存器,但在K3芯片上不知道需要这么操作,所以只做了读操作)
下面是我的开发板
有人可以帮忙解决吗?
Solved! Go to Solution.
Well, I tested mentioned example on my board and I can see no problem on my side. The device is not resetting like this. Anyway, the debugger should be able to establish the connection in this case. As you suggested, it may be an issue of J-Link. Maybe you can try to ask Segger for help or maybe you can try to get another debugger.
Regards
Lukas
我的S32K344的板子也出现了,完全连接不上JLINK的问题,请问除了换车PE仿真器,还有什么办法可以解决吗?
提示的错误如下:Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
Unknown SDA AP Id detected: 0xFFFFFFFF
InitTarget() end
Connect failed. Resetting via Reset pin and trying again.
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
Unknown SDA AP Id detected: 0xFFFFFFFF
InitTarget() end
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
同样问题,请问是否解决,如何解决的?
一样的只能用PE,配置MCAL的时候,DEBUG脚没有配置,被设置成GPIO口,用JLINK的话就没法连上
如果下载器是通过USB的Hub连接的电脑,解锁失败,那么可以尝试将下载器直接连电脑,使用J-flash的Production Programming。或者反过来,如果下载器直连电脑的,可以通过转接器进行尝试。
Hi,
It's not very clear what happened. Do you mean that you was working with watchdog implemented on SBC or with internal watchdog? Is the SBC forced to debug mode?
Regards,
Lukas
Hi Lukas:
Thanks for your reply! I am used RTD example( Wdg_Example_S32K344) to debug internal watchdog, but I'm not sure that's the problem,because there are no exceptions during debugging. Just placed for a week and then the failure occured.
EVB works on flash mode normally, After the failure occurs, I tried to use debug mode, but it not work, Phenomenon is what I described above.
I found that operating the MDM-AP register on the S32K1 can perform mass erease, can this method be used on the S32K3 and how it works?
Thanks and Regards
Lucien
Hi Lucien,
is the reset LED glowing all the time? I have little bit different revision of this board but it looks like reset LED on your picture. It could be caused by reset escalation when the reset is asserted all the time and power on reset is needed to recover. Do you have an oscilloscope to check if the reset is toggling several times after power on?
Regards,
Lukas
Hi Lukas
Yes! reset LED glowing all the time, but weak light. Reset signal shown below
I've found that someone is having the same problem as me.
S32K3 jtag locked - NXP Community
but I have no PEmicro.What am i going to do?
Well, I tested mentioned example on my board and I can see no problem on my side. The device is not resetting like this. Anyway, the debugger should be able to establish the connection in this case. As you suggested, it may be an issue of J-Link. Maybe you can try to ask Segger for help or maybe you can try to get another debugger.
Regards
Lukas
I have solved it with PE
我的S32K344也碰见锁死的问题,只能用PE仿真器解决吗?