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.

CCS/CCSTUDIO: Resource Explorer on Macos (10.11.6) doesn't start

Part Number: CCSTUDIO
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

I have a fresh installation of CCSv7 on my MacBookPro running MacOS El Capitan.  The Resource Explorer window reports that the server fails to start.

There were no other installations made, so the install is clean.  The workspace is new and empty.

The advice I can find on these forums and from web searches includes the following:

  • Reboot windows...which I'm not using.  I rebooted in any case without improvement.
  • Verify that the proxy settings are correct.  I have none and none are needed.
  • Erase tirex temporary files.  The directory given is not used on MacOS and I cannot find the corresponding files on Macos.  Perhaps this is an issue, but I don't know where to find these files.

As far as I can tell, the CCS platform is unusable without Resource Explorer.  So, there is no easy work-around that would ignore the issue.

Is there a log file some place explaining what CCS is doing and why it is failing?  What other advice is given for bringing CCS up on MacOS?

Cheers

  • Here is the tirex log file.

    tirex-2017-12-27.log
    {
        "stamp": "2017-12-27T03:09:46.777Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "dinfra",
        "args": [
            "multiple candidate address ignored",
            "en1",
            {
                "address": "192.168.1.12",
                "netmask": "255.255.255.0",
                "family": "IPv4",
                "mac": "b8:f6:b1:15:91:43",
                "internal": false
            }
        ]
    },
    {
        "stamp": "2017-12-27T21:05:48.530Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "-----TI-REX started at Wed Dec 27 2017 13:05:48 GMT-0800 (PST)"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:48.543Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTP_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:48.544Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTPS_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:48.544Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.NO_PROXY=localhost,127.0.0.0,.toro.design.ti.com"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.173Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Version: 3.6.3+201712041223"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.173Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads dir"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.176Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads.db"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.178Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "content dir: /Users/David/ti"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.178Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db dir: /Users/David/ti/tirex-localserver-3.1.3/.db"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.178Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db logs dir: /Users/David/ti/tirex-localserver-3.1.3/.db/logs"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.178Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "sitemap dir: /Users/David/ti/tirex-localserver-3.1.3/.db/sitemap"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.178Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "downloads dir: /Users/David/ti/tirex-localserver-3.1.3/.downloads"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.181Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: use() called with[]"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.182Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: status {}"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.267Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Starting up local server ..."
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.269Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "CCS host: http://localhost:57206/ide/"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.285Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Connecting to remote server host: http://dev.ti.com/tirex"
        ]
    },
    {
        "stamp": "2017-12-27T21:05:49.299Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Express server listening on port 55432"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:19.673Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "-----TI-REX started at Wed Dec 27 2017 13:22:19 GMT-0800 (PST)"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:19.689Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTP_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:19.689Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTPS_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:19.689Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.NO_PROXY=localhost,127.0.0.0,.toro.design.ti.com"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.204Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Version: 3.6.3+201712041223"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.204Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads dir"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.208Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads.db"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.209Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "content dir: /Users/David/ti"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.209Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db dir: /Users/David/ti/tirex-localserver-3.1.3/.db"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.209Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db logs dir: /Users/David/ti/tirex-localserver-3.1.3/.db/logs"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.209Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "sitemap dir: /Users/David/ti/tirex-localserver-3.1.3/.db/sitemap"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.210Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "downloads dir: /Users/David/ti/tirex-localserver-3.1.3/.downloads"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.212Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: use() called with[]"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.213Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: status {}"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.277Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Starting up local server ..."
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.278Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "CCS host: http://localhost:57624/ide/"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.293Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Connecting to remote server host: http://dev.ti.com/tirex"
        ]
    },
    {
        "stamp": "2017-12-27T21:22:20.307Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Express server listening on port 55432"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.187Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "-----TI-REX started at Wed Dec 27 2017 14:17:56 GMT-0800 (PST)"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.200Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTP_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.200Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTPS_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.200Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.NO_PROXY=localhost,127.0.0.0,.toro.design.ti.com"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.705Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Version: 3.6.3+201712041223"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.706Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads dir"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.709Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads.db"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.711Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "content dir: /Users/David/ti"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.711Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db dir: /Users/David/ti/tirex-localserver-3.1.3/.db"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.711Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db logs dir: /Users/David/ti/tirex-localserver-3.1.3/.db/logs"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.711Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "sitemap dir: /Users/David/ti/tirex-localserver-3.1.3/.db/sitemap"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.711Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "downloads dir: /Users/David/ti/tirex-localserver-3.1.3/.downloads"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.714Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: use() called with[]"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.715Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: status {}"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.781Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Starting up local server ..."
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.782Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "CCS host: http://localhost:49260/ide/"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.797Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Connecting to remote server host: http://dev.ti.com/tirex"
        ]
    },
    {
        "stamp": "2017-12-27T22:17:56.811Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Express server listening on port 55432"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.619Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "-----TI-REX started at Wed Dec 27 2017 14:20:02 GMT-0800 (PST)"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.631Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTP_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.631Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.HTTPS_PROXY=undefined"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.631Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "process.env.NO_PROXY=localhost,127.0.0.0,.toro.design.ti.com"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.973Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Version: 3.6.3+201712041223"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.973Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads dir"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.977Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DELETING downloads.db"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.978Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "content dir: /Users/David/ti"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.978Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db dir: /Users/David/ti/tirex-localserver-3.1.3/.db"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.978Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "db logs dir: /Users/David/ti/tirex-localserver-3.1.3/.db/logs"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.978Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "sitemap dir: /Users/David/ti/tirex-localserver-3.1.3/.db/sitemap"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.978Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "downloads dir: /Users/David/ti/tirex-localserver-3.1.3/.downloads"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.981Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: use() called with[]"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:02.982Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "DB: status {}"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:03.029Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Starting up local server ..."
        ]
    },
    {
        "stamp": "2017-12-27T22:20:03.030Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "CCS host: http://localhost:49431/ide/"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:03.041Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "localserver",
            "Connecting to remote server host: http://dev.ti.com/tirex"
        ]
    },
    {
        "stamp": "2017-12-27T22:20:03.053Z",
        "priority": "INFO",
        "facility": "DAEMON",
        "service": "tirex",
        "args": [
            "Express server listening on port 55432"
        ]
    },
    

  • Marc,

    Can you try the following:
    Close CCS
    Rename /Users/David/ti/tirex-localserver-3.1.3 to /Users/David/ti/backup_tirex-localserver-3.1.3
    Restart CCS

    If that does not work we will need to loop in someone else.

    It is possible to work without Resource Explorer in CCS. You access the online version at Dev.ti.com. Once you find the software package you are interested in you can download it from there. Download and extract it where you want. If you place it in Applications/ti then CCS should discover the package. If you place it somewhere else then you will need to go to the Preferences dialog in CCS and under Code Composer Studio -> Products add the location to the product discovery path.

    Then in CCS you can use the Project -> Import CCS Project menu to import any of the example projects from the software package.

    Regards,
    John
  • No dice. Renamed tirex's folder and restarted CCS. On opening the Resource Explorer, a new tirex directory is created. Same error, though.

    How to we escalate this question?
  • Your suggestion about how CCS will discover applications in the same directory as CCS does not appear to be true. I installed uniflash this way. It isn't detected automatically and when I tell CCS to find the directory where uniflash is installed, CCS does not find the package.

    It appears that there is some kind of incompatibility between my system and CCS. Do you have any further guidance?
  • Marc,

    CCS discovers a couple of different products: compilers and device software products (like SDKs). CCS does not interact with UniFlash so it does not need to discover it. In general CCS includes everything needed to flash an MCU, CC32xx is an exception to that.

    For the ReX issue I am expecting an expert on that area to be available today and I will loop them in.

    Regards,
    John
  • Hi Marc,

    Please check if there's an old node process hanging around and kill it. Then restart CCS. 

    Thanks,

    Oliver

  • Marc

    Were you able to try Oliver's suggestion.

    He is referring to this process:

    Regards,

    John

  • There is no node process running when CCS quits.  When I start Resource Explorer, two node processes start.  After I receive the failure message, there is only one node process active.  Closing CCS terminates the remaining node process.

    As explained in the original post, I tried rebooting the machine.  Running CCS after a fresh boot makes no difference.

  • Hi Marc,

    When Resource Explorer starts up it tries to discover existing installed packages in the ti folder. It could be that there's a package in your folder that causes some problems. We can check this by temporarily pointing Resource Explorer to another folder. Please create a new empty folder (e.g. ~/ti_test) and then change the "contentPath" setting in the app_localserver.json file to this new folder. The file is located in the CCS installation folder: ccsv7/tirex/ti-rex-core/config/app_localserver.json

    Thanks,

    Oliver

  • As this was a fresh install, I would have been very surprised to see this make a difference.  It did not.

    I created a new directory ~/ti/tirex_content and pointed tirex's configuration to that directory.  On startup, REX created a 'zips/' directory, but nothing is ever downloaded to it.

    Are there any log files we can activate to see what TIREX is doing?  It seems like getting some information about the state of the program would help narrow down our search for a solution.  I posted a log file to this bug.  Does it help?  Are there any verbosity flags we can enable?

    Cheers

  • OK, let's leave this new directory in place (make sure it's still empty) and now also delete /Users/David/ti/tirex-localserver-3.1.3. Then restart CCS. I want to make sure the database is clean on start up.

    In addition please send me the log files .log and tirex-out.log from your workspace folder: <workspace-name>\.metadata\.

    Thanks,
    Oliver
  • Marc,

    One thing I would like to confirm to make sure your development is not being held up. Were you able to go to http://dev.ti.com to access the necessary software packages and then use the Project Import tool to import the examples into CCS?  We definitely want to get this issue resolved and we appreciate your help with that but I want to make sure your development is not being held up and that the workaround in my first reply has enabled you to proceed.

    Regards,
    John

  • I have done this a couple of times already. Let me do so one more time.

    Ah, ha. This log file seems to have something interesting within:

    -----TI-REX started at Thu Jan 04 2018 13:15:07 GMT-0800 (PST)
    Thu, 04 Jan 2018 21:15:08 GMT connect deprecated methodOverride: use mTIREX server listening on port 55432
    About to exit with code: 0
  • That is the salient question. There are features in CCS that appear to require Resource Explorer. I was unable to import samples from the SDK, for example. The CCS import does not appear to recognize the sample directories as containing projects.

    So, the answer is that I am blocked until we can either coerce TREX to function, or we can find work-arounds for the TREX features necessary to use CCS.
  • Marc, no this log looks ok. Please also post the .log file. Thanks.
  • 5023.logs.zipMissed that.  Here's an archive with both log files:

  • Marc,

    There's a suspicious exception in the .log file which we are investigating. 

    Thanks,

    Oliver

  • Summarizing our offline discussion:

    • The issue is due to a timeout occurring.  
    • A special build of CCS was created with a much longer timeout.
    • With the new build Resource Explorer comes up fine.

    The fix for this will be included in our next CCS release (8.0).

    Regards,

    John