How many wait states did you have on your real physical memory and how
many wait states did you tell your simulator to simulate?
-- Dave
--- In lpc2000@yahoogroups.com, ayman ghaly <ghalyayman@...> wrote:
>
> Hi all
>
> I measured the execution time of the code shown below using
break points in the keil simulator and it was approximately 500 micro
seconds.
> But when I measured the execution time of the same code from the
Philips ARM board LPC2129 it was about 3000 micro seconds.
> Do you have any idea about the cause of this difference?
>
> Note that I used the following adjustments before running the code:
> Target: Philips LPC2129
> Oscillator frequency: 12 MHz
> CCLK= 48MHz
> PCLK= CCLK/2
> Cc: No optimization for the code
>
> Code:
>
>
> unsigned int i,j;
> for (i=0;i<5;i++)
> {
> for (j=0;j<286;j++);
> }
>
> Thanks for your help.
> Ayman
>
>
>
> ---------------------------------
> Get amazing travel prices for air and hotel in one click on Yahoo!
FareChase
>
> [Non-text portions of this message have been removed]
>Message
Re: difference in execution time(Keil, LPC2129)
2006-05-06 by derbaier
Attachments
- No local attachments were found for this message.