It is a fact that the access from internal flash is slower then internal RAM, that is the reasn they have MAM setting.... it actually caches the instructions and execute from the cache, which results in faster execution. there are three different settings ..
MAM -- off --- slowest
MAM -- partially on -- Execution time more predictable
MAM -- full on... best executin time.
kb
----- Original Message -----
From: Marko Pavlin (home)
To: lpc2000@yahoogroups.com
Sent: Thursday, March 24, 2005 12:49 PM
Subject: Re: [lpc2000] LPC2138: Ram vs Flash code execution
Runing from RAM runs at Cclk. Flash has 60ns access time, which is 3x
slower at 60MHz. Are you using MAM?
Lowry, Jeff wrote:
> Code running from internal RAM seems to run about 4x faster than running
> from internal Flash. Is this true or do I have some settings wrong?
> Anybody know where I can find fetch timings for Ram vs Flash code
> execution? Thanks, Jeff.
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
b.. To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]Message
Re: [lpc2000] LPC2138: Ram vs Flash code execution
2005-03-24 by k b shah (lascaux)
Attachments
- No local attachments were found for this message.