(Connection from "127.0.0.1" via 127.0.0.1 Copyright 2017 P&E Microcomputer Systems,Inc. Command Line :C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.2.201709281658\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=5000 -port=Ì CMD>RE Initializing. MPC574xC Device detected. Target has been RESET and is active. CMD>CM C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.2.201709281658\win32\gdi\P&E\nxp_mpc5748g_1x32x1520k_cflash.pcp Initializing. MPC574xC Device detected. Initialized. ;version 1.05, 06/26/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [5748G_6080k] ;device NXP, MPC5748G, 1x32x1520k, desc=CFlash ;begin_cs device=$00F90000, length=$005F0000, ram=$40000000 Loading programming algorithm ... WARNING - Selected .PCP file has been modified. CRC16 = $5A63 Done. CMD>VC Verifying object file CRC-16 to device ranges ... block 00FA0000-00FA0003 ... Ok. block 00FA0010-00FA0013 ... Ok. block 01000000-01000129 ... )
Solved! Go to Solution.
Hello,
please see the following thread where my colleague Jiri Kral describes, how to resolve this problem.
https://community.nxp.com/thread/494855
Please let me know, if this resolved your problem.
Regards,
Martin
Hello,
please see the following thread where my colleague Jiri Kral describes, how to resolve this problem.
https://community.nxp.com/thread/494855
Please let me know, if this resolved your problem.
Regards,
Martin
Hello Martin,
Thank you for your reply. I tried what you suggested below, and it seems to recover both of my DEVKITs.
jiri.kral@nxp.com Thank you for solving the problem !
Thank you b55689 for your help !
Hi,
First of all, reset escalation is in 99% cases triggered by unserved SWT.
There is by default 15resets set in reset escalation. Your watchdog (SWT) is by default 20ms. After 20ms it must be either serviced, configured or disabled. If not, then after 300ms (15x 20ms) you will get reset escalation (permanent reset).
To see if your board is in reset escalation or it is in permanent reset at all you have to:
Take a scope and measure reset pin (resetb) after power on reset.
If the reset toggles you are in reset escalation.
If the reset is permanent right after power on reset you are in censored mode, secure or you have an ECC fault in HSM flash block (which is considered as side attack - bricked micro)
Share with us the power up sequence measurement, so we can guide you further.
regards,
Peter
Hi Peter,
My problem was solved multiple times for both of my MPC5748G-DEVKITs with the steps given in Unable to start debug session on MPC5748G board. download stops at 98%. Now the problem has resurfaced and is not solvable by the steps given in the above link anymore. As directed by you I have taken the Scope and measured the reset pin, below is the image of the MCU_RST pin after power on. And the red LED is solid ON continuously.
As mentioned by you this looks to be the second case, where the pin is permanently high. Please help me solve the issue.
Also I want to know that what action can result lead to this situation, so that I can avoid hitting this problem in future.
Any help will be appreciated.
Hello Peter,
Thank you for your reply. As i do not have access to a DSO i was not able to confirm the reset pin status.
I tried what Martin has suggested below, and it recovered my DEVKIT.
Thank you for your help !