can not connect to target

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

can not connect to target

1,467 次查看
naderkhamess
Contributor III

Hello,

I was overwriting my existing bootloader by using FLASH APIs. After executing the commands I can not connect with target anymore. Could you please support me here? 

I attached the error. My hardware is S32k146

naderkhamess_0-1679908403474.png

 

0 项奖励
回复
3 回复数

1,438 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi naderkhamess,

It seems that you wrongly modified the value of address 0x400-0x40F with FLASH APIs. Please try to connect the Core and read MDM_AP status register by refer to: 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,431 次查看
naderkhamess
Contributor III

Hi Robin,

I tried now to follow instructions, and its always showing :

" Unlocking device...Timeout while unlocking device."

naderkhamess_0-1679994328177.png

 

0 项奖励
回复

1,415 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Flash memory is not ready (Status[1]) and MCU secured (Status[2]).
Sorry, I'm afraid you need a new chip.