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 is a disaster :(

Other Parts Discussed in Thread: MSP430FR6989, MSPWARE, UNIFLASH, MSP430FR4133

For my big confusion, CCS is the first development tool with which I failed to build an 'out of box' example.

First I tried on Windows, but it just failed to start with an error message advising to look at 'null' log file.

Not a big surprise, though. Then I installed a Linux version getting various errors on the way.

But finally it runs and I even managed to import an example. But it does not compile with a fatal error #10009: no input files

Even on-line version is 'half-working'. To work with it I am using two browser, Chrome an Firefox, because some features works in Chrome and do not in Firefox and vice versa.

  • Hi,

    Is this a pure rant or is there a question buried in your post?

    If the former, I guess you made yourself clear in your dissatisfaction, and I can tell that,sometimes the environment (type of OS, running third party applications such as antivirus, missing dependencies in Linux, etc.) plays a large role in a successful install of CCS. Also, some of the software packages were created long before the latest version of CCS was released, and some do not even support Linux or Windows - thus incompatibilities can have multiple causes. I personally have had my share or problems in both these regards, but both this forum and the wiki offer a great deal of help and information.

    If the latter, it is a long shot for anyone start trying to answer anything. If you would like the help from anyone, details about the system and the software package, as well as complete error messages are critical. An excellent post with a general idea of how to ask a question is shown here.

    --Cheers

  • I usually manage to fix issues with the development tools by myself, and searching forums is first what I do. With this particular case the most frequent answer I found here was 'works for me'.
    And this is not purely rant. I am comparing TI development tools to others and so far this is the worst experience on start.

    Best Regards
  • Eugene,

    Sorry to hear that you are having a poor experience. We would like to help you out but don't have much to go on.

    Maybe lets start with the cloud tools. You mentioned that some things are not supported in Chrome and Firefox. Can you describe what issues you are having with Chrome?

    Also please let me know what device and example you are using.

    Regards,
    John
  • As a user of TI compilers since before the days of GoDSP and SPox and yea, even before the fabled C10, you have my empathy :)  If it is any consolation, at least you have not (presumably) had to deal with CCS4, unlike some of us unfortunates.   Fwiw, CCS6 does suffer from a plethora of configuration options but it is indeed stable and usable, so there is that to look forward to once the magical menu sequence rituals are mastered.  Best of luck to you and patience patience!

  • In Chrome I am always getting TI Cloud agent installation.

    After I click install it perform installation but does not appear in the list of extensions

    So next time it prompts again to install

    With Firefox the TI Resource Explorer came as this

    Now I occasionally figured out that those red tabs expands the area, but before I did that It did not expand even after selecting a development tool. In Chrome it initially came expanded.

    In CSS 6.1.1.00022 imported example OutOfBox_MSP430FR6989 had no files:

    Importing MSP Ware example fails with error

  • Eugene,

    Lets start with the chrome issue.

    Can you type "chrome://version" in the address bar and send that info. Chrome does the install of the extension but maybe there is some sort of compatibility issue with a specific config that we are not aware of.

    Regards,
    John
  • Google Chrome	44.0.2403.130 (Розробка) dev-m (32-розрядна версія)
    Редакція	d8899c841d0d45e98c9a4c38e11195a96a081304-refs/branch-heads/2403@{#586}
    ОС	Windows 
    Blink	537.36 (@199588)
    JavaScript	V8 4.4.63.25
    Flash	19.0.0.226
    Агент користувача	Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36
    Командний рядок	"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --flag-switches-end
    Виконуваний шлях	C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    Шлях до профілю	C:\Users\Eugene\AppData\Local\Google\Chrome\User Data\Default
    Різновиди	e9f4800b-39c30599
    8afebf76-41e080dc
    19f73432-ca7d8d80
    76b48ab8-a2567007
    c70841c8-a2567007
    195ce1b5-d93a0620
    fb124cc-803f8fc4
    1d3ad72e-3f4a17df
    f79cb77b-3f4a17df
    97dfc274-3f4a17df
    ca65a9fe-91ac3782
    61544484-ca7d8d80
    407554d-794ada47
    7aa46da5-669a04e0
    9736de91-ca7d8d80
    3ac60855-486e2a9c
    ed1d377-e1cc0f14
    75f0f0a0-a5822863
    e7e71889-e1cc0f14
    b39ea213-d1372334
    cbf0c14e-bf3e6cfd
    9d45295a-ca7d8d80

  • Hey Eugene,

    I  am an engineer on the ccs development team. I am a bit puzzled over why the chrome extension installation is not working because it is primarily controlled chrome/web store; we have minimum input into it. However, I have the following questions which may provide some insight.

    1) What happens exactly when you click on the 'install' button in step 1. Does anything pop up?

         - If nothing happens can you check the chrome developer console for any relevant information.

               - Click 'F12' to bring up the developer tools. 

               - Click on the 'console' tab

               - Please provide the contents of the tab

    2) Can you try installing the extension directly from the chrome web store. To do so go here (https://chrome.google.com/webstore/detail/ticloudagent-bridge/pfillhniocmjcapelhjcianojmoidjdk?authuser=1)

         - click on the 'Add to chrome' button on the top right hand corner

    3) It also looks like you are using a an unofficial development build of chrome. I doubt this would be an issue though.

    Regards,

    Mandeep Deol

  • Hi,

    A few comments:
    - Just yesterday I found the issue with Resource Explorer on Firefox 41.0.2 for Linux and filed a bug this morning. I will try to check when this gets fixed.

    - I found the same issue as you; the MSPWare is broken in Linux, but I heard a new revision is coming soon. Unfortunately we at the CCS team do not control these software packages and defer the testability to the product group.

    Sorry for the lack of good news,
    Rafael
  • 1)  Popup appears, prompting to install TI agent. I agree and it disappears

    JS Console contains error message: Extension Installation Failed: NETWORK_FAILED

    Connected to CCS Server - initiating handshake...
    default/ext/ccs_server/ccs_server.js:115 Connected to Cloud Server - testing connection to CCS Server...
    default/ext/ccs_server/ccs_server.js:66 Connected to CCS Server - initiating handshake...
    default:422 Total Load Time 8782ms
    default/ext/ccs_project/ccs_project.js:101 CCS Server handshake complete!
    agent.js:603 Extension Installation Failed: NETWORK_FAILED
    agent.js:603 Extension Installation Failed: NETWORK_FAILED

    2) When I try direct link to web store I see a popup with error message NETWORK_FAILED.

    Any other extension fail too :(

    3) I remember Chrome installer offered to participate in some dev programs, so I guess that's how I got chrome-dev.

    This is not my main browser, I am using it only when something does not work in Firefox

  • 1) This looks like an issue with chrome. It looks like you may have to re-install chrome.
    productforums.google.com/.../
    2) What exactly is not working in 'Fire Fox'?

    Regards,
    Mandeep
  • > 1) This looks like an issue with chrome. It looks like you may have to re-install chrome.

    Should the CCS show an error message so I could know about this issue in an easy way?

    > 2) What exactly is not working in 'Fire Fox'?

    TI Resource Explorer came with collapsed panes in Firefox, which remain collapsed until explicitly expanded

  • I have another question.
    UniFlash does not reboot the MCU after flashing, as Online CCS does.
    This even made me thinking that the MCU stall. Is there an option in UniFlash to reboot the MCU?
    Also, UniFlash prompted to upgrade firmware and I confirmed and I am not sure anymore if it was for good,
    because now Online CCS complains about outdated firmware.
  • 1) Yes, I have filed an issue to fix this

    2) I'm unable to reproduce this issue. But, I will forward the concern to the right people to look into.

    Regards,
    Mandeep

  • There is a setting for Uniflash to run the device after flashing but it is only available from the command line and not the UI.  I just spoke with the Uniflash guy and I will file a request to add that.  There is more info on how to find the command line options here.  Basically there is a -targetOp option and you can specify "run".

    On the firmware update, what is happening is that the versions of the firmware that CCS Cloud and Uniflash are out of sync.  So if you are switching back and forth then each tool is going to prompt you to update.  Uniflash is going to be going through a major revamp that will leverage some of the same components used by CCS Cloud which will address that particular issue.  In general for MSP430 you shouldn't have to jump back and forth very often as you can flash directly from CCS cloud.  Is there a reason you are using Uniflash for flashing?  Typically it is used more later in development.

    John

  • Mandeep Deol said:

    2) I'm unable to reproduce this issue. But, I will forward the concern to the right people to look into.

    Regards,
    Mandeep


    With firmware from Online CCS Uniflash flashes only once and hangs on the second time.


    It also looks like Uniflash leaves programming cycle unclosed - LED101 on the Lauchpad remains ON (with both firmwares) while Online CCS turns it off at the end

  • JohnS said:

    There is a setting for Uniflash to run the device after flashing but it is only available from the command line and not the UI.  I just spoke with the Uniflash guy and I will file a request to add that.  There is more info on how to find the command line options here.  Basically there is a -targetOp option and you can specify "run".

    Thanks, John, I'll try that.

    JohnS said:

    On the firmware update, what is happening is that the versions of the firmware that CCS Cloud and Uniflash are out of sync.  So if you are switching back and forth then each tool is going to prompt you to update.  Uniflash is going to be going through a major revamp that will leverage some of the same components used by CCS Cloud which will address that particular issue.  In general for MSP430 you shouldn't have to jump back and forth very often as you can flash directly from CCS cloud.  

    As I understood you, you recommend using firmware from the cloud?

    JohnS said:

    Is there a reason you are using Uniflash for flashing?  Typically it is used more later in development.

    John


    I am using cloud only as a starter. In general it is missing many features I like/need in the dev environment, such as more control on build settings, lookup a symbol, code autocompletion, etc. But before I jump off the cloud I need to ensure that my 'earth' environment produces runnable code.

    I am doomed to Uniflash, because CCS6 fails on start on my Windows PC and I am running CCS6-Linux remotely on a virtual Debian 7. This setup does not support access to USB devices and therefor I can't access the programmer from CCS6.

  • I would use the firmware from CCS Cloud as it is newer.

    Hopefully we can get your CCS Desktop environment going on windows as well.
  • Hi John

    JohnS said:

    There is a setting for Uniflash to run the device after flashing but it is only available from the command line and not the UI.  I just spoke with the Uniflash guy and I will file a request to add that.  There is more info on how to find the command line options here.  Basically there is a -targetOp option and you can specify "run".

    Thanks for the advise, I found command line more practical. Although it neither resets nor runs uploaded  program but at least it leaves the board in the state I can reset with RST. I tried all three targetOp and now I know why Uniflash hangs, please find a stack trace below.

    org.mozilla.javascript.WrappedException: Wrapped com.ti.xpcom.XPCOMException: 
    The function "issueReset" returned an error condition  (0x80004005) (E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_operation_msp.js#153)
            at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1705)
            at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)
            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)
            at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:117)
            at org.mozilla.javascript.gen.c6._c1(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_operation_msp.js:153)
            at org.mozilla.javascript.gen.c6.call(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_operation_msp.js)
            at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:106)
            at org.mozilla.javascript.gen.c1._c6(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_main.js:342)
            at org.mozilla.javascript.gen.c1.call(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_main.js)
            at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:106)
            at org.mozilla.javascript.gen.c1._c0(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_main.js:21)
            at org.mozilla.javascript.gen.c1.call(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_main.js)
            at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)
            at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)
            at org.mozilla.javascript.gen.c1.call(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_main.js)
            at org.mozilla.javascript.gen.c1.exec(E:\Programs\TI\ccs_base\scripting\examples\uniflash\cmdLine\uniFlash_main.js)
            at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:500)
            at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:422)
            at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:388)
            at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:379)
            at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)
            at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:97)
            at org.mozilla.javascript.Context.call(Context.java:540)
            at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:447)
            at org.mozilla.javascript.tools.shell.Main.exec(Main.java:159)
            at org.mozilla.javascript.tools.shell.Main.main(Main.java:137)
    Caused by: com.ti.xpcom.XPCOMException: The function "issueReset" returned an error condition  (0x80004005)
            at com.ti.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
            at com.ti.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:105)
            at $Proxy73.issueReset(Unknown Source)
            at com.ti.debug.engine.impl.AdvancedReset.issueReset(AdvancedReset.java:45)
            at com.ti.debug.engine.impl.DspUser.reset(DspUser.java:879)
            at com.ti.debug.engine.scripting.Target.reset(Target.java:588)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)
            ... 24 more

  • Eugene,

    Thanks for provided the stack trace for the UniFlash issue you are seeing. I'm still debugging the issue with using the 'reset' target operation on MSP430, but can you try the following command instead for running your target code after programming?

    > uniflash -ccxml <pathToCCXML> -program <pathToProgram> -targetOp restart run

    Thanks,
    Ricky
  • Hi Ricky

    I tried restart run and there were no difference, please find another log below.

    <START: 18:34:30 GMT+0200 (EET)>
    
    > Flash Manager is configured for the following part: MSP430FR6989
    
    > Connecting to the target for Flash operations ...
    
    > Connected.
    
    > Loading Program: X:\workspace\ti\uart_echo\Release__GNU\uart_echo.out
    MSP430: Loading complete. There were 1932 (code) and 128 (data) bytes written to
     FLASH/FRAM. The expected RAM usage is 30 (uninitialized data + stack) bytes.
    
    > Finish Loading.
    
    > Restart issued.
    > Running target.
    > Disconnecting from target.
    
    SEVERE: MSP430: Breakpoint Manager: EEM module not accessible while running in U
    ltra Low Power Debug Mode - Deactivate Ultra Low Power Debug mode to enable this
     feature
    
    <END: 18:34:35 GMT+0200 (EET)>
    
    <Operation Time: 2.387s>
    <Total Time: 5.32s>

  • Eugene,

    When you say "there were no difference", do you mean that it did not leave the target running?

    My test case was a MSP430FR4133 with a blinky example, and I ran the same command that posted. After UniFlash finish running the command, I can see that the blinky program is running on the device.

    The error message you got mentions it is in 'Ultra Lower Power Debug Mode'. I wonder if that is affecting how the program is ran. I'm also not sure why you are getting this error.

    Thanks,
    Ricky
  • There were no difference in comparison to running Flash Manager with no targetOp parameters.
    Although if order of parameters changed, batch hangs similar to targetOp reset
    'Ultra Lower Power Debug Mode' confuses me too. I have not selected any option of that type.
  • Eugene,

    Sorry for the delayed reply. I was trying to gather information from various teams.

    In your command line, can you try setting the following '-setOptions MSP430LPMx5Mode=false'? This turns off Ultra Low Power debugging, and might explain the error message you were getting.

    For example:
    > uniflash -ccxml MSP430FR6989.ccxml -setOptions MSP430LPMx5Mode=false -program uart_echo.out

    Please let me know if you get a chance to test this.

    Thanks,
    Ricky
  • Hi Ricky,

    -setOptions MSP430LPMx5Mode=false did the trick.

    SEVERE: MSP430... message is gone and -targetOp restart run indeed restarts the program.

    Thank you!