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/TMS320F28377S: CCS Debug mode enables peripheral clocks automatically

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Hi,

I am using CCS 6.1.0.00104. In CCS Debug mode, after loading the software on the target, before Resuming/Starting the program,  CpuSys->PCLKCR0.bit.CLA1 is getting enabled automatically. No where in my code i am initializing it and more over i am not using CLA. Also CpuSys->PCLKCR0.bit.CLA1 bit remains enabled during program execution too. Is there any setting needs to be modified before loading the software for debug purpose.

Thanks!

  • There is a function call in the debugger initialization script (GEL File) that is enabling the CLA clock.

    The file is called f28377s.gel and is located in ccsv6/ccs_base/emulation/gel

    If you search the file you can find calls to CLA_Clock_Enable();

    The function is also defined in this file.

    If you don't want this to be enabled you could comment out the call to that function in the OnReset() function. Currently it would be getting enabled every time there is a reset which includes just prior to loading a program.

    You can also see the GEL files that are loaded when you are in a debug session by going to the Tools menu and selecting GEL Files (I am not connect to a device at the moment so I may be wrong on the menu item name).

    Regards,
    John