S32K144 Stuck in reset loop

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 Stuck in reset loop

3,543件の閲覧回数
MattSki
Contributor I

Hello,

I just received a new board and am trying to troubleshoot an issue. On power on to the board, it seems that the processor is stuck repeating a reset. I have included a screenshot of what I am seeing on a scope trace of the reset pin (pin 97). I cannot figure out what could be causing this, and was hoping someone here would have any ideas.

scope_0.bmp

Thanks in advance!

0 件の賞賛
返信
9 返答(返信)

3,519件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi MattSki,

After mass erase through the Debug Interface(SWD/JTAG), you should be able to program the chip. If you are using S32DS, please check Emergency Kinetis Device Recovery by Full Chip Erase.

Emergency Kinetis Device Recovery by Full Chip Erase.png

If still not able to connect MCU, then I am afraid you need to use the P&E Recovery Utility.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

3,503件の閲覧回数
MattSki
Contributor I

Hi Robin,

Thank you. I am currently using the J-link Base Debugger, and I could not find this option for this device. I then used the PE Micro, and it flashed with no issues. I was wondering how I could make the J-link work? It has worked just fine on a previous board, so the configuration is the same. I also double checked the wiring, and it is also the same. Whenever I go to flash with the J-link, the J-link device LED stays red once it attempts to flash.

I followed this thread: Re: S32K144 Board does not boot/cannot connect SWD... - NXP Community but this did not work.

Thank you,

Matt

0 件の賞賛
返信

3,462件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

If the S32K144 stuck in reset loop, then the Bi-color indicator (J-Link V8 and later) should be ORANGE.

Bi-color indicator (J-Link V8 and later).png

Would you please show me the screenshot of Segger J-Link Commander after you input those commands?
Did you type "connect" to establish a target connection?

0 件の賞賛
返信

3,421件の閲覧回数
MattSki
Contributor I

Hi Robin,

I am unable to connect to the target when the reset pin and VDD are connected. I have included a screenshot of the commander window.

MattSki_0-1690900814950.png

Thank you,

Matt

 

0 件の賞賛
返信

3,402件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Connect to the target when the reset pin and GND(not VDD)are connected. 

0 件の賞賛
返信

3,385件の閲覧回数
MattSki
Contributor I

My mistake. Here are screenshots of Commander.

MattSki_0-1690994274373.png

MattSki_1-1690994344957.png

Thanks.

 

0 件の賞賛
返信

3,366件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

The values of MDM-AP Status Register and MDM-AP Control Register looks ok. And PEMicro can be used for program and debug normally. Strange. What is the version of SEGGER J-Link software? Have you consulted SEGGER's technical support?

0 件の賞賛
返信

3,354件の閲覧回数
MattSki
Contributor I

The commander software is V7.88g . I have not contacted Segger support, as I have used this software on another device with no issues. Since my previous posts I have found another issue with the chip where it does not reset properly with a power reset or with a software reset through the PE Micro. When I do the software reset I get the following message: 

MattSki_0-1691075013774.png

When I do a power reset, the flashed software does not run.

Maybe these issues are related somehow?

Thanks.

0 件の賞賛
返信

3,347件の閲覧回数
MattSki
Contributor I

Never mind about the reset issue, I believe that to be a software bug on my end.

0 件の賞賛
返信