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 Thinks Resolved

CCS/MSP-EXP430FR2433: TI Cloud Bridge problem

Prodigy 50 points

Replies: 10

Views: 691

Part Number: MSP-EXP430FR2433

Tool/software: Code Composer Studio

Hello,

We are just starting out on the MSP430.
I have several launchpads for various micros in this family.
I have installed Code Composer Studio but am experiencing a problem with TI Cloud Bridge.

Code Composer Studio version 8.2.0.00007 (latest version as at today).
I used the offline installer (before that, I had installed from web/ then I uninstalled/ reinstalled using the offline installer as one of the many things I tried to resolve the problem with TI Cloud Bridge).

Windows 10

Installation of Code Composer Studio itself was successful.

For my first usage, I selected FR2433 launchpad (PCB connected via its USB cable).
Then Software --> Demos --> Out of Box Experience (GUI)

As documented for a first usage,
the "TI Cloud Agent Installation" window appears, showing the two clickable steps, i.e.,
Step 1: Install browser extension
Step 2: Download and install the TI Cloud Agent Application
there is also a "Finish" clickable button at the bottom, following the two steps.

Clicking on "Step 1", results in nothing apparently happening.
The documentation indicates that some sort of dialogue should occur - but I don't see that!

I was wondering if something had actually happened with Step 1 (despite not having any feedback/ dialogue),
so I moved on to clicking "Step 2".
That results in download of the file ticloudagent__2.exe.
I found the .exe file and ran it.
Then I pressed the "Finish" clickable button at the bottom.

The problem is that, after a delay, the window with the two steps reappears.

The supported browsers are documented as being Chrome, Firefox and Safari.

I looked in all three of these but didn't see the TI Cloud Agent add-on in any of them.

Needless to say, at all times, I had disabled the Windows Defender security as is indicated in the help document.

Following Step 2, looking at Windows "Add and Remove programmes", "TI Cloud Agent" is seen with a file size of 26Mb.
I repeated the overall process many times, uninstalling that "TI Cloud Agent" first.

Presumably, "Step 1" is supposed to find the app and make it accessible to the browser?
There does not seem anywhere in CCS to define the browser being used, so I assume that it is the browser currently selected in Windows as being the default browse.
Based on this, I repeated the overall process several times, after first selecting Chrome, Firefox and Safari in turn as the fault browser.
[All browsers were checked as being fully up to date - i.e., the latest versions.]

At no time did I see Step 1 result in a browser showing the "TI ..." as being present as an associated add-on.

Using Chrome, I was able to myself find the TI app and manually add it to Chrome.
In effect, doing that sort of bypasses Step 1.
However, that fudge fails to solve the problem, i.e., after then doing Step 2 and clicking "Finish", the window with the two steps reappears yet again!

It does not seem possible to find the TI app and add it within Firefox and Safari - their search facilities fail to find it.

Reading some postings, it was indicated that it may be necessary to do things whilst being logged in as "Administrator".
I therefore repeated all the above attempts, whilst logged in as "Administrator".
The problem unfortunately persists.

All guidance in the "TI Cloud Agent - Texas Instruments Wiki" (seen after clicking "Help. I already did this") was followed,
i.e., relating to disabling Windows security and ensuring appropriate settings in Chrome, Firefox and Safari.

The log file is as below:
This is based on my last attempt, after uninstalling the "TI Cloud Agent" (that had resulted from a previous Step 2), Chrome set as default browser (having also removed the TI app which I had previously found for it).
i.e., the log then corresponds to having pressed Steps 1 and 2 under these conditions and whilst being logged in as "Administrator".

