[U-Boot-Users] Problems with udelay() on AT91RM9200 !

22 Nov
2004
22 Nov
'04
3:13 p.m.
Hi there,
I just noticed that the implementation of udelay() - i.e udelay_masked() - resets the timer. Why is that?
This prevents me from doing something like
start = get_timer(0); /* get current time */ do { if ( get_timer(start) > timeout) { puts(" TIMEOUT!"); break; } putc('.'); udelay(100000); } while (1);
:-(
--
Steven
7472
Age (days ago)
7472
Last active (days ago)
0 comments
1 participants
participants (1)
-
Steven Scholz