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 v5.4 Beta GUIComposer: Questions and Issues with Beta Release

I just started using the beta version of CCS v5.4.

I'm would it be too premature to ask questions and present issues on the GUIComposer of  Beta vserion 5.4.0.00048 ?

  • HI Enrique,

    no worries.  Please feel free to let us know what issue you are facing.

    Best Regards,
    Lisa

  • Lisa TI said:
    no worries.  Please feel free to let us know what issue you are facing.

    Would you like me to create a post for each issue and question.  Or should I just talk about them in this post.  

    I would think it would be useful just to talk about them in this post. 

  • Enrique,

    You can post the issues/questions in this post.

    Regards,
    Patrick 

  • Thanks Guys,

    OK, is there a way to display strings arrays with this beta release?

  • Sorry, we don't support binding to a 2D-char binding to the target, however we do support binding to an array of char.

    What are you trying to achieve in your app, can you provide more detail on your use case?

    Patrick

  • I have been using GUIComposer to unit test our device.  

    To test the font panel of the device has been tedious.  Lucky enough the front panel is using a global array of characters to display to the front panel screen.  It would be very nice to use GUIComposer to show the current output display. 

  • You should be able to display an array of characters. I have a very simple example program that set an array of character and bind the variable myChar to a label widget in GUI Composer.

    Here is C program.

    #include <stdio.h>
    char myChar[] = {"abcdefg\n"};
    int main(void) {
       printf(myChar);
       return 0;
    }

    In GUI Composer, I can bind a label or a textbox (or any other text widget) to myChar.

  • Patrick Chuong said:
    #include <stdio.h>

    char myChar[] = {"abcdefg\n"};
    int main(void) {
       printf(myChar);
       return 0;
    }

    In GUI Composer, I can bind a label or a textbox (or any other text widget) to myChar.

    Basicaly what I have is more like this:

    char myDisplay[[4][5] = { {"line1"}, {"line2"}, {"line3"}, {"line4"}};

    int main(void) {
       out_to_display(myDisplay[0], 1);
       out_to_display(myDisplay[1], 2); 
       out_to_display(myDisplay[2], 3);
       out_to_display(myDisplay[3], 4); 

       return 0;
    }

    But when I give a label or a text box of the value = myDisplay[0],  the GUI will only display a number. not the string characters.

    Other words, i get 2342234 on the display of the "lable" if i bind value to myDisplay[0]. 

  • Currently, we don't support two dimension array of char. To workaround the array that you have, you can either breakup the 2d array into 4 separate arrays or create a new char pointer, pointing to the first array index. i.e char* p = myDisplay[0].

    Note, that you need to have the char array ends with additional 0 byte to identify the end of the string. So change 5 in your 2d array declaration to something a little bigger.

    Regards,
    Patrick 

  • Patrick Chuong said:
    Currently, we don't support two dimension array of char. To workaround the array that you have, you can either breakup the 2d array into 4 separate arrays or create a new char pointer, pointing to the first array index. i.e char* p = myDisplay[0].

    Thank You Patrick, that did the trick.  This will help a lot in our development testing. 

    The next question I have:

    Is the next version of  GUICompuser Runtime available to support CCS v5.4?   I have some developers would be able to use it.  They like to have direct access to my firmware at a chip level.   

  • Enrique Herrera said:

    Is the next version of  GUICompuser Runtime available to support CCS v5.4?   I have some developers would be able to use it.  They like to have direct access to my firmware at a chip level.   

    Yes, we have to release a newer version of the runtime for CCS5.4, this will probably be make available shortly after CCS5.4 is released.
    Regards,
    Patrick 
  • Hello,

    I just installed 5.4, it works but does not have the option to display and dump data in floating point format in the memory browser!  Can someone advice on what's wrong?

    By the way, my 5.2 cannot debug after I renamed a project folder, whether I used import or created a new project.  Needless to say, other projects also fail to debug!

    Regards

    Wood

  • Regarding the issue in Memory Browser, what device are you using?

  • Hello Alain,

    I am using simulator only, on Win7, for C6657.

    Also my 5.3 can display, but cannot dump data in floating point.

    The 5.2 issue of course gone the next day, but it crashed my hard disk (window XP) some days after, when I tried to create a new project.  I believe there were over 50 projects already.  Is it too much for Eclipse?  How can I remove them from the Project window?  I had tried to delete a project, but when re-open it using "import", it always go to debug mode, with some parameters reset to default.  So the procedure is not much less than creating a new project.  But somehow the IDE refuses to create a new one, as it insists the project already exist!

    Regards

    Wood

  • It seems that the Memory Browser issue is a bug.

    For the issue with the project, could you discuss it in a separate thread.