I have successfully programmed my device but now I cannot connect with MCU.
I use SWD interface. It can be the case that I use SWD pins as output and in my code I set PTA4 and PTA5 as output. Can it be the case?
What can I do?Solved! Go to Solution.
Hi,
It seems to be the case.
It was discussed in this thread: https://community.nxp.com/message/987643
You can use the PEmicro recovery utility mentioned in the thread.
Regards,
Daniel
Hi,
It seems to be the case.
It was discussed in this thread: https://community.nxp.com/message/987643
You can use the PEmicro recovery utility mentioned in the thread.
Regards,
Daniel
Hi Daniel,
I did not have the hardware PE micro, so I tried with the SEGGER.
Trying several times to reset the power of my board, had a moment when I was able to program it.
Okay, that saved my board. However I will go through this problem if I have to use these pins in a project where the pins of the MCU are completely used, and the last resort is to share the SWD pins. I suggest having some commentary on the datasheet of this item, guiding the risks of using SWD pins for general purposes.