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/TMS320C6678: The function ignored during debug

Part Number: TMS320C6678

Tool/software: Code Composer Studio

Hi TI engineer:

       We are developping application on TMS320C6678.The environment is CCS v5.5, bios_6_35_04_50

       When we debug the code, we find that a function is ignored.Which means that: when we debug by using the "F5", the cursor stayed on the function, but then it didn't step into the function, otherwise it jumped to the next code, like the function doesn't at all. But the return value is changed to 0.

       Description:

       

       1.In the above figure, the cursor run to line484, but it didn't step in the function,and jump to line 487. The code in function "SemMulticoreSyn" not executed at all.

       2.function "SemMulticoreSyn" defined like this:int SemMulticoreSyn(int firstCore,int localCore, int coreCnt, int timeOver);

       3.When we change code in line 484 to:  i = SemMulticoreSyn(xxx), we find that when cursor jump from line 484 to line 487, i changed to 0(it is set to other value before this).

       4. We confirmed that the stack is big enough(To solve this problem we changed it to 0x20000);The 'text' section defined on MSMC,'stack' on L2 SRAM;

       5. The function is defined and declared, there isn't any warning about this function during compling.

       So why does this happen?Can you help us?

       Thank you very much.

       Regards