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/CC2640R2F: Could not launch TI Cloud Agent: Failed to start TICloudAgent.

Part Number: CC2640R2F

Tool/software: Code Composer Studio

installed ccs901/linux, it works well. but the cloudagent always fails when opening 

https://dev.ti.com/#

with firefox while ti cloudagent bridge is enabled. 
 
and the cloudagent will exit a few seconds unexpectedly later after startup by command line:
root@gentoo:/opt/ti/ccs901/ccs/ccs_base/cloudagent# bash -x ./ti*sh not_chrome
+ export TI_DS_ENABLE_LOGGING=3
+ TI_DS_ENABLE_LOGGING=3
+ export TI_DS_LOGGING_OUTPUT=/tmp/my.log
+ TI_DS_LOGGING_OUTPUT=/tmp/my.log
+ echo '---./ticloudagent.sh ARGS--- not_chrome  '
++ dirname ./ticloudagent.sh
+ pushd .
++ pwd
+ SCRIPTPATH=/opt/ti/ccs901/ccs/ccs_base/cloudagent
+ popd
+ CA_TEMPDIR=/tmp/ticloudagent/
+ CA_UDEV_LINK=/tmp/ticloudagent//libudev.so.0
++ /sbin/ldconfig -p
++ grep 'libudev.so.0 .*64'
+ [[ ! -n     libudev.so.0 (libc6,x86-64) => /usr/lib64/libudev.so.0 ]]
+ '[' -z /root ']'
+ '[' -z '' ']'
+ export TMPDIR=/root/.ti/TICloudAgent/tmp
+ TMPDIR=/root/.ti/TICloudAgent/tmp
+ mkdir -p /root/.ti/TICloudAgent/tmp
+ export PATH=/opt/ti/ccsv8/utils/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/usr/lib/llvm/8/bin:/usr/lib/llvm/7/bin:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:.:/root/.fzf/bin:/usr/sbin:/opt/ti/ccs901/ccs/ccs_base/cloudagent/util
+ PATH=/opt/ti/ccsv8/utils/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/usr/lib/llvm/8/bin:/usr/lib/llvm/7/bin:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:.:/root/.fzf/bin:/usr/sbin:/opt/ti/ccs901/ccs/ccs_base/cloudagent/util
+ '[' not_chrome = not_chrome ']'
+ /opt/ti/ccs901/ccs/ccs_base/cloudagent/node /opt/ti/ccs901/ccs/ccs_base/cloudagent/src/main.js
{"port":37683,"version":"4.7"}
root@gentoo:/opt/ti/ccs901/ccs/ccs_base/cloudagent#


the log file in /tmp shows:
 
