Hi all Iam using STR912FW44 based board and I want a delay function that should give the delay in milisecond I made a function
void delay_ms (unsigned long nCount){ /* Wait function */ nCount=nCount+16000000L; while (nCount--); }
when I call
delay_ms(10000);
it gives arround 10 second delay but when I call
delay_ms(20000); it should give arround 20 second delay but it does not happen
but when I call
delay_ms(10000); delay_ms(10000);
it gives arround 15 sec delay
please tell me exact way to build a delay function
regards rupesh
Ho no no no kalib...this is what I sometimes do on my way to work :-) It is part of an open-source kernel for an STR9 that I'm working on. I'll publish a link here once I am done.
hi Tamir,
does str9 support linux kernel? can we download kernel for that?
I know that the AT91SAM9261 can run embedded Linux.
The AT91SAM9261 has a core with an MMU. However, I don't think that a core like the STR912FW44 can do it because it does not have such a peripheral.
That is: ARM926EJ-S core vs. ARM966E-S core.