I'm using a EZ-KIT ADSP 21469 with integrated debug agent.
My aim is to measure compiler optimization for a simple "for" loop. Idea is to compare compiler optimization between TI and ADI.
For that, I must use hardware Timer to count clock cycle.
Here the algorithms:
- Configure Timer0.
- start Timer 0.
- For loop.
- Close Timer 0
- read TM0CNT <----- doesn't work: value read is always at 0.
If you have any advice, I'm open..