Recieve error message that cannot erase

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Recieve error message that cannot erase

1,113 次查看
haroldvogel
Contributor II

When loading the code to development board receive error message that code not erase the code.  Have reset the board and the Multilink Universal box.  I have also reset Code Warrior and the PC.

 

Have attached the diagnostic file.

Original Attachment has been moved to: 201610281017_DiagnosticInfo.zip

标签 (1)
0 项奖励
3 回复数

776 次查看
haroldvogel
Contributor II

Here is more information the screen display during upload of code (or trying to) to the board:

Executing Initialization File: C:\Users\jvogel.ACICORP\workspace\Pix_4000_Test/Project_Settings/Debugger/init_kinetis.tcl

radix x

cmdwin::eclipse::config hexprefix 0x

cmdwin::eclipse::config MemIdentifier p

cmdwin::eclipse::config MemWidth 32

cmdwin::eclipse::config MemAccess 32

cmdwin::eclipse::config MemSwap off

cmdwin::reg User\/System Mode Registers/LR = 0xFFFFFFFF

cmdwin::reg Breakpoint Unit Registers/BP_COMP0 = 0x0

cmdwin::reg Breakpoint Unit Registers/BP_COMP1 = 0x0

cmdwin::reg Core Debug Registers/DEMCR = 0x1000001

cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION0 = 0x0

cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION1 = 0x0

Starting 3rd party flash programming...

GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : SPECIFY_NETWORKCARD_ENABLED, Value : 0, R) => DI_OK

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: Cannot enter background mode. Check connections.

ERR: Error Resetting device for programming.

Executing Initialization File: C:\Users\jvogel.ACICORP\workspace\Pix_4000_Test/Project_Settings/Debugger/init_kinetis.tcl

radix x

cmdwin::eclipse::config hexprefix 0x

cmdwin::eclipse::config MemIdentifier p

cmdwin::eclipse::config MemWidth 32

cmdwin::eclipse::config MemAccess 32

cmdwin::eclipse::config MemSwap off

cmdwin::reg User\/System Mode Registers/LR = 0xFFFFFFFF

thread break: Stopped, 0x0, 0x0, cpuARMLittle, Pix_4000_Test.elf (state, tid, pid, cpu, target)

cmdwin::reg Breakpoint Unit Registers/BP_COMP0 = 0x0

cmdwin::reg Breakpoint Unit Registers/BP_COMP1 = 0x0

cmdwin::reg Core Debug Registers/DEMCR = 0x1000001

cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION0 = 0x0

cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION1 = 0x0

Starting 3rd party flash programming...

GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : SPECIFY_NETWORKCARD_ENABLED, Value : 0, R) => DI_OK

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: Cannot enter background mode. Check connections.

ERR: Error Resetting device for programming.

Executing Initialization File: C:\Users\jvogel.ACICORP\workspace\Pix_4000_Test/Project_Settings/Debugger/init_kinetis.tcl

radix x

cmdwin::eclipse::config hexprefix 0x

cmdwin::eclipse::config MemIdentifier p

cmdwin::eclipse::config MemWidth 32

cmdwin::eclipse::config MemAccess 32

cmdwin::eclipse::config MemSwap off

cmdwin::reg User\/System Mode Registers/LR = 0xFFFFFFFF

thread break: Stopped, 0x0, 0x0, cpuARMLittle, Pix_4000_Test.elf (state, tid, pid, cpu, target)

cmdwin::reg Breakpoint Unit Registers/BP_COMP0 = 0x0

cmdwin::reg Breakpoint Unit Registers/BP_COMP1 = 0x0

cmdwin::reg Core Debug Registers/DEMCR = 0x1000001

cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION0 = 0x0

cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION1 = 0x0

Starting 3rd party flash programming...

GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : SPECIFY_NETWORKCARD_ENABLED, Value : 0, R) => DI_OK

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: Cannot enter background mode. Check connections.

ERR: Error Resetting device for programming.

0 项奖励

776 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Harold,

- Which mcu do you used ?

Please be sure the debug configure view is right ,  especially the Flash Algorithm:

pastedImage_1.png

Hope it helps

Alice

0 项奖励

778 次查看
haroldvogel
Contributor II

Please tell me how to display the above windows.  I have looked in the help files but they are of no help.  I am using an MKL36Z256VLL4 processor on the board that I am working on.

0 项奖励