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.

When start CTT, can't select device

Other Parts Discussed in Thread: CLOCKTREETOOL

OS is windows 10, Install java 1.8.0_231, download CTT-Automotive-v1.0.0.8, and install.

After install, right click of CTT-Automotive-v1.0.0.7.jar, 

On CTT UI, can't select any device.

  •  [quote user="user5892527"]

    OS is windows 10, Install java 1.8.0_231, download CTT-Automotive-v1.0.0.8, and install.

    After install, right click of CTT-Automotive-v1.0.0.7.jar, 

    On CTT UI, can't select any device.

  • In your installation folder do you have "XMLFiles" folder? This usually happens when the install manager does not unpack all necessary folders in the destination directory. Make sure you install the tool in a directory where you have a RW access (like on the desktop or something). 

    Hope it helps,

    Alex

  • Yes,  have "XMLFiles" folder, and the file is not read only.

  • Can you try the attached package instead? I wonder if the download from ti.com site doesn't work for you.

    CTT-Automotive-v1.0.0.8.zip

    thanks,

    Alex

  • Hello again,

    It's been a day or so with no response. Did you have a chance to try the attached file?

    thanks,

    Alex

  • Hi Alex

    The attached file is same as I used before. I compared by beyond compare.

  • Hello,

    Again this has to be something wrong with the way your system sees these xmls. Could that be the chinese encoding? Can you do this for me please. Open a command line and do 

    java -jar <CTT path to jar>/<jar file>

    then send me the error message?

    thanks,

    Alex

  • Thank you Alex

    It's OK when go to CTT path first, then start jar file.

    The command is:

    cd <CTT path to jar>

    java -jar CTT-Automotive-v1.0.0.8.jar

    Then can select divice.

    java -jar <CTT path to jar>/<jar file>, is not OK

    The release is search device_SR.xml in current directory.

    C:\Users\fengjiang>java -jar C:\ti_ctt\TI_Clock_Tree_Tool\CTT-Automotive-v1.0.0.8\CTT-Automotive-v1.0.0.8.jar
    java.io.FileNotFoundException: C:\Users\fengjiang\XMLFiles\device_SR.xml (系统找不到指定的路径。)
    java.io.FileNotFoundException: C:\Users\fengjiang\XMLFiles\device_SR.xml (系统找不到指定的路径。)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at org.ti.clockTreeTool.SiliconRevision_XMLParser.ParserSiliconRevision_XML.parseXMLFile(ParserSiliconRevision_XML.java:44)
    at org.ti.clockTreeTool.SiliconRevision_XMLParser.ParserSiliconRevision_XML.<init>(ParserSiliconRevision_XML.java:34)
    at org.ti.clockTreeTool.infoScreen.checkDev.prepareGUI(checkDev.java:102)
    at org.ti.clockTreeTool.infoScreen.checkDev.<init>(checkDev.java:45)
    at org.ti.clockTreeTool.simulation.ClockTreeTool.main(ClockTreeTool.java:85)

  • That's OK, this didn't work for me either, so you are right, CD first into the install folder where the jar is located and then do just "java -jar CTT-Automotive-v1.0.0.8.jar".

    So this worked for you. Please mark this post as resolved. 

    However, I want to make sure the issue is not happening for other users as well. How do you run jar outside the console? You said you right-click and then what do you select? 

    thanks,

    Alex