Hello
I made a target board for MKE06Z64VLD4.
First, I set new empty project by CW10.6. And I pushed debug button. But It appear loading error ARP......
I try to drive power 3.3V. In this case, Target Connect is success from MultiLink universal.
But Taget is not success 5V power. I sure did install CW10.6 update 2.0.0 and updated Multilink debugger of P&E micro.
following connection message 3.3V and 5.0V
// -----------------------------------------------------3.3V----------------------------------------------------------------------------------------------------
Executing Initialization File: C:\Users\workspace\test3/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
thread break: Stopped, 0x0, 0x0, cpuARMLittle, test3.elf (state, tid, pid, cpu, target)
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
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALH = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALL = 0xE8
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS2 = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS1 = 0x23
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\arm\gdi\P&E\ke06z64m4_pflash_pipeline.arp
INF: Initializing.
INF: Initialized.
INF: ;version 1.02, 02/07/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [ke_64k_pflash_ftmre_m0]
INF: ;device freescale, ke06z64m4, desc=pflash_pipeline
INF: ;begin_cs device=$00000000, length=$00010000, ram=$20000000
INF: Loading programming algorithm ...
INF: Done.
INF: CMD>EM
INF: Erasing.
INF: Module has been erased.
INF: Initializing.
INF: Initialized.
INF: ;version 1.02, 02/07/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [ke_64k_pflash_ftmre_m0]
INF: ;device freescale, ke06z64m4, desc=pflash_pipeline
INF: ;begin_cs device=$00000000, length=$00010000, ram=$20000000
INF: Loading programming algorithm ...
INF: Done.
INF: CMD>PM
INF: Programming.
INF: Processing Object File Data ...
INF: .
INF: Programmed.
INF: CMD>VC
INF: Verifying object file CRC-16 to device ranges ...
INF: block 00000000-000000BF ...
INF: Ok.
INF: block 00000400-00000AFB ...
INF: Ok.
INF: Checksum Verification Successful. (Cumulative CRC-16=$6A7D)
INF: CMD>RE
INF: Initializing.
INF: Target has been RESET and is active.
Executing download task: C:\Users\workspace\test3/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
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALH = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALL = 0xE8
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS2 = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS1 = 0x23
// -----------------------------------------------------5.0V----------------------------------------------------------------------------------------------------
Executing Initialization File: C:\Users\workspace\test3/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
thread break: Stopped, 0x0, 0x0, cpuARMLittle, test3.elf (state, tid, pid, cpu, target)
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
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALH = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALL = 0xE8
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS2 = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS1 = 0x23
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\arm\gdi\P&E\ke06z64m4_pflash_pipeline.arp
INF: Initializing.
INF: Initialized.
INF: ;version 1.02, 02/07/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [ke_64k_pflash_ftmre_m0]
INF: ;device freescale, ke06z64m4, desc=pflash_pipeline
INF: ;begin_cs device=$00000000, length=$00010000, ram=$20000000
INF: Loading programming algorithm ...
INF: Done.
INF: CMD>EM
INF: Erasing.
INF: Module has been erased.
INF: Initializing.
INF: Initialized.
INF: ;version 1.02, 02/07/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [ke_64k_pflash_ftmre_m0]
INF: ;device freescale, ke06z64m4, desc=pflash_pipeline
INF: ;begin_cs device=$00000000, length=$00010000, ram=$20000000
INF: Loading programming algorithm ...
INF: Done.
INF: CMD>PM
INF: Programming.
INF: Processing Object File Data ...
INF: .
INF: Programmed.
INF: CMD>VC
INF: Verifying object file CRC-16 to device ranges ...
INF: block 00000000-000000BF ...
INF: Ok.
INF: block 00000400-00000AFB ...
INF: Ok.
INF: Checksum Verification Successful. (Cumulative CRC-16=$6A7D)
INF: CMD>RE
INF: Initializing.
INF: Target has been RESET and is active.
Executing download task: C:\Users\workspace\test3/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
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALH = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALL = 0xE8
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS2 = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS1 = 0x23
Executing Initialization File: C:\Users\workspace\test3/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
thread break: Stopped, 0x0, 0x0, cpuARMLittle, test3.elf (state, tid, pid, cpu, target)
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
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALH = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_TOVALL = 0xE8
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS2 = 0x03
cmdwin::reg Watchdog timer (WDOG)/WDOG_CS1 = 0x23
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\arm\gdi\P&E\ke06z64m4_pflash_pipeline.arp
INF: Initializing.
INF: Error loading .ARP file : C:\Freescale\CW MCU v10.6\MCU\bin\Plugins\support\arm\gdi\P&E\ke06z64m4_pflash_pipeline.arp. Set PC and Run Error.
ERR: Error loading programming algorithm - load aborted.
ERR: Error occured during Flash programming.
Please follow about this.
Hello, I've found the cause of this problem
PTB4 port is NMI signal of default on MKE06Z64.
I connected this port to LED and resister to GND.
This NMI signal is read when the Reset signal rises.
At this time, NMI port is an internal pull-up. So ,this port cannot wire the pull down circuit.
And therefore, The voltage of NMI port drops in the influence of the LED&resister.
In 5.0V power supply, This voltage decisioned low level for NMI state.
In 3.3V power supply, This voltage decisioned high level for normal state.
If this signal is pulled down, CPU becomes NMI state. This state is the same when the debugger conection.
thanks.