AFAIK: if code is running with desired results, memory mapping is okay. section allocation can be a culptrit, only if it's different for the two codes. :-) I faced a similar discripancy ... and the reasons were- 1. on simulator, code was in internal memory, and on EVM, it was on external memory. 2. Even if the memories were made same, there was difference of performance.... and now it was due to CACHE enabled in case of EVM. first case wud 've caused reporting of bad performance on EVM in terms of profiling, and otherwise in 2nd case... see if it fits into ur scenario... :o) > > A typical example, function "A" consumes 54 cycles per > count when I profile with the simulator, and the same > function takes 364 cycles per count on the processor. > I feel that I am doing something seriously wrong here > (memory maps??), pardon me if it is a naive reason as > this is the first time ever that I have worked with a > DSP. Please help me on this.... > |