can not connect to target

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

can not connect to target

520 Views
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 Kudos
3 Replies

491 Views
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 Kudos

484 Views
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 Kudos

468 Views
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.