EmbDev.net

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


Author: Min Ge (minge519)
Posted on:

Rate this post
0 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

Author: Stefan (Guest)
Posted on:

Rate this post
0 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

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.