I have an application which I’m trying to debug for the first time using S32 Design
Studio on a new MPC5748G processor and the debugger fails to write into flash. See below -
from "127.0.0.1" via 127.0.0.1
2012 P&E Microcomputer Systems,Inc.
-device=MPC5748G -startserver -singlesession -serverport=7224
-interface=USBMULTILINK -speed=1000 -resetdelay=300 -?
has been RESET and is active.
1.01, 04/23/2015, Copyright P&E Microcomputer Systems, www.pemicro.com
Freescale, MPC5748G, 1x32x1524k, desc=CFlash
device=$00F8C000, length=$005F4000, ram=$40000000
programming algorithm ...
- Selected .PCP file has been modified. CRC16 = $6D58
has been erased.
Object File Data ...
Programming flash of device
occured during Flash programming.
This script is compatible with MPC574xG devices.
Initialize all of the Main SRAM - 768KB
RAM from $40000000 to $400BFFFF.
Error downloading to the device.
command received. Halting execution.
In Eclipse I have access to memory and some control over the processor which I halt. Looking over post on this forum I’m speculating
it’s a Censorship/Flash Write enable issue. Here is a memory dump of 0xFFFF_4000 (PASS_LCSTAT), etc. which looks like
there are bits needing to be set to zeros that I could to manually.
Is there a script I can run in powerpc-eabivle-gdb or a tool for JTAG which will set the
processor up for code development assuming it’s not bricked up?
Also what changes a processors Life Cycle status. Is there any type of timer/counter performing this processes in the core?
Any help on this matter would be appreciated.