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/MSP430G2553: CCS/msp430g2553 GUI Composer

Part Number: MSP430G2553

Tool/software: Code Composer Studio

HELLO

I'm having difficulties running the ProgramModelUart GuiComposer example from this link:

http://processors.wiki.ti.com/index.php/ProgramModelUart_GuiComposer 

I'm using MSP430G2553, CCS V6.2, GUI COMPOSER V1.

When i import the project, i get warings (on CCS)  that this program uses an older debugger version, but i assume thats not the issue.

The problam starts from this step :

  • Once a debug session starts and program is halted at main, hit run and then select ComPort node in CCS Debug View and choose Run->Load Symbols menu, click on Browse Project and choose .out file from target application project that we just debugged.

After this step, in CCS Debug View when i mark ComPort node(UARTConnection), the program just stucks and the values are not changing.

It's seems to me that the symbols aren't loaded but i don't  really know, it's just not working like it say it should be working.

If i mark the TIMSP430_USB1 and enable Halt the target before any debugger access, the gui seems to operate fine.

Thanks in advance,

Avi

 

  • Are you trying out the UART Demo App from that wiki page?

    Avraham Efraimov said:
    After this step, in CCS Debug View when i mark ComPort node(UARTConnection), the program just stucks and the values are not changing.

    Do you have "Continuous Refresh" enabled in the Expressions view? Is the variable not getting refreshed? Perhaps it will help to see a screenshot of your Debug view.

    Are you using a Launchpad? If so, did you check the hardware requirement?

  • Hi AartiG
    Thanks for your response and sorry for the delay in mine.
    I'm trying out the UART Demo App from that wiki page.
    I have also enabled the continuous refresh in the expression view and the veriable isn't refreshed.
    I'm using msp430g2553 LaunchPad and i have configured it according to the hardwere requirements in the demo.
  • Avraham,

    I'm not quite sure why the procedure is not working. I know I have tested the procedure with older versions of CCS (older than 6.2) and verified it to be working. Perhaps there is some incompatibility with newer CCS versions. If you are starting out new with GUI Composer, I would suggest you take a look at the cloud-based GUI Composer v2 as GC v1 is being deprecated in favor of v2 and will be better supported down the road.

    You can go through the Getting Started and Users Guides to get an idea of how GCv2 works (it is quite different than GC v1). There are also some tutorials to help get started with different communication models. 

  • hi AartiG
    thanks for your replay.
    so is there no other way for me to run my gui in my current situation through UART like in the example ProgramModelUart?
  • I'm sorry I don't have a quick answer for this. I could give the procedure a try with CCS 6.2 and see if I reproduce what you are seeing, but it will take me a few days to get to it. Do you see any error messages at all or is it just that the variable does not get updated? A screenshot of the debug view would also help.

    But to set expectations, even if I were to reproduce it and an issue is identified with GCv1, I don't believe we will be making fixes/updates to it as GCv2 is the new/supported feature moving forward.
  • I tested this with CCS 6.2 and was able to verify that the procedure works. Here is a screenshot of my CCS that shows the "ErrorCount" variable getting updated in the Expressions view and the GUI Composer view showing the variable and graph, with the UART Connection.

    A couple of notes/troubleshooting tips:

    1) I built the project with compiler version 4.4.8 instead of the default 15.12.3.LTS that comes with CCS 6.2. I had some trouble getting the 15.12.3 built executable to work. Could you try installing and building the project with v4.4.8? You can install it by going to menu Help->Install New Software, then in the "Work with:" drop-down, select "Code Generation Tools Updates", then select version 4.4.8 and install it. After installation, go into the Project Properties and set the Compiler Version to 4.4.8 and rebuild.

    2) Try out different USB ports/cables. At one point, I saw some errors with a specific port but everything works well with a different USB port.

  • Hi AartiG and thanks for not giving up on me.

    Since it took quite time from our last messages exchange i decided to take your advice and give GC V2 a try.

    I learning at the momnent how to use it in order to to write an appropriate App for my project.

    However since we put so much time and effort in our last App version, i'll give it a try (your solutionwith the GC V1).

    I'll update you soon...

    best regards

    Avraham

  • Dear AartiG

    I have tested your solution ( with compiler version 4.4.8 instead of the default 15.12.3.LTS) and it work perfectly, thank you very much.

    My next goal is to write my App completely to the GC V2 as you (and others) offered.

    Best regards,

    Avraham