root@gentoo:~# cat /tmp/my_ticld.log
2019-05-26T10:56:34.101Z: main: Staring directory = /opt/ti/ccs901/ccs/ccs_base/cloudagent/src
2019-05-26T10:56:34.103Z: Starting Agent!
2019-05-26T10:56:34.171Z: Module( Agent )->Web socket server started!
2019-05-26T10:56:35.961Z: Overridden Proxy =
2019-05-26T10:56:35.982Z: Discovered Module : DeviceDetector
2019-05-26T10:56:35.984Z: Discovered Module : DS
2019-05-26T10:56:35.986Z: Discovered Module : EventBroker
2019-05-26T10:56:36.007Z: Discovered Module : File
2019-05-26T10:56:36.009Z: Discovered Module : Flash
2019-05-26T10:56:36.012Z: rov_server_redirect: looking in: /opt/ti/ccs901/ccs/eclipse/dropins
2019-05-26T10:56:36.012Z: rov_server_redirect: looking in: /opt/ti/ccs901/ccs/eclipse/plugins
2019-05-26T10:56:36.015Z: rov_server_redirect: found: /opt/ti/ccs901/ccs/eclipse/plugins/com.ti.rov_1.0.0.201902251325
2019-05-26T10:56:36.015Z: rov_server_redirect: looking in: /opt/ti/ccs901/ccs/eclipse/Eclipse.app/Contents/Eclipse/dropins
2019-05-26T10:56:36.015Z: rov_server_redirect: looking in: /opt/ti/ccs901/ccs/eclipse/Eclipse.app/Contents/Eclipse/plugins
2019-05-26T10:56:36.016Z: rov_server_redirect: setting XDCTOOLS_JAVA_HOME to /opt/ti/ccs901/ccs/eclipse/jre
2019-05-26T10:56:36.016Z: rov_server_redirect: requiring /opt/ti/ccs901/ccs/eclipse/plugins/com.ti.rov_1.0.0.201902251325/rov_server.js
2019-05-26T10:56:36.029Z: Discovered Module : ROVServer
2019-05-26T10:56:36.145Z: Discovered Module : Serial
2019-05-26T10:56:36.155Z: Discovered Module : TargetSupport
2019-05-26T10:56:36.174Z: Discovered Module : USB-HID
2019-05-26T10:56:36.174Z: Agent main module running on port 37683
root@gentoo:~#

 
 
 
the popup firefox box shows the following message:
==============================
Could not launch TI Cloud Agent: Failed to start TICloudAgent. Please perform the actions listed below and try your operation again.(What's this?)

===============================

  • Ke,

    What Linux distribution are you running?

    Regards,
    John
  • gentoo linux,kernel 5.0.1
  • Ke,

    Sorry for the delay we are going to need to setup a gentoo machine. It is not a distribution that we officially support but I will take a look as we have had a couple users on it lately.

    Regards,
    John
  • Just to confirm

    -you have CCSv9.0.1 installed. It is working fine.
    -when you go to dev.ti.com that is when you run into the issue with the cloud agent

    One thing that is really odd is that it is using the cloud agent from within CCS. It should be installing its own copy.

    John
  • Did you add /opt/ti/ccs901/ccs/ccs_base/cloudagent/util to your PATH? If so can you try removing that.

    John
  • CCSv9.0.1 installed with cloud agent, so it seems not need to download a standalone copy of cloud agent and install it, which will might duplicate configuration for some configuration of udev.

    download and install another standalone cloud agent, the result is the same, the problem still shows up.
  • /opt/ti/ccs901/ccs/ccs_base/cloudagent/util is not included in PATH.
  • In your first post you that this output listed.  It has that location listed in the path.

    and the cloudagent will exit a few seconds unexpectedly later after startup by command line:

    root@gentoo:/opt/ti/ccs901/ccs/ccs_base/cloudagent# bash -x ./ti*sh not_chrome

    + export TI_DS_ENABLE_LOGGING=3

    + TI_DS_ENABLE_LOGGING=3

    + export TI_DS_LOGGING_OUTPUT=/tmp/my.log

    + TI_DS_LOGGING_OUTPUT=/tmp/my.log

    + echo '---./ticloudagent.sh ARGS--- not_chrome  '

    ++ dirname ./ticloudagent.sh

    + pushd .

    ++ pwd

    + SCRIPTPATH=/opt/ti/ccs901/ccs/ccs_base/cloudagent

    + popd

    + CA_TEMPDIR=/tmp/ticloudagent/

    + CA_UDEV_LINK=/tmp/ticloudagent//libudev.so.0

    ++ /sbin/ldconfig -p

    ++ grep 'libudev.so.0 .*64'

    + [[ ! -n     libudev.so.0 (libc6,x86-64) => /usr/lib64/libudev.so.0 ]]

    + '[' -z /root ']'

    + '[' -z '' ']'

    + export TMPDIR=/root/.ti/TICloudAgent/tmp

    + TMPDIR=/root/.ti/TICloudAgent/tmp

    + mkdir -p /root/.ti/TICloudAgent/tmp

    + export PATH=/opt/ti/ccsv8/utils/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/usr/lib/llvm/8/bin:/usr/lib/llvm/7/bin:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:.:/root/.fzf/bin:/usr/sbin:/opt/ti/ccs901/ccs/ccs_base/cloudagent/util

    + PATH=/opt/ti/ccsv8/utils/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/usr/lib/llvm/8/bin:/usr/lib/llvm/7/bin:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:.:/root/.fzf/bin:/usr/sbin:/opt/ti/ccs901/ccs/ccs_base/cloudagent/util

    + '[' not_chrome = not_chrome ']'

    + /opt/ti/ccs901/ccs/ccs_base/cloudagent/node /opt/ti/ccs901/ccs/ccs_base/cloudagent/src/main.js

    {"port":37683,"version":"4.7"}

    root@gentoo:/opt/ti/ccs901/ccs/ccs_base/cloudagent#

    Maybe I should take a step back.  

    1. Are you going to dev.ti.com and then having an issue when cloud agent runs?  i.e. dev.ti.com is causing cloud agent to run to do autodetect of your board?
    2. OR are you running cloud agent yourself?

    John

  • I run the agent manually:
    1. cd //opt/ti/ccs901/ccs/ccs_base/cloudagent
    2. bash -x ticloudagent.sh not_chrome
    the ticloudagent.sh append /opt/ti/ccs901/ccs/ccs_base/cloudagent/util to PATH and export PATH
    using -x to show what ticloudagent.sh is doing, not_chrome for firefox browser
    then the node js run and exit in seconds. but as agent it should not exit.
  • Ok. Why are you running the agent?

    It generally is not meant to be run by users.  Are you trying to debug some other issue?

  • guess the agent should be running for the firefox extenssion to work. so run try to run it manually.
  • Ok that makes sense. If you go to your home directory is there a /TICloudAgent folder?
  • I had installed standalone agent with user ti, it will create /home/ti/TICloudAgent and install agent there. but the dev.ti.com can not detect xds110, wich connected to a cc2640r2f module (this module is not lauchpad, ccs could detect and program it). if manually startup the standalone agent, it will automatically exit a few seconds.

    when start resource explorer from ccs, the agent will be started and kept running.
    /opt/ti/ccs901/ccs/ccs_base/cloudagent/node /opt/ti/ccs901/ccs/ccs_base/cloudagent/src/main.js
    but after opening dev.ti.com/.../explore in firefox, then press "DETECT MY BOARD" button, it pop a message box showing:

    ========
    TI Cloud Agent Setup

    Could not launch TI Cloud Agent: Failed to start TICloudAgent. Please perform the actions listed below and try your operation again.
    Step 1:

    DOWNLOAD and install the TI Cloud Agent Application
    Step 2:
    REFRESH Page
    ==============


    i t seems the firefox cloud extension could not connect to the running agent of ccs. maybe the extension could not find out the port number of the agent, as the port number is not a fixed one.
  • Something is definitely wrong with the agent. However even if we get the that working it is not going to help very much. The auto-detect feature on dev.ti.com only supports a specific set of LaunchPads. It is currently reading out an id on the LaunchPad itself to determine what is connected. With a standalone XDS110 connected to a CC2640R2 module it is just going to know that a 110 is connected.

    That said if you are thinking of using CCS Cloud in the future then we will need to get the agent working for you.
  • Ke

    The TICloudAgent application is not intended to be started from a command prompt, so the behaviour where it exits after a few seconds when started this way is expected. 

    What is supposed to happen is for the browser extension to start the TICloudAgent script in your home folder when the dev.ti.com page is first loaded. If it cannot be started for some reason, you get that a message asking to install it. I am going to assume the browser extension is installed correctly and there is some issue with starting up the TIClougAgent script, or there is an issue with communication between the script and the browser.

    Could you open the /home/ti/TICloudAgent/ticloudagent.sh script in an editor and uncomment the first three commented lines (two "export" command and an "echo"). Exit and restart FireFox. Browse to

    http://dev.ti.com/

     and wait 10 seconds or so. Could you grab the two log files created in /tmp and let me know what the contents are?

  • the standalone agent is installed by user ti, and then start firefox by user it,  agent works, but not boards detected, maybe the agent could not recogenize the CC2640R2f moudle which is not lauchpad.  when firefox shows:

    ====

    ID:N/A

    Serial:GY006945

    Get Started! N/A

    N/A

    Browse examples and documentation using Resource Explorer

    Run interactive demos from the GUI Composer Gallery

    ====

    the log in /tmp read:

    2019-06-01T02:41:20.209Z: main_chrome: Staring directory = /home/ti/TICloudAgent/src
    2019-06-01T02:41:20.210Z: Starting Agent!
    2019-06-01T02:41:20.232Z: Module( Agent )->Web socket server started!
    2019-06-01T02:41:20.599Z: Overridden Proxy = 
    2019-06-01T02:41:20.603Z: Discovered Module : DeviceDetector
    2019-06-01T02:41:20.604Z: Discovered Module : DS
    2019-06-01T02:41:20.604Z: Discovered Module : EventBroker
    2019-06-01T02:41:20.605Z: Discovered Module : File
    2019-06-01T02:41:20.606Z: rov_server_redirect: looking in: /home/eclipse/dropins
    2019-06-01T02:41:20.606Z: rov_server_redirect: looking in: /home/eclipse/plugins
    2019-06-01T02:41:20.606Z: rov_server_redirect: looking in: /home/eclipse/Eclipse.app/Contents/Eclipse/dropins
    2019-06-01T02:41:20.606Z: rov_server_redirect: looking in: /home/eclipse/Eclipse.app/Contents/Eclipse/plugins
    2019-06-01T02:41:20.607Z: Failed to load module : rov_server_redirect.js : Error: rov_server.js was not found (this is expected in cloud)
        at Object.<anonymous> (/home/ti/TICloudAgent/src/modules/rov_server_redirect.js:65:11)
        at Module._compile (module.js:652:30)
        at Object.Module._extensions..js (module.js:663:10)
        at Module.load (module.js:565:32)
        at tryModuleLoad (module.js:505:12)
        at Function.Module._load (module.js:497:3)
        at Module.require (module.js:596:17)
        at require (internal/module.js:11:18)
        at module_1.createModule.then (/home/ti/TICloudAgent/src/host_agent.js:22:42)
        at <anonymous>
    2019-06-01T02:41:20.644Z: Discovered Module : Serial
    2019-06-01T02:41:20.645Z: Discovered Module : TargetSupport
    2019-06-01T02:41:20.647Z: Discovered Module : USB
    2019-06-01T02:41:20.652Z: Discovered Module : USB-HID
    2019-06-01T02:41:20.652Z: Agent main module running on port 38933
    2019-06-01T02:41:20.653Z: len=
    2019-06-01T02:41:20.653Z: 
    2019-06-01T02:41:20.653Z: buf=
    2019-06-01T02:41:20.653Z: {"port":38933,"version":"4.8"}
    2019-06-01T02:41:20.678Z: Module( Agent )->[wss.onConnection]
    2019-06-01T02:41:20.687Z: Module( Agent )->[ws.onMessage]{"command":"listCommands","id":1,"data":[]}
    2019-06-01T02:41:20.688Z: Module( Agent )->[ResponseHandler]{"data":{"commands":["listSubModules","createSubModule","listCommands","addConfigProperty","registerModuleWebSocket","registerModuleByPath"]},"response":1}
    2019-06-01T02:41:20.694Z: Module( Agent )->[ws.onMessage]{"command":"addConfigProperty","id":2,"data":["cloudAgentInstallerServerURL","https://dev.ti.com/ticloudagent"]}
    2019-06-01T02:41:20.694Z: Setting property cloudAgentInstallerServerURL : dev.ti.com/ticloudagent
    2019-06-01T02:41:20.694Z: Module( Agent )->[ResponseHandler]{"response":2}
    2019-06-01T02:41:20.700Z: Module( Agent )->[ws.onMessage]{"command":"createSubModule","id":3,"data":["DeviceDetector"]}
    2019-06-01T02:41:20.701Z: Module( Agent )->Creating new module
    2019-06-01T02:41:20.702Z: Module( DeviceDetector )->Web socket server started!
    2019-06-01T02:41:20.703Z: detected usb id ab12_34cd
    2019-06-01T02:41:20.703Z: detected usb id 1d6b_0002
    2019-06-01T02:41:20.704Z: detected usb id 0b97_7772
    2019-06-01T02:41:20.704Z: detected usb id 0b97_7761
    2019-06-01T02:41:20.704Z: detected usb id 1d6b_0001
    2019-06-01T02:41:20.704Z: detected usb id 1d6b_0001
    2019-06-01T02:41:20.704Z: detected usb id 0451_bef3
    2019-06-01T02:41:20.704Z: detected usb id 1d6b_0001
    2019-06-01T02:41:20.704Z: detected usb id 1d6b_0002
    2019-06-01T02:41:20.704Z: detected usb id 1d6b_0001
    2019-06-01T02:41:20.704Z: detected usb id 1d6b_0001
    2019-06-01T02:41:20.704Z: Module( Agent )->[ResponseHandler]{"data":{"port":42095},"response":3}
    2019-06-01T02:41:20.713Z: Module( DeviceDetector )->[wss.onConnection]
    2019-06-01T02:41:20.719Z: Module( DeviceDetector )->[ws.onMessage]{"command":"listCommands","id":1,"data":[]}
    2019-06-01T02:41:20.719Z: Module( DeviceDetector )->[ResponseHandler]{"data":{"commands":["listSubModules","createSubModule","listCommands","detectDebugProbes","detectDevice","detectDeviceWithProbe","filesNeeded","populateDeviceList"]},"response":1}
    2019-06-01T02:41:20.728Z: Module( DeviceDetector )->[ws.onMessage]{"command":"filesNeeded","id":2,"data":[]}
    2019-06-01T02:41:20.729Z: DriverInstaller options: {}
    2019-06-01T02:41:20.730Z: Getting file info by category: dev.ti.com/.../getFilesByCategory
    2019-06-01T02:41:20.731Z: installer.js using proxy: 
    2019-06-01T02:41:21.751Z: {"files":[{"name":"ccs_base/common/bin/libti_targetdb_parser.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/common/bin/libusb-1.0.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/common/uscif/libjioxds110.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libjtagdata.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libjscxds110.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdserror.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsboard.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdslocal.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsicicle.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsfast3.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsroute.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdstrove.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/xds110/boot_loader.axf","version":"2018-08-08T16:58:32.871Z"},{"name":"ccs_base/common/uscif/xds110/boot_loader.bin","version":"2017-06-12T20:37:30.918Z"},{"name":"ccs_base/common/uscif/xds110/firmware.bin","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/xdsalias.cfg","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/uscif/xdserror.cfg","version":"2017-10-11T21:02:51.407Z"},{"name":"ccs_base/common/uscif/xdsfamily.cfg","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/uscif/xdsinitial.cfg","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/analysis/bin/libAETProperties.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/analysis/bin/libAETPropertyHelper.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libICETargetAdapter.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libDeviceIdentifier.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/analysis/bin/libctoolsndbg.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libAETOperationServer.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/pathinfo.ini","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/analysis/bin/libctools.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/xmldb/aet_config/aetdvrs.xml","version":"2017-04-04T19:46:12.029Z"},{"name":"ccs_base/emulation/drivers/cmapi.out","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/drivers/libcmapi.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/drivers/libprsc.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/FlashDLLDB.xml","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/DSLite","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libDebugProperties.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libXPCOMUtility.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr_gnu.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/components/components.txt","version":"2016-12-16T22:28:53.105Z"},{"name":"ccs_base/DebugServer/bin/libti_xpcom.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr11.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr_tial.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libDebugServer.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/propertyDB/FlashPropertiesTranslator.xml","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/propertyDB/PropertiesDB.xml","version":"2018-08-08T16:58:32.871Z"},{"name":"ccs_base/DebugServer/schemas/PropertiesDB.xsd","version":"2017-06-12T20:37:30.918Z"},{"name":"ccs_base/DebugServer/scripts/cc13xx-cc26xx-mass-erase.dsls","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/schemas/PropertiesSaveSetting.xsd","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/DebugServer/scripts/flash.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/help.dsls","version":"2016-08-22T18:04:31.070Z"},{"name":"ccs_base/DebugServer/scripts/load.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/memory.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/serial.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/common/bin/libCCReg.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c.so.28","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libti_logger.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libMiniDump.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c.so.28.0","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libfsutil.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libsetup_parser.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c_2_8.so","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/targetdb/setup_parser.xsd","version":"2017-10-17T19:25:10.009Z"},{"name":"ccs_base/common/targetdb/setup_parser_cache.xsd","version":"2017-10-17T19:25:10.009Z"},{"name":"ccs_base/common/bin/libstdc++.so.6","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libstdc++.so","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libstdc++.so.6.0.19","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/targetdb/drivers/TI_reg_ids/regids.xsd","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/tpi/tpi.ini","version":"2019-02-07T21:26:32.598Z"}],"drivers":[]}
    2019-06-01T02:41:21.752Z: registrationNeeded = 
    2019-06-01T02:41:21.752Z: Module( DeviceDetector )->[ResponseHandler]{"data":false,"response":2}
    2019-06-01T02:41:21.785Z: Module( DeviceDetector )->[ws.onMessage]{"command":"detectDebugProbes","id":3,"data":[]}
    2019-06-01T02:41:21.790Z: DriverInstaller options: {}
    2019-06-01T02:41:21.791Z: Getting file info by category: dev.ti.com/.../getFilesByCategory
    2019-06-01T02:41:21.791Z: installer.js using proxy: 
    2019-06-01T02:41:22.640Z: {"files":[{"name":"ccs_base/common/bin/libti_targetdb_parser.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/common/bin/libusb-1.0.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/common/uscif/libjioxds110.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libjtagdata.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libjscxds110.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdserror.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsboard.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdslocal.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsicicle.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsfast3.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsroute.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdstrove.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/xds110/boot_loader.axf","version":"2018-08-08T16:58:32.871Z"},{"name":"ccs_base/common/uscif/xds110/boot_loader.bin","version":"2017-06-12T20:37:30.918Z"},{"name":"ccs_base/common/uscif/xds110/firmware.bin","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/xdsalias.cfg","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/uscif/xdserror.cfg","version":"2017-10-11T21:02:51.407Z"},{"name":"ccs_base/common/uscif/xdsfamily.cfg","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/uscif/xdsinitial.cfg","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/analysis/bin/libAETProperties.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/analysis/bin/libAETPropertyHelper.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libICETargetAdapter.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libDeviceIdentifier.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/analysis/bin/libctoolsndbg.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libAETOperationServer.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/pathinfo.ini","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/analysis/bin/libctools.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/xmldb/aet_config/aetdvrs.xml","version":"2017-04-04T19:46:12.029Z"},{"name":"ccs_base/emulation/drivers/cmapi.out","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/drivers/libcmapi.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/drivers/libprsc.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/FlashDLLDB.xml","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/DSLite","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libDebugProperties.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libXPCOMUtility.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr_gnu.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/components/components.txt","version":"2016-12-16T22:28:53.105Z"},{"name":"ccs_base/DebugServer/bin/libti_xpcom.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr11.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr_tial.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libDebugServer.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/propertyDB/FlashPropertiesTranslator.xml","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/propertyDB/PropertiesDB.xml","version":"2018-08-08T16:58:32.871Z"},{"name":"ccs_base/DebugServer/schemas/PropertiesDB.xsd","version":"2017-06-12T20:37:30.918Z"},{"name":"ccs_base/DebugServer/scripts/cc13xx-cc26xx-mass-erase.dsls","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/schemas/PropertiesSaveSetting.xsd","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/DebugServer/scripts/flash.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/help.dsls","version":"2016-08-22T18:04:31.070Z"},{"name":"ccs_base/DebugServer/scripts/load.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/memory.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/serial.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/common/bin/libCCReg.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c.so.28","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libti_logger.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libMiniDump.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c.so.28.0","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libfsutil.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libsetup_parser.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c_2_8.so","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/targetdb/setup_parser.xsd","version":"2017-10-17T19:25:10.009Z"},{"name":"ccs_base/common/targetdb/setup_parser_cache.xsd","version":"2017-10-17T19:25:10.009Z"},{"name":"ccs_base/common/bin/libstdc++.so.6","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libstdc++.so","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libstdc++.so.6.0.19","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/targetdb/drivers/TI_reg_ids/regids.xsd","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/tpi/tpi.ini","version":"2019-02-07T21:26:32.598Z"}],"drivers":[]}
    2019-06-01T02:41:22.640Z: registrationNeeded = 
    2019-06-01T02:41:22.865Z: Module( DeviceDetector )->[ResponseHandler]{"data":{"probes":[{"connectionXml":"TIXDS110_Connection","id":"0","serialNumber":"GY006945","comPorts":["/dev/ttyACM0"],"overrides":{"Debug Probe Selection":"1","-- Enter the serial number":"GY006945"}}]},"response":3}
    2019-06-01T02:41:22.873Z: Module( DeviceDetector )->[ws.onMessage]{"command":"detectDevice","id":4,"data":["0"]}
    2019-06-01T02:41:22.881Z: Module( DeviceDetector )->[ResponseHandler]{"data":{},"response":4}
    

    when open Resource Exploere, the page shows:

    ====

    Select Board or Device

    Use autodetect or choose from the drop-down below.

    No boards detected
    ===

    the log read:

    2019-06-01T02:41:44.432Z: Module( Agent )->[wss.onConnection]
    2019-06-01T02:41:44.438Z: Module( Agent )->[ws.onMessage]{"command":"listCommands","id":1,"data":[]}
    2019-06-01T02:41:44.438Z: Module( Agent )->[ResponseHandler]{"data":{"commands":["listSubModules","createSubModule","listCommands","addConfigProperty","registerModuleWebSocket","registerModuleByPath"]},"response":1}
    2019-06-01T02:41:44.442Z: Module( Agent )->[ws.onMessage]{"command":"addConfigProperty","id":2,"data":["cloudAgentInstallerServerURL","http://dev.ti.com/ticloudagent"]}
    2019-06-01T02:41:44.442Z: Setting property cloudAgentInstallerServerURL : http://dev.ti.com/ticloudagent
    2019-06-01T02:41:44.443Z: Module( Agent )->[ResponseHandler]{"response":2}
    2019-06-01T02:41:44.455Z: Module( Agent )->[ws.onMessage]{"command":"createSubModule","id":3,"data":["DeviceDetector"]}
    2019-06-01T02:41:44.456Z: Module( Agent )->Returning cached value
    2019-06-01T02:41:44.456Z: Module( Agent )->[ResponseHandler]{"data":{"port":42095},"response":3}
    2019-06-01T02:41:44.477Z: Module( DeviceDetector )->[wss.onConnection]
    2019-06-01T02:41:44.492Z: Module( DeviceDetector )->[ws.onMessage]{"command":"listCommands","id":1,"data":[]}
    2019-06-01T02:41:44.492Z: Module( DeviceDetector )->[ResponseHandler]{"data":{"commands":["listSubModules","createSubModule","listCommands","detectDebugProbes","detectDevice","detectDeviceWithProbe","filesNeeded","populateDeviceList"]},"response":1}
    2019-06-01T02:41:44.497Z: Module( DeviceDetector )->[ws.onMessage]{"command":"filesNeeded","id":2,"data":[]}
    2019-06-01T02:41:44.497Z: DriverInstaller options: {}
    2019-06-01T02:41:44.498Z: Getting file info by category: dev.ti.com/.../getFilesByCategory
    2019-06-01T02:41:44.498Z: installer.js using proxy: 
    2019-06-01T02:41:45.072Z: {"files":[{"name":"ccs_base/common/bin/libti_targetdb_parser.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/common/bin/libusb-1.0.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/common/uscif/libjioxds110.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libjtagdata.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libjscxds110.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdserror.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsboard.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdslocal.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsicicle.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsfast3.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdsroute.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/libxdstrove.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/xds110/boot_loader.axf","version":"2018-08-08T16:58:32.871Z"},{"name":"ccs_base/common/uscif/xds110/boot_loader.bin","version":"2017-06-12T20:37:30.918Z"},{"name":"ccs_base/common/uscif/xds110/firmware.bin","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/uscif/xdsalias.cfg","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/uscif/xdserror.cfg","version":"2017-10-11T21:02:51.407Z"},{"name":"ccs_base/common/uscif/xdsfamily.cfg","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/uscif/xdsinitial.cfg","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/analysis/bin/libAETProperties.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/analysis/bin/libAETPropertyHelper.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libICETargetAdapter.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libDeviceIdentifier.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/analysis/bin/libctoolsndbg.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/libAETOperationServer.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/bin/pathinfo.ini","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/analysis/bin/libctools.so","version":"2019-02-07T21:26:32.598Z"},{"name":"ccs_base/emulation/analysis/xmldb/aet_config/aetdvrs.xml","version":"2017-04-04T19:46:12.029Z"},{"name":"ccs_base/emulation/drivers/cmapi.out","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/drivers/libcmapi.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/emulation/drivers/libprsc.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/FlashDLLDB.xml","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/DSLite","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libDebugProperties.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libXPCOMUtility.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr_gnu.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/components/components.txt","version":"2016-12-16T22:28:53.105Z"},{"name":"ccs_base/DebugServer/bin/libti_xpcom.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr11.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libtiofr_tial.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/bin/libDebugServer.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/propertyDB/FlashPropertiesTranslator.xml","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/propertyDB/PropertiesDB.xml","version":"2018-08-08T16:58:32.871Z"},{"name":"ccs_base/DebugServer/schemas/PropertiesDB.xsd","version":"2017-06-12T20:37:30.918Z"},{"name":"ccs_base/DebugServer/scripts/cc13xx-cc26xx-mass-erase.dsls","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/DebugServer/schemas/PropertiesSaveSetting.xsd","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/DebugServer/scripts/flash.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/help.dsls","version":"2016-08-22T18:04:31.070Z"},{"name":"ccs_base/DebugServer/scripts/load.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/memory.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/DebugServer/scripts/serial.dsls","version":"2018-10-30T14:04:14.809Z"},{"name":"ccs_base/common/bin/libCCReg.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c.so.28","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libti_logger.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libMiniDump.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c.so.28.0","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libfsutil.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libsetup_parser.so","version":"2019-04-29T19:02:11.854Z"},{"name":"ccs_base/common/bin/libxerces-c_2_8.so","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/targetdb/setup_parser.xsd","version":"2017-10-17T19:25:10.009Z"},{"name":"ccs_base/common/targetdb/setup_parser_cache.xsd","version":"2017-10-17T19:25:10.009Z"},{"name":"ccs_base/common/bin/libstdc++.so.6","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libstdc++.so","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/common/bin/libstdc++.so.6.0.19","version":"2018-04-26T19:26:26.530Z"},{"name":"ccs_base/common/targetdb/drivers/TI_reg_ids/regids.xsd","version":"2016-05-17T14:20:06.063Z"},{"name":"ccs_base/emulation/tpi/tpi.ini","version":"2019-02-07T21:26:32.598Z"}],"drivers":[]}
    2019-06-01T02:41:45.072Z: registrationNeeded = 
    2019-06-01T02:41:45.072Z: Module( DeviceDetector )->[ResponseHandler]{"data":false,"response":2}
    2019-06-01T02:41:45.083Z: Module( DeviceDetector )->[ws.onMessage]{"command":"detectDebugProbes","id":3,"data":[]}
    2019-06-01T02:41:45.249Z: Module( DeviceDetector )->[ResponseHandler]{"data":{"probes":[{"connectionXml":"TIXDS110_Connection","id":"0","serialNumber":"GY006945","comPorts":["/dev/ttyACM0"],"overrides":{"Debug Probe Selection":"1","-- Enter the serial number":"GY006945"}}]},"response":3}
    2019-06-01T02:41:45.258Z: Module( DeviceDetector )->[ws.onMessage]{"command":"detectDeviceWithProbe","id":4,"data":[{"connectionXml":"TIXDS110_Connection","id":"0","serialNumber":"GY006945","comPorts":["/dev/ttyACM0"],"overrides":{"Debug Probe Selection":"1","-- Enter the serial number":"GY006945"}}]}
    2019-06-01T02:41:45.262Z: Module( DeviceDetector )->[ResponseHandler]{"data":{},"response":4}
    

    when exit firefox, the log read:

    2019-06-01T02:42:04.919Z: Module( Agent )->Socket closed, wss.clients.size = 1
    2019-06-01T02:42:04.922Z: Module( DeviceDetector )->Socket closed, wss.clients.size = 1
    2019-06-01T02:42:04.923Z: Module( DeviceDetector )->Socket closed, wss.clients.size = 0
    2019-06-01T02:42:04.924Z: Module( Agent )->Socket closed, wss.clients.size = 0
    

    but if firefox start by user root, the agent would not start, and there's no log in /tmp, and the agent not work.

    so it's clear that

    1. the firefox must started by the user who installed the standalone agent to make cloud agent work. other users start firefix will not work.

    2. the agent could not detect non-launchpad CC2640R2F modules connected by XDS110,