The mpc5748g-lcevb development board I purchased is powered on after connecting to progppcnexus. After clicking connect, the following interface appears. The target may have entered reset escalation. Please power cycle the board.
Power on repeatedly according to the following prompts, and the phenomenon is still.
What is the problem? How to solve it?
The reason will be probably due to feature newly introduced with MPC57xx devices - it is called 'Functional' Reset Escalation and 'Destructive' Reset Escalation (MC_RGM_FRET and MC_RGM_DRET) and it causes that after predefined number of functional reset, destructive reset happen and after predefined number of destructive resets, device will stay in reset until next POR.
The solution is to stop the core just after power-on-reset, attach by debugger and erase MCU/reload the code.
With TRACE32 it can be done by “Halt core at power-on reset” feature (Select in the menu: MPC5XXX - Tools - Halt core at power-on reset.).
If you have only PeMicro debugger available, I have found another thread describing how to attach with PeMicro:
https://community.nxp.com/thread/504643
Also check whether you have properly attached power to the board (DEVKITs and similar boards may have jumpers for selecting power from USB or 5V barrel connector) and sometimes you may see such warning when MCU is just unpowered because of 5V power supply is not attached.
Connection from "127.0.0.1" via 127.0.0.1
PE-ERROR: Warning. Can't read registers while part is running. Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=1000 -port?
CMD>RE
Initializing.
Cannot enter background mode.
Check connections.
Error Resetting device for programming.
Starting reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\win32\gdi\P&E\s32e200_mpc574xg.mac) ...
REM This script is compatible with MPC574xG devices.
REM Clean GPRs to remove residual data after using algorithm
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
Error : Error in ONCE status register during instruction execution.
REM Initialize all of the Main SRAM - 768KB
Initializing RAM from $40000000 to $400BFFFF.
REM Core 0 I-MEM 16K
Initializing RAM from $50000000 to $50003FFF.
REM Core 0 D-MEM 64K
Initializing RAM from $50800000 to $5080FFFF.
REM Core 1 I-MEM 16K
Initializing RAM from $51000000 to $51003FFF.
REM Core 1 D-MEM 64K
Initializing RAM from $51800000 to $5180FFFF.
REM Core 2 I-MEM 16K
Initializing RAM from $52000000 to $52003FFF.
REM Core 2 D-MEM 32K
Initializing RAM from $52800000 to $52807FFF.
REM overlay memory 16K
Initializing RAM from $0D000000 to $0D003FFF.
REM Overlay SRAM Emulation device only Initializing RAM from $0C000000 to $0C0FFFFF.
Reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\win32\gdi\P&E\s32e200_mpc574xg.mac) completed.
MPC574xG Device detected.
PE-ERROR: Error downloading to the device.
Disconnected from "127.0.0.1" via 127.0.0.1
Target Disconnected.
Target Disconnected.