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/TMS320F28069F: DeployApp GUI Composer no UART connection

Part Number: TMS320F28069F


Tool/software: Code Composer Studio

Hi,

I use the GUI Composer V1 InstaSPIN UNIVERSAL GUI example with CCS 6.2, if I start the GUI inside CCS I could use the UART connection defined in the ccxml configuration. After exorting the Gui as described i the UARt example application on the web. copy it into my local webapps directory. i could start the laucher and I see the GUI, after selecting the correct com port from the drop down lsit, nothing append, all items of the gui has this red dot which shows no connection. Even I could not see any traffic on the uart line (some LED there). I guess something is wrong configured, but I had no idea what. Please give me some advise.

Kind regard Gerhard

  • Gerhard,

    The InstaSpin Universal GUI, as designed, works via JTAG communication with the target. In order to make GUI work through serial UART connection, a UART monitor is required to be running on the target device. The process for this is described in this page. So the GUI will not work with UART connection with existing out-of-box examples until the project is modified to include the monitor code. If you wish to go down that path, the wiki page referenced above has a example of monitor code which you could use as a reference for adding your project. 

  • Hi ArtiG,

    thanks for the answer, but this was not new for me. I modified the example and included a uart Monitor, even I did the generation of the GUI as described in the UART process. As I described, it did only work in the CCS Environment.

    I did some research and found the following. The generated file appInitScript.js contains the line :

    session.memory.loadProgram(appProgramFile *//* internal variable );

    this line is wrong, I modified it into 

    session.symbol.load(appProgramFile /* internal variable */);

    I allso removed this lines:

    print("Enabling Realtime\n");
    session.expression.evaluate("ST1.DBGM = 0");
    session.expression.evaluate("GEL_EnableRealtime()");

    now it looks that it works, but not stable.

    I guess there is a problem in the GUI generation process for this file.

    regards Gerhard

  • Gerhard,

    Glad to hear that you identified the source of the problem and that editing the script file gets things working.

    I haven't tested this myself with CCS 6.2 but it sounds like there might a bug there in the generation of the appInitScript.js file.
    Unfortunately GUI Composer v1 is being deprecated in favor of GUI Composer v2, so there are currently no plans for active development or bug fixes for GCv1.