[ECOS] ROMRAM application runs much slower than RAM
Harshit Suri
h.r.suri@gmail.com
Sun Feb 6 09:42:00 GMT 2005
Hi
I've built an application code both in ROMRAM startup and RAM startup mode.
The code blinks LEDs.
The ROMRAM application runs *significantly* slower than the RAM
version. The time between LEDs blinks is much longer in ROMRAM. I've
generated the delays using 'for' loops like so:
while(1)
{
LEDs ON;
for (delay = 0 ; delay <100000;delay++);
LEDs OFF;
for (delay = 0 ; delay <100000;delay++);
}
All parameters like clock frequency and RTC settings are same in both.
This puzzles me. Both startup modes finally run from RAM.
Then why this disparity in speeds?
thanks
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list