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/TMS320F28069M: GUI Composer V2 and Target Possibly Paused

Part Number: TMS320F28069M

Tool/software: Code Composer Studio

When I click the run button, the GUI composer downloads my program to FLASH and presumably starts the application.  However, the target behaves as if it is paused (does nothing).  If I download the same *.out file using Code Composer Studio, then click resume, the target behaves as it is supposed to and runs the program (in this case starts a motor).

Is it possible that the GUI Composer is leaving the target in a paused state?  If so, how do we ensure that it resumes?

Thanks,

Stuart

  • Stuart,

    We have a theory on this one. We think that there is an extra reset happening that is causing the program not to run.

    Could you try something?

    If you go to
    <user folder>\AppData\Local\Texas Instruments\TICloudAgent\loaders\ccs_base\emulation\gel

    Open the gel file for F28069

    It will have an OnTargetConnect() function that looks like this. Try removing that GEL_Reset() from the end.

    OnTargetConnect()
    {
    if (GEL_IsInRealtimeMode()) /* If in real-time-mode */
    {
    }
    else /* Put device in C28x mode */
    {
    C28x_Mode();
    }
    F28069_Memory_Map(); /* Initialize the CCS memory map */

    /* Check to see if CCS has been started-up with the DSP already */
    /* running in real-time mode. The user can add whatever */
    /* custom initialization stuff they want to each case. */

    if (GEL_IsInRealtimeMode()) /* Do real-time mode target initialization */
    {

    }
    else /* Do stop-mode target initialization */
    {
    GEL_Reset(); /* Reset DSP */
    }
    }


    We think data in RAM is getting cleared and that is why the app isn't running.

    John