AnsweredAssumed Answered

What causes the error message: Failed to stop process?

Question asked by river jeep on Mar 2, 2020
Latest reply on Jun 28, 2020 by xiao cheng

On my P2020 platform, using the emulator to download the tcl file, I get the following error:

--------------------------------------------------------------------------------------------------------------------------------

Executing Initialization File: G:\workspace\codewarrior_10_5_workspace\P2020\P2020-core00\CFG\P2020DS_init_core.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::reg PIR %d -np
cmdwin::mem p:0xff700000 = 0x000e0000
thread break: Stopped, 0x0, 0x0, cpuPowerPCBig, P2020-core00.elf (state, tid, pid, cpu, target)
cmdwin::mem p:0xe0005000 = 0x00001000
cmdwin::mem p:0xe0020e44 = 0x0000000C
cmdwin::reg Standard Special Purpose Registers/MSR = 0x02000200
cmdwin::reg regPPCTLB1/L2MMU_CAM1 = 0x500003CAFC080000E0000000E0000001
cmdwin::reg regPPCTLB1/L2MMU_CAM2 = 0x90003FCAFC080000F0000000F0000001
cmdwin::reg regPPCTLB1/L2MMU_CAM8 = 0xA0007FC4FC0800000000000000000001
cmdwin::reg e500 Special Purpose Registers/L1CSR0 = 0x2
cmdwin::reg e500 Special Purpose Registers/L1CSR1 = 0x0
cmdwin::reg e500 Special Purpose Registers/L1CSR1 = 0x2
cmdwin::mem p:0xe0000c08 = 0x000f0000
cmdwin::mem p:0xe0000c10 = 0x8040001b
cmdwin::mem p:0xe0000d08 = 0x00000000
cmdwin::mem p:0xe0000d10 = 0x80F0001d
cmdwin::mem p:0xe0002110 = 0x67000000
cmdwin::mem p:0xe0002000 = 0x0000003f
cmdwin::mem p:0xe0002080 = 0x80014202
cmdwin::mem p:0xe0002104 = 0x40320104
cmdwin::mem p:0xe0002108 = 0xBCBBE747
cmdwin::mem p:0xe000210c = 0x0FA8D110
cmdwin::mem p:0xe0002100 = 0x00030000
cmdwin::mem p:0xe0002114 = 0x24401050
cmdwin::mem p:0xe0002118 = 0x00041621
cmdwin::mem p:0xe000211c = 0x00
cmdwin::mem p:0xe0002120 = 0x00000000
cmdwin::mem p:0xe0002124 = 0x0C30030C
cmdwin::mem p:0xe0002128 = 0xDEADBEEF
cmdwin::mem p:0xe0002130 = 0x02800000
cmdwin::mem p:0xe0002160 = 0x00220001
cmdwin::mem p:0xe0002164 = 0x01401400
cmdwin::mem p:0xe0002170 = 0x89080600
cmdwin::mem p:0xe0002174 = 0x8655F606
cmdwin::mem p:0xe0002e48 = 0x00000000
cmdwin::mem p:0xe0002e58 = 0x00010000
cmdwin::mem p:0xe0002b28 = 0x00000000
cmdwin::mem p:0xe0002b2c = 0x00000000
cmdwin::wait 500
cmdwin::mem p:0xe0002110 = 0xE7000000
cmdwin::wait 1000
cmdwin::mem p:0xe0005000 = 0xF8001011
cmdwin::mem p:0xe0005004 = 0xF8000FF7
cmdwin::mem p:0xe0005008 = 0xF0001001
cmdwin::mem p:0xe000500c = 0xF8000FF7
cmdwin::mem p:0xe00050d0 = 0x00000000
cmdwin::mem p:0xe00050d4 = 0x80000008
cmdwin::mem p:0xe0020000 -np
cmdwin::mem p:0xe0020000 = 0x60000000
cmdwin::reg e500 Special Purpose Registers/IVPR = 0x00000000
cmdwin::reg e500 Special Purpose Registers/IVOR0 = 0x00000100
cmdwin::reg e500 Special Purpose Registers/IVOR1 = 0x00000200
cmdwin::reg e500 Special Purpose Registers/IVOR2 = 0x00000300
cmdwin::reg e500 Special Purpose Registers/IVOR3 = 0x00000400
cmdwin::reg e500 Special Purpose Registers/IVOR4 = 0x00000500
cmdwin::reg e500 Special Purpose Registers/IVOR5 = 0x00000600
cmdwin::reg e500 Special Purpose Registers/IVOR6 = 0x00000700
cmdwin::reg e500 Special Purpose Registers/IVOR8 = 0x00000c00
cmdwin::reg e500 Special Purpose Registers/IVOR10 = 0x00000900
cmdwin::reg e500 Special Purpose Registers/IVOR11 = 0x00000f00
cmdwin::reg e500 Special Purpose Registers/IVOR12 = 0x00000b00
cmdwin::reg e500 Special Purpose Registers/IVOR13 = 0x00001100
cmdwin::reg e500 Special Purpose Registers/IVOR14 = 0x00001000
cmdwin::reg e500 Special Purpose Registers/IVOR15 = 0x00001500
cmdwin::reg e500 Special Purpose Registers/IVOR32 = 0x00001600
cmdwin::reg e500 Special Purpose Registers/IVOR33 = 0x00001700
cmdwin::reg e500 Special Purpose Registers/IVOR34 = 0x00001800
cmdwin::reg e500 Special Purpose Registers/IVOR35 = 0x00001900
cmdwin::mem v:0x00000700 = 0x48000000
cmdwin::mem v:0x00001500 = 0x48000000
cmdwin::reg e500 Special Purpose Registers/IAC1 = 0xfffffffc
cmdwin::reg e500 Special Purpose Registers/DBCR0 = 0x40800000
cmdwin::reg e500 Special Purpose Registers/DBCR1 = 0x00000000
cmdwin::eclipse::config runcontrolsync off
cmdwin::go
cmdwin::wait 50
cmdwin::eclipse::config runcontrolsync on
cmdwin::stop
Failed to stop process
[CCS last error: ELF is not in expected HALT mode ](CCSProtocolPlugin)

-------------------------------------------------------------------------------------------------------------

Using the above configuration on another project, successful download;Download fails in new project。

The difference is that the new project's DDR uses ECC。

 

What causes the error message: Failed to stop process

                                                      [CCS last error: ELF is not in expected HALT mode ](CCSProtocolPlugin)

If it is an error caused by ECC not configured, how do I configure ECC for DDR?

 

Can anyone help me?

Thanks!

Outcomes