Tool/software: Code Composer Studio
Hello, I'm using CCS v7.2, SYS/BIOS 6.50.01.12 and UIA 2.20.00.02, running on TDA2x board's C66x DSP via XDS220 debugger.
I wrote a double buffering example using EDMA3 LLD 02.12.00.20. I have a Log_write1 before calling the core of the algorithm and one after that. When compiled with debug configuration the logs are obtained correctly and the duration view of system analyzer shows the time spent. However, when compiled with optimizations (level 2 if it makes any difference) only the first log is registered and the other one is missing so I am unable to see the execution time. Does anyone have any idea why this is happening? It is very confusing since I have another EDMA test which does simple copying and the instrumentation works fine even when the code is optimized, before and after the algorithm core.
Thank you in advance.