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.

dsp28075 代码从RAM启动执行和FLASH启动执行有和不同



前期做过一项目,板上有一LED灯,选择RAM config 调试,led每秒闪一次正常,可当选择FLASH config烧录后,灯大概10秒左右闪烁一次,请问为什么?谢谢!

  • 是的,这就是最直观的区别,即,ram中运行的速度要比flash中运行的速度快。所以,一般程序烧写进flash之后,一些对运行时间很敏感的代码需要用memcpy将代码复制到ram中运行。