Hi
We are evaluating the piccolo processor for our algorithm, and were running the whole program from RAM and profiling using the CCS profiler.
Then, we moved the .text section to Flash, and checked the cycle count using the clock. We found that the cycle numbers were almost 10 times the RAM count. After some basic checks, it turned out that we werent calling InitFlash in deviceSetup. So, after adding that call and ensuring the waitstates were set as per the TRM, we find that the performance ratio is about 1.5 (flash program takes about 1.5 times as many cycles as RAM did).
The question is, what was happening when we did not call InitFlash? Were those numbers meaningful in any sense? Also, is the number we are observing now reliable? Does putting the .text section in flash only take about 1.5 times as many cycles as running it entirely out of RAM? Is there any documentation comparing performance when running program out of flash or RAM on the piccolo devices?
Thanks,
Anandhi