EmbDev.net

Forum: ARM programming with GCC/GNU tools The running Speed Problem in RAM_RUN and ROM_RUN


von Min G. (minge519)


Rate this post
useful
not useful
Hi All,
I got a problem.
I pass my code debug in RAM_RUN mode. When I switch to ROM_RUN and
download code to flash. I found the running speed is lower than the
speed in RAM.
The same code function, the running time is 1 times longer than the
running time in RAM_RUN.

Did anybody run into the same problem? What cause this problem and how
to solve?

Thanks.

Min Ge

von Stefan (Guest)


Rate this post
useful
not useful
> Did anybody run into the same problem?

Yes. See http://en.mikrocontroller.net/topic/68734#88675

> What cause this problem and how to solve?

See http://en.mikrocontroller.net/topic/68734#88704

von Clifford S. (clifford)


Rate this post
useful
not useful
Min Ge wrote:
> I pass my code debug in RAM_RUN mode. When I switch to ROM_RUN and
> download code to flash. I found the running speed is lower than the
> speed in RAM.

That's kind of the point of executing code from RAM - its faster. Since
Stephan already linked to my previous essays on the subject, I need say
no more! ;)

Clifford

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.