my_ticld.log
2018-12-10T15:02:16.981Z: main_chrome: Staring directory = C:\Users\Douglas\TICloudAgent\src
2018-12-10T15:02:16.981Z: Starting Agent!
2018-12-10T15:02:17.012Z: Module( Agent )->Web socket server started!
2018-12-10T15:02:17.525Z: Overridden Proxy =
2018-12-10T15:02:17.525Z: Discovered Module : DeviceDetector
2018-12-10T15:02:17.541Z: Discovered Module : DS
2018-12-10T15:02:17.541Z: Discovered Module : EventBroker
2018-12-10T15:02:17.556Z: Discovered Module : File
2018-12-10T15:02:17.556Z: Discovered Module : Flash
2018-12-10T15:02:17.572Z: rov_server_redirect: looking in: C:\Users\eclipse\dropins
2018-12-10T15:02:17.572Z: rov_server_redirect: looking in: C:\Users\eclipse\plugins
2018-12-10T15:02:17.587Z: rov_server_redirect: looking in: C:\Users\eclipse\Eclipse.app\Contents\Eclipse\dropins
2018-12-10T15:02:17.587Z: rov_server_redirect: looking in: C:\Users\eclipse\Eclipse.app\Contents\Eclipse\plugins
2018-12-10T15:02:17.603Z: Failed to load module : rov_server_redirect.js : Error: rov_server.js was not found (this is expected in cloud)
at Object.<anonymous> (C:\Users\Douglas\TICloudAgent\src\modules\rov_server_redirect.js:64: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 (C:\Users\Douglas\TICloudAgent\src\host_agent.js:22:42)
at _fulfilled (C:\Users\Douglas\TICloudAgent\src\node_modules\q\q.js:854:54)
2018-12-10T15:02:17.641Z: Discovered Module : Serial
2018-12-10T15:02:17.650Z: Discovered Module : TargetSupport
2018-12-10T15:02:17.665Z: Discovered Module : USB-HID
2018-12-10T15:02:17.673Z: Agent main module running on port 61208
2018-12-10T15:02:17.681Z: len=
2018-12-10T15:02:17.686Z:


Best Regards,
Douglas

  • Guru 296795 points
    Hi Douglas,
    I escalated the issue to our engineering team and will let you know of any response I get.

    Thanks
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • Genius 13880 points
    Hi Douglas,

    Let's take Chrome as an example. The "step 1" button is supposed to take you to here: chrome.google.com/.../pfillhniocmjcapelhjcianojmoidjdk and there should be an "Add to Chrome" button in the top right. If you follow the instructions for adding the extension, it would get added and appear in the chrome://extensions/ URL.

    We need the extension to allow the rest of the app to work. As you noticed, it will keep asking you if the extension cannot be found.

    If the extension is not being added when you click the step 1 button, could you confirm whether you may have permission restrictions on making browser changes?
  • In reply to AndyW:

    Hello,

    When I click the "step 1" button, nothing happens.
    Actually, to be more precise, a little text or data is sometimes seen flashing across at the bottom right of the screen - maybe it relates to writing to the log file.
    It comes and goes so quickly that I can't see the details.

    Certainly, there is nothing like the opening of the Chrome screen you illustrate in the provided link: chrome.google.com/.../pfillhniocmjcapelhjcianojmoidjdk

    As I previously wrote, I was able to subsequently add that app manually from within Chrome itself - that process involved the same or similar screen as you illustrate.


    Even having manually added the TI app, the CCS system does not consider that Step 1 has been completed.

    Consequently, I also then tried deleting the app from within Chrome, hoping that Step 1 would do its job by properly installing it and CCS would then know that the app was present.

    You ask whether I may have permission restrictions on making browser changes.
    I don't understand how I could check that.
    However, I am working on my own computer and can either log in under my user name or as Administrator.
    No special limitations have defined on this Windows 10 machine.
    As I explain above, I was able to add that app manually from within Chrome itself - that seems to demonstrate that there are no permission restrictions.

    I also ensured all aspects relating to the browser settings are as defined in the TI help file.

    Best Regards,
    Douglas

  • Genius 13880 points

    In reply to Douglas Reid:

    Thank you for the detailed reply. As you say, you have full access to your PCs resources so there should be no permission issues. It should not matter if you install the TICloudAgent Bridge extension manually (as you did) or through the step 1 link.  There is something wrong here though since the step 1 link does not take you to the google download location and the extension is not detected by the TI web page.  I think we need to figure out what is affecting the extension install.

    If you type "chrome://extensions/" in the URL bar, could you check that the TICloudAgent extension is enabled?  Could you also have a look at any other enabled extensions that could potentially be interfering?  I have not heard of any issues with other extensions, but maybe there is something in your environment that we haven't seen yet. I wish I could be more specific, but I don't know what exactly what to look for. Perhaps you have something installed that interacts with opening new URLs? If you see anything suspect, you could temporarily disable that extension and try the dev.ti.com page again.

  • In reply to AndyW:

    As I previously wrote, the "step 1" button is ineffective whether Chrome, Firefox or Safari is set as the default browser.

    You write that

    > It should not matter if you install the TICloudAgent Bridge extension manually (as you did) or through the step 1 link.

    Consequently, I manually installed in Chrome.

    [It does not seems to be possible to find the app from either Firefox or Safari.]

    ChromeExtensions.png

    This shows the installed apps.

    This is the result of typing "chrome://extensions/" in the URL bar

    I have not myself installed any apps, apart from this TICloudAgent Bridge.

    ChromeTICloudAgent.png

    This shows the installed app after pressing details.

    I changed the "Allow in incognito" to be blue.

    I don't understand the explanation of what this "Allow in incognito" implies.

    Anyway, I have tried with it for both on and off.

    CCS continues to not work properly, i.e., the window with the two steps reappears yet again!

  • In reply to Douglas Reid:

    P.S.
    I also tried with all those other apps seen in ChromeExtensions.png disabled, i.e., only with the TICloudAgent app enabled.
  • In reply to Douglas Reid:

    Hello Andy,

    I have spent a lot of time trying various things in an attempt to get around the problem (but without any success).
    In particular, I deleted all but the TI app in the browsers, uninstalled and reinstalled various programmes, removed/ uninstalled numerous Windows bloatware programmes that were not being used, etc.
    I also disabled all aspects of Windows Defender (inc. its firewall and everything else).

    I should appreciated if you could investigate the problem based on the following observations:
    (the log file now seems different from that which I previously posted)

    With Chrome set as the default browser:
    [The TI app had been manually added to Chrome.]

    ticloudagent_install_ForChrome161218.log
    Near the end of the log file:
    [No error messages are seen in the first part of the file - if you need, I can post the complete file]
    ...
    Certificate "Texas Instruments Incorporated" already in store.
    CertUtil: -addstore command completed successfully.

    Script stderr:

    Installing target support (This may take some time)
    Executing C:\Users\Douglas\TICloudAgent/node.bat
    Script exit code: 1

    Script output:
    no valid command line parameter passed

    Script stderr:
    Program ended with an error exit code

    Error running C:\Users\Douglas\TICloudAgent/node.bat : Program ended with an error exit code
    Creating Uninstaller
    Creating uninstaller 25%
    Creating uninstaller 50%
    Creating uninstaller 75%
    Creating uninstaller 100%
    Uninstaller icon changed
    Installation completed
    Log finished 12/16/2018 at 08:19:25

    The same log file was also generated when ticloudagent__2.exe was "run as administrator".

    -------------------
    I had previously uninstalled the Firefox browser.
    I now reinstalled Firefox.
    Looking at its settings, it already "knew" of the existence of the TI app.

    Firefox was then set as the default browser and CCS run again.

    What appears to be the same log file was then generated when ticloudagent__2.exe was "run as administrator".
    The conclusion is that ticloudagent__2.exe is not concerned of (probably not aware of) which browser is present or set as default.

    --------------------
    node.bat contains:
    @echo off
    set PATH=%~dp0\util;%PATH%
    reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS_BIT_SIZE=32||set OS_BIT_SIZE=64
    C:\Users\Douglas\TICloudAgent/node C:\Users\Douglas\TICloudAgent/src/installer/cli.js --installer ticloudagent__2.exe --quiet true

    ---------------------
    e2e.ti.com/.../2264910
    This thread mentions some aspects, which led me to do the following:

    ---------------------
    I tried running node.bat from Windows PowerShell:

    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    PS C:\WINDOWS\system32> C:\Users\Douglas\TICloudAgent/node.bat
    no valid command line parameter passed

    ---------------------
    I also tried running C:\Users\Douglas\TICloudAgent/ticloudagent.bat from Windows PowerShell:

    PS C:\WINDOWS\system32> C:\Users\Douglas\TICloudAgent/ticloudagent.bat
    {"port":53403,"version":"4.7"}

    [Then it seems to hang, i.e., the PowerShell C:\WINDOWS\system32> prompt doesn't return.


    The fault description remains as I previously posted, i.e., "TI Cloud Agent Installation" screen continually appears in "Resource Explorer",
    even after running ticloudagent__2.exe

    Best Regards,
    Douglas

  • Guru 296795 points

    In reply to Douglas Reid:

    Hi Douglas,
    Sorry for the delayed response. The issue is still under investigation, but frankly we are running out of troubleshooting ideas. We are still looking but if do not make any further progress, we may have to request to have a webex with you to debug the issue in your environment. Sorry for the inconvenience

    Thanks
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • Guru 296795 points

    In reply to Ki:

    Hi Douglas,
    Are you still experiencing this issue? If so, I'd like to propose a webex with our engineers here so that they can look at the issue in your environment. If a webex works for you, please let me know, along with a good time for your.

    Thanks
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • Guru 296795 points

    In reply to Ki:

    Hello,
    I haven’t heard back from you, hence this issue is being closed. If you wish to continue the discussion, please post a reply with an update below (or create a new thread).

    Thanks,
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

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.