Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
|
Hello, I am using Code Composer Studio Ver1.20 to simulate code written for C5410 DSP. I am finding that the clock count given by the profiler of CCS is very much different from what I expect by manually counting. Is this a bug with CCS? Has anyone faced this problem? Pls help With Regards, SATHEESH.S |
|
|
|
"S.Satheesh" wrote: > I am using Code Composer Studio Ver1.20 to simulate code written for > C5410 DSP. I am finding that the clock count given by the profiler of CCS > is very much different from what I expect by manually counting. Is this a > bug with CCS? Has anyone faced this problem? Pls help > > With Regards, > SATHEESH.S Yes, when using the simulator to count cycles the result usually gets much higher than expected. I've found this in the bug list there they say this only happens after a rebuild. - But they are probably refering to a case then running on real hardware. It happens a lot more often than that in the simulator. I know no solution but to run on real hardware such as a DSK. But the result isn't always correct then either but it is at least possible to create and measure an reference function with an oscilloscope and be able to see when to trust the cycle count result or not. Peter Nyman -- ----------------------------------------------------------------------- Peter Nyman, Development Engineer Sectra Wireless Technologies AB / +46 (0)13-23 52 74 ----------------------------------------------------------------------- Sectra: http://www.sectra.se/ Personal: http://www.geocities.com/SiliconValley/2741/ Liunga Pipare: http://www.geocities.com/Vienna/6474/ ----------------------------------------------------------------------- |