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?
It seems to be the case.
It was discussed in this thread: S32K144 -Conflict in PORTA PIN5 CFG vs RESET signal
You can use the PEmicro recovery utility mentioned in the thread.
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.
Retrieving data ...