S32K148 can not download program to flash

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

S32K148 can not download program to flash

1,738 次查看
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 项奖励
回复
6 回复数

1,732 次查看
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 项奖励
回复

1,720 次查看
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.

标记 (1)
0 项奖励
回复

1,711 次查看
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 项奖励
回复

1,707 次查看
LSLLL
Contributor I

Sure,I tried again and again.

2.bmp

0 项奖励
回复

1,699 次查看
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 项奖励
回复

1,678 次查看
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 项奖励
回复