RE: code execution speed, which is faster?

"Dobbin Allan-r11834" <[email protected]> 28 Mar 2007 13:08:12 -0700
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <4147ED8B92A864498825C07E53594E4AF140C2@az33exm20.fsl.freescale.net>
Best performance would typically use the internal memory i.e. code in int flash and data/stack in internal ram.
 
The other two biggest hits are to increase the sys clock to max, i.e. 40MHz for 555 and also to disable show cycles.  Show cycles are enabled after reset and incur a huge performance penalty - set the lower three bits of the ICTRL spr.
 
- Allan

________________________________

From: [email protected] on behalf of rohitpandita
Sent: Wed 3/28/2007 12:10 PM
To: [email protected]
Subject: [MPC500] code execution speed, which is faster?



Hi all,
A rookie question, please bear..
Currently my application code (.text, .rodata,..) resides in ext.flash
whereas data (.data, .bss,..) in ext.ram. Im wondering what's the
fastest way around for mpc555 code execution, can I relocate the
executable code sections to say int.ram or int.flash with potential
performance benefits. Any useful tips would be highly appreciated.
Thanks in advance.

Regards,
Rohit



 


[Non-text portions of this message have been removed]