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.

GUI Composer v5.5 runtime; Application has interruptive operation:

Guru 56093 points
Other Parts Discussed in Thread: LM3S8971

 When RDK target application is run inside CCS5.4 debug secession using the TI-XDS100v2 emulation the GUI runs without causing an interruptive pattern of the RUN LED blink rate of the JTAG attached RDK application.

When the GUI is launched or preview inside CCS5.4. the RUN LED blink rate timing is not being interrupted.

That is not true when RDK application is launched from GUI composer 5.5 runtime, the RUN LED blink rate is very random stopping at times several seconds. There are no warnings or errors showing for the TI XDS100v2 initialized simulator for Stellaris LM3s8971 MPU.

BTW: The GUI target CPU utilization widget is showing the same utilization at 10% in both launch modes.

Any idea why this is happening?

  • Application Export  Important Notes: 

    GUI Composer export automatically generates a DSS script that performs system intialization tasks. The default script starts a debugger, connects, loads a program and runs the target. In addition to performing these steps the debugger mode is enabled to halt the CPU before making a target access. This allows for greatest compatibility across various devices. However, if your application requires non-intrusive target access and your HW (device/emulator) supports it then please modify "appInitScript.js" and comment out or remove this line

    session.options.setBoolean("UseLegacyStopMode", true);

    Furthermore, some targets may require a special mode to be enabled to allow non-intrusive access. e.g. C2000 family of devices requires following lines to be added to "appInitScript.js" between load program and run program steps. 

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