Hi ,
I am trying to create the Software Functional reset in MPC5746C , but i am getting debug port fail from Lauterbach , looks like debugger is loosing connection due to some reason.
While performing the reset i perform the below instruction
ME_MCTL = (uint32)(( ((uint32)0x0) << 28 ) | 0x00005AF0UL);
ME_MCTL = (uint32)(( ((uint32)0x0) << 28 ) | 0x0000A50F ); (After executing this line i get lauterbach debug port fail)
Can you tell me what could be the cause ?
I am using the Lauterbach Script provided NXP for MPC5746c
Hi David ,
The problem is similar to the problem described in the thread MPC5748G, Lauterbach multiple-reset causes error .
only difference is its happening right after first reset not after 15 resets as described in https://community.nxp.com/thread/355534 .
I tried the solution provided but could not solve it .
thank you
With regards
Rudrappa
Yes, that's why I am asking for the question above. To know whether you are facing reset escalation or just some issue with the debug probe. However I often debug over reset with Lauterbach TRACE32, it should work.
Hi, is the loosing of debug connection the only issue?
I mean whether the code is executed properly after SW reset. You could try to blink LED or print notices to the terminal window to check it.