This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

about profile in dm6446

hello, I am working in DM6446, I want to profile my code, and I use edma3 lib, can edma3 lib be simulated? I find that the cycle I get is not accurate compared to the result in hardware, how to resolve the problem? Thanks.

  • I suppose this somewhat depends on what simulator configuration you are using, but in general once you have external memory involved in your system than the simulator is no longer very effective in determining actual execution times, especially in situations where you have bulk transfers with external memory such as you would typically be doing with EDMA. My suggestion would be to perform this profiling in hardware to get the best accuracy, you should still be able to set breakpoints and monitor the profile clock in hardware, though it is not as in depth as the information you can collect from the simulator.

  • Hi Shen,

    DM6446 is a Cycle Accurate Simulator. As regards the mismatching numbers, you may want to check the default settings for CPU and Memory clock configurations of the simulator with the board you are using. If these do not match, you may not get the right numbers. See the following wiki topic to understand how to set the clocks in the simulator.

    http://tiexpressdsp.com/index.php/CPU_%26_Memory_Clock_Configuration

    Regards,

    Anuradha.