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/TMS320F28388D: Debugging CM core: How to connect debugger to target without reset the device

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi expert,

My customer need to debug CM core of F28388D to view the registers and variables.

They'd like to know how to connect a debugger to target without reset it. We know how to do on C28x but CM core seems a bit different here. Could you share the setps?

BTW, after a successful connection, will load symbol operation enable us to debug (such as step) a bootloaded image in flash? (not start at flash entry)

Thanks

Sheldon

  • Sheldon,

    You can suppress the reset in the gel file of the CM core to avoid any reset on target connect.

    If the CM core is still executing the code till you connect debugger, you can do a load symbol and debug it. 

    Regards,
    Praveen

  • Hi Praveen,

    Could you specify the gel file name here? In C28x, take F280049C as an example, it is "F280049C.gel".

    BTW, Where this gel file located in C2000ware?

    Thanks

    Sheldon

  • Sheldon,

    The gel name of CM core gel is "f2838*_cm.gel".

    Gel files are part of the CCS device support packages. You should be able to find them under <ccs base>\emulation\gel folder. Alternatively, once you have launched the debug session, you can access the gel from Tools->GEL files

    Regards,
    Praveen

    Note: If my post answers your query, please click "This resolved my issue" button.

  • Praveen Kumar Ravichandran said:

    Sheldon,

    You can suppress the reset in the gel file of the CM core to avoid any reset on target connect.

    If the CM core is still executing the code till you connect debugger, you can do a load symbol and debug it. 

    Regards,
    Praveen

    Is there any application note about this? I am trying to do the same and sometimes I am seeing different behavior or resets on the CPU1 core, even when I remove the gel files.

    BR