Re: code execution speed, which is faster?

"rohitpandita" <[email protected]> Mon, 02 Apr 2007 21:04:22 -0000
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Hi Allan,
Thanks for your reply, its much appreciated. Could you also please
tell what registers should be read to find out current sys clock freq.?

Thanks,
Rohit


--- In [email protected], "Dobbin Allan-r11834"
<Allan.Dobbin@...> wrote:
>
> 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]
>