Re: New ARM Cortex Microcontroller Product Family from STMicroelectronics



"Jim Granville" wrote...
Bill Giovino wrote:

"Jim Granville" wrote...

I'm with Jon on this, the semantics matter little; but it would be
good to answer the simple question "Can it execute code from RAM?"
- in some systems, that is useful.


In the case of my original article:
http://www.microcontroller.com/news/arm_cortex_stm.asp
the answer is YES - the ST part can execute code from RAM off the data (system) bus.
Of
course, there will be extra cycles.

In some parts, RAM CODE execution is promoted for speed (due to slower
FLASH speeds).
Is that not the case in the ST device Core/RAM/FLASH combination ?

-jg

Good question... in the ST part, if you are running out of Flash at zero wait states,
then you are getting simultaneous fetches from both data & address buses - taking full
advantage of the Harvard (ahem!) architecture gets you *mostly* single-cycle execution.

But for the same example, if you are running out of RAM, then you are using the same bus
for instructions and data, you lose the advantages of the Harvard architecture and so
it's slower.

However, if you are running out of Flash with the CPU at a higher speed than the Flash,
and so the Flash requires wait states while taking advantage of the Harvard
architecture - the speed compared to running instructions & data out of RAM off the data
bus and so there are extra cycles the answer is - it depends...


.



Relevant Pages

  • Re: Urgent: Loading image into ROM
    ... I am using WinCE 6.0 and an ARM board. ... If you have a ROM or a NOR flash you may be able to do that, if you have a NAND flash, a disk on chip or other flash-based storage memory you can't execute code from it. ... You'll need to load code from storage, copy it in RAM and execute it. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Luminary Micro cut the price of their dev boards from $775 to $249.
    ... Their 8/16-bit offerings seem a bit uncompetitive, so the M3 would fit perfectly inbetween. ... 128K-832K Flash and up to 68K RAM. ... They DID have Flash DSPs, but saw that NV-memory speeds were a real issue, so changed to RAM code storage. ...
    (comp.sys.arm)
  • Re: New ARM Cortex Microcontroller Product Family from STMicroelectronics
    ... Bill Giovino wrote: ... the answer is YES - the ST part can execute code from RAM off the data bus. ... RAM CODE execution is promoted for speed (due to slower FLASH speeds). ...
    (comp.arch.embedded)
  • Re: Performance and Flash Pipelining on TI 28F12 DSPs
    ... > of "critical code" we could move to RAM. ... > from internal flash? ... Since the external RAM is as big as the internal flash, ... the timers and all other interrupts are shut off, ...
    (comp.dsp)
  • Re: [ANNOUNCE] Ramback: faster than a speeding bullet
    ... The fact is, enterprise scale ramdisks are here now, while ... enterprise scale flash is not. ... does not approach the write performance of RAM, ... My goal is not to replace RAM with flash, but disk with flash. ...
    (Linux-Kernel)