Hi,
I had disable SWD,RST NMI in main function. So I can not burn the program again.
SIM->SOPT &= ~SIM_SOPT_NMIE_MASK
SIM->SOPT &= ~SIM_SOPT_SWDE_MASK
SIM->SOPT &= ~SIM_SOPT_RSTPE_MASK
Connected to ULINK plus, Keil prompts SWD communication failure.
If the NMI pin is grounded , the program cannot be burned too.
How can I solve the problem?
Thanks.
Hi Jerry,
Please use the Kinetis_Recovery_Utility described in Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power.
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.
-------------------------------------------------------------------------------
It seems nice. But I only have a ulink-plus... Is there any other solution?
Thanks!
To my knowledge, the ulink does not have this capability.
The easiest solution for sure would be to use the P&E probe.
Otherwise you might need to write a script for your debug probe: basically you need to reset the probe very fast in a loop and try to halt the processor, and check with the probe if the target is haltet. Not sure if the ulink has this script capability?
Erich