Thanks Dav for your concern.
I download the program to the internal flash of the ARM board, so I don't use external memory. I didn't find anything related to the number of wait states in the manual of the LPC2129 regarding to this.
Ayman
derbaier <dershu@...> wrote:
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]
>
SPONSORED LINKS
Microcontrollers Microprocessor Intel microprocessors
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "lpc2000" on the web.
To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
[Non-text portions of this message have been removed]Message
Re: [lpc2000] Re: difference in execution time(Keil, LPC2129)
2006-05-07 by ayman ghaly
Attachments
- No local attachments were found for this message.