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/CC3200: Is GUI Composer what I'm looking for?

Part Number: CC3200


Tool/software: Code Composer Studio

Hello,

I'm not sure if this is the right place to post this, but I would like to graph variables from my CC3200 in real time and maybe even control some of its outputs. I stumbled across GUI Composer and it seems like what I need. I went to the wiki and it says GUI Composer is not supported for CCS for v6.2 and directed my to the cloud based Gui Composer v2. I tried creating a project (Dashboard version) using this and selecting the CC3200 as my target device and USB as my method of communication and it wanted me to upload a "Target Executable". I have no idea what this is. All it said was this is a .out or .cpp.hex file. I would like to use this GUI composer with an existing CCS v6.2 project I have for the CC3200. Is there documentation on how to do this? I tried looking at all the wiki and help pages I could but the documentation seems lacking. Can anyone help?

Thanks,

John

  • Can anyone respond to this? This is my second post this week that is being ignored. I need some assistance.
  • How fast is your application updating the variables? I think GUI composer has the same update rate limitation as Code Composer's expressions windows, which is around 100ms to 200ms.

    Stephen
  • John,
    This page has a bit more information on GC v1 and GCv2. I am specifically linking to a GCv1 vs GCv2 section below as it might provide you with some background and help with terminology.

    processors.wiki.ti.com/.../Category:GUI_Composer There is also a link to Getting Started Guide that has some of the same information as below.

    GCv2 currently provides two ways of getting data from the device:

    USB/Serial IO : Physically it is using USB cable, but the device (CC3200) is using a UART peripheral to send(display) or receive(control) operation of your firmware. Currently JSON strings are used as the "protocol" to encode this data. In this case the firmware (i.e. you target program) needs to send and optionally receive this data from UART and the process it using JSON processing. In this case your target program needs to be modified to provide this functionality. There is a tutorial that has step by step instructions how to get a simple example working.

    XDS Debug Port/Target Monitor: In vast majority it is also physically using a USB cable, but it is using JTAG protocol to provide direct access to devices memory. In this case there is no need to modify target program. You would add widgets and then specify global variables that you want attached (or bound) to that widget. In this case the programs file symbol table is used to figure out which memory to read or write to.

    The .out file that you asking about is the output of CCS project after you build (compile & link) your project. It is usually in Debug subfolder of your project.

    Martin
  • Hmm, well its much faster than 10Hz, like as fast as the ADCs sample, but CCS graphing doesn't update but at maybe 2Hz, I haven't found how to change it. That being said, I could probably work with 10Hz, I just liked the interface, graphing options, control, and data logging* (does it have this?) that GUI composer offered, hence my interest in it. Even with the knowledge of the 5 to 10 Hz sampling limit, I would still be interested in trying it out.
  • Okay, thank you. I will look into your suggestions.
  • When you build your application, the compiler/linker generates an .out file and puts it in the build directory.  The build directory is located in your project folder and has the same name as the project configuration (i.e. Debug, Release and etc.).

    You can create a GUI in CCSv6.2.  If GUI Composer is not in the View menu, you will have to install it (GUI Compser V1 from the CCS App Center, which can also be accessed from the view menu.

    After you start GUI Composer, select the new project icon from the GUI Composer Project window.  You have to enter the GUI Composer app name, your out file location and the debugger you are using.  After that you can drag and drop GUI Composer Instrumentation (such as a line graph) or common control into the GUI composer window.

    I haven't done graphs before, so I am not sure how well it works, but I have changed and viewed variables.

    Stephen

  • I have asked a quite a few questions about GUI composer on this forum. Those should help you significantly. I'll do a search and find those for you.
  • Thank you very much everyone. I will look into these suggestions.