Other Parts Discussed in Thread: TMS320F28062, TMS320F28335, CCSTUDIO
Hi everybody
I have designed a board with TMS320F28062 .
I use Code Composer Studio Version: 5.5.0.00077 and XDS100_v2 USB Emulator.
I have checked target configuration and test the connection. JTAG test has succeed.
I import an existing sample project into CCS and compile without any problem. From project properties I set the device and emulator properly. And add an new target configuration file (.ccxml) to the project.
When I start to debug I face the following error messages:
Error calling target: onIDEEvent.
java.lang.NullPointerException
at com.ti.dvt.control.engine.activities.controlxml.ControlXMLActivity.callMethod(ControlXMLActivity.java:226)
at com.ti.dvt.analysis.suite.UseCaseActivityProvider.onIDEEvent(UseCaseActivityProvider.java:852)
at com.ti.dvt.ideadapter.IDE.fireEvent(IDE.java:506)
at com.ti.dvt.ideadapter.IDEAdapterManager.setCurrentIDECPU(IDEAdapterManager.java:443)
at com.ti.dvt.ccstudioideadapter.CCStudioIDEAdapter.debugSessionActivated(CCStudioIDEAdapter.java:698)
at com.ti.dvt.ccstudioideadapter.DebugSessionHandler.debugSessionStarted(DebugSessionHandler.java:118)
at com.ti.dvt.ccstudioideadapter.DebugSessionHandler.handleEvent(DebugSessionHandler.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.cdt.dsf.service.DsfSession.doDispatchEvent(DsfSession.java:519)
at org.eclipse.cdt.dsf.service.DsfSession.access$2(DsfSession.java:463)
at org.eclipse.cdt.dsf.service.DsfSession$3.run(DsfSession.java:390)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error during DVT action: Problem: failed to create task or type dvt.import
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
: Problem: failed to create task or type dvt.import
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
C:\ti\ccsv5\ccs_base\common\analysis\usecases\dvt\Cache_Event_Analysis.control.xml:16: Problem: failed to create task or type dvt.import
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:487)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:419)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
at org.apache.tools.ControlTaskRunner.initImpl(ControlTaskRunner.java:308)
at org.apache.tools.ControlTaskRunner$1.run(ControlTaskRunner.java:357)
at com.ti.dvt.control.engine.types.IRun$Run.run(IRun.java:79)
These two error messages repeats 4 times at each debug attempt.
I have never managed to load the out file to the device and debug.
Waiting for your help , suggestions.
Best Regards