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.

am1808跑裸机程序执行速度问题

Other Parts Discussed in Thread: AM1808

我用AM1808板子跑一个裸机程序算法程序,该裸机程序运行在AM1808的片上RAM中。起初,我将CCS编译优化选项设置成NONE,发现算法执行速度相当于在30M的CPU平台上的效果,后来将优化选项设置成LOCAL,算法执行时间由原来的5ms提高到了800us。将该算法在带有操作系统的AM1808上面跑,运行在DDR上,算法执行时间只需要400us。两者的CPU设置都是300MHz。

请问:问题存在什么地方,如何将裸机程序的执行时间提高到跟跑操作系统的一样快。

谢谢。