Hi
I have one TCIEVMK2LX EVM and i want to program it based on TI wiki procedure. Software SDK is Processor SDK Linux for K2L v03.00.00.04 and i use XDS560V2 USB Emulator (external Jtag) . I successfully can format NAND flash. but then i get errors. Following is log of commands and their responses
:
soc@SOC-PC:~/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm$ $DSS_SCRIPT_DIR/dss.sh program_evm.js evmk2l-le format-nand board: evmk2l endian: Little emulation: XDS2xx emulator binaries: /home/soc/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm/binaries/evmk2l/ ccxml: /home/soc/ti/CCSTargetConfigurations/K2L.ccxml Loaded FPGA Image: /home/soc/ti/ccsv6/ccs_base/emulation/drivers/../../common/uscif/./dtc_top.jbc Writer:/home/soc/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm/binaries/evmk2l/nandwriter_evmk2l.out Formatting NAND device ... Initiated NAND Writer Utility Version 01.00.00.05 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Formatted 8192 nand blocks Formatting all nand blocks - Successful Formatting NAND device ...Completed soc@SOC-PC:~/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm$ soc@SOC-PC:~/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm$ $DSS_SCRIPT_DIR/dss.sh program_evm.js evmk2l-le nor board: evmk2l endian: Little emulation: XDS2xx emulator binaries: /home/soc/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm/binaries/evmk2l/ ccxml: /home/soc/ti/CCSTargetConfigurations/K2L.ccxml Loaded FPGA Image: /home/soc/ti/ccsv6/ccs_base/emulation/drivers/../../common/uscif/./dtc_top.jbc Writer:/home/soc/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm/binaries/evmk2l/norwriter_evmk2l.out NOR:/home/soc/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm/binaries/evmk2l/nor.bin Start loading nor.bin SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80000000 on Page 0 of Length 0x4: (Error -1202 @ 0x80000000) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80007ff0 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x8000ffe0 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80017fd0 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x8001ffc0 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80027fb0 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x8002ffa0 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80037f90 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x8003ff80 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80047f70 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x8004ff60 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80057f50 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x8005ff40 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80067f30 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x8006ff20 on Page 0 of Length 0x4: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Writing Memory Block at 0x80077f10 on Page 0 of Length 0x69e0: (Error -1202 @ 0x64) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Memory Block at 0x80077f10 on Page 0 of Length 0x4: (Error -1202 @ 0x80077F10) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) Start programming NOR 2016_10_10_192303 SEVERE: C66xx_0: Can't Run Target CPU: (Error -1202 @ 0x80077F10) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: C66xx_0: Trouble Reading Register PC: (Error -1202 @ 0x0) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) End programming NOR SEVERE: C66xx_0: Trouble Reading Register ControlRegisters.CSR: (Error -1202 @ 0x41) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) soc@SOC-PC:~/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm$ soc@SOC-PC:~/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm$ $DSS_SCRIPT_DIR/dss.sh program_evm.js evmk2l-le nand board: evmk2l endian: Little emulation: XDS2xx emulator binaries: /home/soc/ti-processor-sdk-linux-k2l-evm-03.00.00.04/bin/program_evm/binaries/evmk2l/ ccxml: /home/soc/ti/CCSTargetConfigurations/K2L.ccxml Loaded FPGA Image: /home/soc/ti/ccsv6/ccs_base/emulation/drivers/../../common/uscif/./dtc_top.jbc SEVERE: C66xx_0: Error connecting to the target: (Error -1143 @ 0x0) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.407.3) SEVERE: emulation failure occurred SEVERE: Error connecting to the target: emulation failure occurred org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error connecting to the target: emulation failure occurred (program_evm.js#329) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:204) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at org.mozilla.javascript.gen.c1._c0(program_evm.js:329) at org.mozilla.javascript.gen.c1.call(program_evm.js) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.gen.c1.call(program_evm.js) at org.mozilla.javascript.gen.c1.exec(program_evm.js) at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:503) at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:425) at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:391) at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:382) at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:179) at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:100) at org.mozilla.javascript.Context.call(Context.java:528) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:450) at org.mozilla.javascript.tools.shell.Main.exec(Main.java:162) at com.ti.ccstudio.apps.internal.scripting.RunScript$1.run(RunScript.java:88) Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Error connecting to the target: emulation failure occurred at com.ti.debug.engine.scripting.Target.connect(Target.java:921) at com.ti.debug.engine.scripting.Target.connect(Target.java:863) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145) ... 18 more
Thanks for any help.