S32K148 can not download program to flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K148 can not download program to flash

1,692 Views
LSLLL
Contributor I

Maybe the mcu locked,but use JLink can not unlock,the Reset Pin is grounded.The program runs normally.

 

1.bmp

0 Kudos
Reply
6 Replies

1,686 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi wl z,

Please read the MDM_AP status and control registers by refer the steps descripted in Unbricking S32K146.

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 Kudos
Reply

1,674 Views
LSLLL
Contributor I

Thanks,but now i think the debug interface can not be used,because i can not find mcu through the J-Link Commander.

Tags (1)
0 Kudos
Reply

1,665 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Before input "unlock kinetis", you should follow the tips of JLink Commander( Type "connect" to establish a target connection)

0 Kudos
Reply

1,661 Views
LSLLL
Contributor I

Sure,I tried again and again.

2.bmp

0 Kudos
Reply

1,653 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

If it's your custom board, then please check the SWD connection by refer:AN5426: Hardware Design Guidelines for S32K1xx – Application Note

4.2 JTAG and TRACE interface.jpg

If you are using S32K148EVB, have you tried to debug it with onboard OpenSDA? 

0 Kudos
Reply

1,632 Views
LSLLL
Contributor I

Thanks for your reply,it's my custom board,I use multimeter check the SWD connection and it's no problem.

 

0 Kudos
Reply