I'm currently having a strange problem with the MPC5775K.
I'm trying to create my own flash programming tool following AN4365 (https://www.nxp.com/docs/en/application-note/AN4365.pdf ) and this Example JTAG access – Addendum to application notes AN3283 and AN4365.
The external tool is another µC which is bit banging the JTAG messages over GPIO. I am able to enter Debug Mode, but every ~300ms there is an reset on TRST and the communication is also reseted, but I never pull the reset pin down except for the enter debug mode routine. So the MPC5775K must try to reset the JTAGC. When I'm using the Lauterbach Debugger it seems to work. I attached the screenshot from the JTAG communication to show the problem.
The first one is without anything connected, the second one with the lauterbach debugger and the last one with my external tool. In the first screenshot you can clearly see that the MPC5775K is causing the resets. In the last one you can see that the verifying of the Status Register works until the reset occurs. Can anyone explain me why this is happening and how I can solve the problem?
Thanks in advance and regards