Part Number: TMS320C6678
Tool/software: Code Composer Studio
Hi TI engineer,
The question I asked 4 months ago showed a strange problem, that is when we debug/run a code on C6678, the software just ignored a function in the code, skip it like it doesn't existed. After that I have checked the optimzation, but find it couldn't be the cause. For I load the same program in different cores, and some cores execute the function, but some cores ignored. You can find the description in related question.
After then we have changed the code ,and this problem has disappeared.But now it occurs again -- and for a different function. So I think we still need your help. I want to tell more detail.
In our application we call a function, whose name is message_recv(). In this function we receive a message from other core, the clear the status. When the problem occurs, core 0 send the message to core 1-7, then core 1-7 call this message_recv() to get message. But we find only some cores finish the word, other core do nothing during call message_recv--which core will do nothing is different every time.
To make it clear, we debug the code.And find that when the debug cursor move to this function, if we try "step in", the code should be make into the function---but it didn't! The cursur just step to next line, and the work in message_recv() didn't be done at all! As you see, the cursor reach the function-called line, but it step over it when we try"step in"!! We can't step into the function, and the function done nothing at all! Of course ,if we can step in the function by chance, then the function will do its work very well.
Could you help me? You can contant me if you need more description, thank you very much.