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.

CCSTUDIO-SITARA: DSS can not start by version CCS 12.0.0 Linux

Part Number: CCSTUDIO-SITARA

Hi,

i have some java error by staring the debug server script. It happens at the Version 12.0.0. But not at 11.1.0.

Fullscreen
1
2
3
4
~/ti/ccs1200/ccs/ccs_base/scripting/bin$ ./dss.sh ../examples/DebugServerExamples/msp430f5529_ccsSession.js
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Log file is also attached.

1659519973099.log
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
!SESSION 2022-08-03 11:46:12.992 -----------------------------------------------
eclipse.buildId=4.23.0.I20220308-0310
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -product com.ti.ccstudio.branding.product -application com.ti.ccstudio.apps.runScript -product com.ti.ccstudio.branding.product -dss.rhinoArgs ../examples/DebugServerExamples/msp430f5529_ccsSession.js
Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.ti.ccstudio.branding.product -application com.ti.ccstudio.apps.runScript -product com.ti.ccstudio.branding.product -dss.rhinoArgs ../examples/DebugServerExamples/msp430f5529_ccsSession.js
!ENTRY com.ti.common.core 1 0 2022-08-03 11:46:14.367
!MESSAGE path=ccs_base/DebugServer
!ENTRY com.ti.common.core 1 0 2022-08-03 11:46:14.368
!MESSAGE debugServerDir=/home/zhih/ti/ccs1200/ccs/ccs_base/DebugServer
!ENTRY org.eclipse.osgi 4 0 2022-08-03 11:46:14.393
!MESSAGE An error occurred while automatically activating bundle org.eclipse.cdt.core (236).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.cdt.core.CCorePlugin.start() of bundle org.eclipse.cdt.core.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:834)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Best Regards

Haining Zhi

  • Hello,

    Based on your filename I assume you are using an MSP430 device?

    Regards,

    Nick

  • Hi,

    I'm using AM243x. MSP430 is the only a example in the CCS dss.

    Regards

    Haining Zhi

  • Hello Haining,

    This issue is due to some CCS components trying to use some olsolete Eclipse components that no longer come with the versions of Eclipse that is bundled with current CCS versions. The CCS components should be updated to not use these components.

    It should not impact the execution of your script.

    Thanks

    ki  

  • Hi Ki,

    Thanks for the Reply. What should I do? I've tried to update CCS "Help->Check for updates". The error ist still there.

    Regards

    Haining

  • There is no update to remove the messages. However, the messages can be safely ignored. They will not impact execution of the script.

  • Hi Ki,

    sorry, the Warning text has confused. There is not only warnings, but also errors. The DSS script was stopped by the error. The error log is also the attached. Please check it.

    Thanks

    Haining

  • I see a lot of messages in the error log but it is hard to tell the source of the errors. If the DSS script hit an exception, then any DSS error messages for that should appear in the terminal/console. Please provide those messages.

    Thanks

    ki

  • Just to confirm, the below messages can be ignored:

    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See www.slf4j.org/codes.html for further details.

  • Hi Ki,

    there is no more console outputs. Only a popup dialog tells me to see the CCS log file.

  • Haining,

    Ki is out for a while.  I will setup Linux machine and take a look at this.

    Regards,
    john

  • Haining,

    I have machine setup and I can reproduce the same errors you are seeing with failing to load Eclipse components.  I will follow up with the development team and see if there is a workaround.

    Regards

    John

  • Haining,

    I believe we have a workaround that you could try.

    We can get the script to run if we pass in a workspace location.  For example if I am executing this from where the example DSS scripts are located I run with this command:

    ../../bin/dss.sh -dss.workspace /tmp/ws f28335_flash.js

    The key thing is to use 

    -dss.workspace <some location>

    Can you give that a try and see if it helps?

    Regards,

    John

  • Hi John,

    the parameter "-dss.workspace" has worked well. Thanks!

    Regards,

    Haining