AnsweredAssumed Answered

MPC5646C EVB debug stops at 99%

Question asked by Xinwei Chang on Jul 22, 2016
Latest reply on Feb 7, 2017 by Martin Kovar

Hi, my 5646CEVB has problem downloading code. When I load a codewarrior 10.6 project and start to debug, it always stops at 99%. The screen shoot is attached below. Can you figure out what the problem is? Thank you!

 

Executing Initialization File: C:\Users\Administrator\Desktop\ESecure/Project_Settings/Debugger/MPC5646C_VLE.tcl
radix x
cmdwin::eclipse::config hexprefix 0x
cmdwin::eclipse::config MemIdentifier v
cmdwin::eclipse::config MemWidth 32
cmdwin::eclipse::config MemAccess 32
cmdwin::eclipse::config MemSwap off
cmdwin::reset hard
cmdwin::stop
cmdwin::reg regPPCTLB1/MMU_CAM0 = 0xB0000008FE0800000000000000000001
reading SSCM.STATUS ...
cmdwin::mem 0xC3FD8000
  c3fd8000  0x10709261   .p.a 
processsor in single chip mode. start initialization ...
cmdwin::mem 0xFFF38010 = 0x0000C520
cmdwin::mem 0xFFF38010 = 0x0000D928
cmdwin::mem 0xFFF38000 = 0x8000010A
cmdwin::change e200z4 Special Purpose Registers/TCR = 0x0
reading SIUL.MIDR1 ...
cmdwin::mem 0xC3F90004
  c3f90004  0x56464410   VFD. 
reading SIUL.MIDR2 ...
cmdwin::mem 0xC3F90008
  c3f90008  0x3a004311   :.C. 
Current device: MPC5646C, mask 11
init ECC SRAM 0x40000000:0x40000
cmdwin::mem 0x40000000 256 = 0x0
cmdwin::reg General Purpose Registers/GPR11 %d = 1073741952
cmdwin::reg General Purpose Registers/GPR12 %d = 2047
cmdwin::mem 0x40000000 = 0x7D8903A6
cmdwin::mem 40000004 = 0x180B0900
cmdwin::mem 40000008 = 0x1D6B0080
cmdwin::mem 4000000c = 0x7A20FFF8
cmdwin::mem 40000010 = 0xE8000000
cmdwin::reg General Purpose Registers/PC = 0x40000000
cmdwin::go 1
cmdwin::stop
thread break: Stopped, 0x0, 0x0, cpuPowerPCBig, ESecure.elf (state, tid, pid, cpu, target)
evaluate __startup
0x000000C8
cmdwin::reg General Purpose Registers/PC = 0x000000C8
cmdwin::reg General Purpose Registers/SP = 0x3
evaluate ivor_branch_table_p0
0x00010000
cmdwin::reg e200z4 Special Purpose Registers/IVPR = 0x10000
cmdwin::reg e200z4 Special Purpose Registers/IVOR0 = 0x0
cmdwin::reg e200z4 Special Purpose Registers/IVOR1 = 0x10
cmdwin::reg e200z4 Special Purpose Registers/IVOR2 = 0x20
cmdwin::reg e200z4 Special Purpose Registers/IVOR3 = 0x30
cmdwin::reg e200z4 Special Purpose Registers/IVOR4 = 0x40
cmdwin::reg e200z4 Special Purpose Registers/IVOR5 = 0x50
cmdwin::reg e200z4 Special Purpose Registers/IVOR6 = 0x60
cmdwin::reg e200z4 Special Purpose Registers/IVOR7 = 0x70
cmdwin::reg e200z4 Special Purpose Registers/IVOR8 = 0x80
cmdwin::reg e200z4 Special Purpose Registers/IVOR9 = 0x90
cmdwin::reg e200z4 Special Purpose Registers/IVOR10 = 0xa0
cmdwin::reg e200z4 Special Purpose Registers/IVOR11 = 0xb0
cmdwin::reg e200z4 Special Purpose Registers/IVOR12 = 0xc0
cmdwin::reg e200z4 Special Purpose Registers/IVOR13 = 0xd0
cmdwin::reg e200z4 Special Purpose Registers/IVOR14 = 0xe0
cmdwin::reg e200z4 Special Purpose Registers/IVOR15 = 0xf0

Starting 3rd party flash programming...
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : SPECIFY_NETWORKCARD_ENABLED, Value : 0, R) => DI_ERR_NONFATAL
INF: Copyright 2012 P&E Microcomputer Systems,Inc.
INF: Command Line :"C:\Freescale\CW MCU v10.6\eclipse\..\MCU\bin\de.exe" -noni -language en -ORBendPoint giop:tcp:127.0.0.1: -ORBtraceLevel 0
INF: CMD>RE
INF: Initializing.
INF: Target has been RESET and is active.
INF: CMD>CM C:\Freescale\CW MCU v10.6\MCU\bin\Plugins\support\EPPC\gdi\P&E\freescale_mpc5646c_1x32x768k_lcflash.pcp
INF: Initializing.
INF: Initialized.
INF: ;version 1.03, 09/28/2012, Copyright P&E Microcomputer Systems, www.pemicro.com [5646x_3072k_LCFlash]
INF: ;device Freescale, MPC5646C, 1x32x768k, desc=LCFlash
INF: ;begin_cs device=$30000000, length=$00300000, ram=$00300000
INF: Loading programming algorithm ...
INF: Done.
INF: CMD>EM
INF: Erasing.

Outcomes