This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ti C2000 - cant import projectspec file.

Other Parts Discussed in Thread: TMS320F28035

Hi, 

Im trying to get hands-on with TI RTOS for TMS320F28035 controllers. The Ti-RTOS support is available for the controller. The issue I'm facing is that, I'm unable to import the RTOS example programs provided by TI. I get an error stating

"See details below. 

Error in project-spec:
java.lang.NullPointerException".

I thought that this error exists in my system only. So, I cross verified with another system , which gave me the same error message. I haven't tried importing  *.projectspec files before.

I use CCS v6.1.2 and the latest RTOS for c2000. I'm unable to find whats causing this issue.I posted this question on RTOS forum and I was suggested that I move it here. (link: )

The log file data is :

!ENTRY com.ti.dvt.profileanalysismanagerplugin 4 0 2016-01-11 11:25:05.848

!MESSAGE FrameworkEvent ERROR

!STACK 0

org.osgi.framework.BundleException: Exception in com.ti.dvt.profileanalysismanager.ProfileServerPlugin.stop() of bundle com.ti.dvt.profileanalysismanagerplugin.

at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)

at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)

at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)

at org.eclipse.osgi.container.Module.doStop(Module.java:626)

at org.eclipse.osgi.container.Module.stop(Module.java:488)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)

at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)

at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)

at org.eclipse.osgi.container.Module.doStop(Module.java:626)

at org.eclipse.osgi.container.Module.stop(Module.java:488)

at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)

at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.UnsatisfiedLinkError: D:\ti\ccs\ccsv6\eclipse\plugins\com.ti.dvt.tidisassembly_4.0.0.201501151820\os\win32\msvcp71.dll: Can't find dependent libraries

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary1(Unknown Source)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at com.ti.dvt.tidisassembly.TIDisassemblyJNI.<clinit>(TIDisassemblyJNI.java:98)

at com.ti.dvt.tidisassembly.TIDisassembly.disassemblyClose(TIDisassembly.java:116)

at com.ti.dvt.datamodel.core.SymbolicOperator.reset(SymbolicOperator.java:1781)

at com.ti.dvt.datamodel.core.SymbolicTranslator.reset(SymbolicTranslator.java:385)

at com.ti.dvt.datamodel.core.DataModel.resetAllProcessors(DataModel.java:675)

at com.ti.dvt.datamodel.solution.Solution.reset(Solution.java:1077)

at com.ti.dvt.profileanalysisprovider.AbstractProfileAnalysisProvider.closeSolutions(AbstractProfileAnalysisProvider.java:147)

at com.ti.dvt.profileanalysisprovider.AbstractProfileAnalysisProvider.closeSolution(AbstractProfileAnalysisProvider.java:240)

at com.ti.dvt.profileanalysisprovider.AbstractProfileAnalysisProvider.debugSessionDetached(AbstractProfileAnalysisProvider.java:265)

at com.ti.dvt.profileanalysismanager.ProfileServerPlugin.stop(ProfileServerPlugin.java:829)

at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)

at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)

at java.security.AccessController.doPrivileged(Native Method)

at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)

... 13 more

Root exception:

java.lang.UnsatisfiedLinkError: D:\ti\ccs\ccsv6\eclipse\plugins\com.ti.dvt.tidisassembly_4.0.0.201501151820\os\win32\msvcp71.dll: Can't find dependent libraries

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary1(Unknown Source)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at com.ti.dvt.tidisassembly.TIDisassemblyJNI.<clinit>(TIDisassemblyJNI.java:98)

at com.ti.dvt.tidisassembly.TIDisassembly.disassemblyClose(TIDisassembly.java:116)

at com.ti.dvt.datamodel.core.SymbolicOperator.reset(SymbolicOperator.java:1781)

at com.ti.dvt.datamodel.core.SymbolicTranslator.reset(SymbolicTranslator.java:385)

at com.ti.dvt.datamodel.core.DataModel.resetAllProcessors(DataModel.java:675)

at com.ti.dvt.datamodel.solution.Solution.reset(Solution.java:1077)

at com.ti.dvt.profileanalysisprovider.AbstractProfileAnalysisProvider.closeSolutions(AbstractProfileAnalysisProvider.java:147)

at com.ti.dvt.profileanalysisprovider.AbstractProfileAnalysisProvider.closeSolution(AbstractProfileAnalysisProvider.java:240)

at com.ti.dvt.profileanalysisprovider.AbstractProfileAnalysisProvider.debugSessionDetached(AbstractProfileAnalysisProvider.java:265)

at com.ti.dvt.profileanalysismanager.ProfileServerPlugin.stop(ProfileServerPlugin.java:829)

at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)

at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)

at java.security.AccessController.doPrivileged(Native Method)

at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)

at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)

at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)

at org.eclipse.osgi.container.Module.doStop(Module.java:626)

at org.eclipse.osgi.container.Module.stop(Module.java:488)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)

at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)

at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)

at org.eclipse.osgi.container.Module.doStop(Module.java:626)

at org.eclipse.osgi.container.Module.stop(Module.java:488)

at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)

at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)

at java.lang.Thread.run(Unknown Source)

  • Hello,
    I've seen this error before when proper device support was missing. As a test, can you try creating a new project with device variant "TMS320F28035" and see if that is created corrected?

    If that works, there there must be some other dependency in the .projectspec file that is missing in your environment. What is the exact TI-RTOS example that you are trying to import?

    Thanks
    ki
  • Hi, 

    I tried to create a new project for TMS320F28035 and it was created perfectly, if thats what you meant.

    As for the RTOS example, I tried out a few examples that correspond to the same controller. I re-checked this by running this in another machine that runs CCS. Still the same.

    Thanks

  • What is the exact name of one of the examples? I want to make sure I try one of the same examples.
  • D:\ti\ccs\tirtos_c2000_2_12_01_33\resources\kernelExamples\tiTargetExamples\28xSpecificExamples - **example77

    I tried importing the same examples using the resource explorer, still no difference. If i use resource explorer, im not getting any error message and the project is not getting imported

  • Which examples have you tried via resource example? I can reproduce when I try importing the .projectspec but so far everything via Resource Explorer imports fine
  • Here is a screenshot of the resource explorer window. I tried to open the PIE interrupt example. When I clicked on the "STEP1: IMPORT THE EXAMPLE PROJECT INTO CCS", the project doesn't get imported. Actually there is no response after clicking. If I try to import the project through import project wizard, I get the Error message.

  • Hello,
    I see that you tried the example from SYS/BIOS. I tried the same example from SYS/BIOS 6.42.02.29. What version they you use?

    Also, can you try the one from the TI-RTOS for C2000 package?

    Thanks
    ki
  • Hi Ki,
    Sorry for the delayed response.

    I used SYS/BIOS version 6.45 . And I also tried importing from the TI-RTOS for C2000. It isnt working out.

    Regards.