Skip to contentSkip to conversation

Problems with udelay() on AT91RM9200 !

U-Boot-Users Steven Scholz 2 participants 2 messages Nov 22, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Wolfgang Denk
Quoted 2 lines · In message <[email protected]> you wrote:

I just noticed that the implementation of udelay() - i.e udelay_masked() - resets the timer. Why is that?

Because of a bug?

Why didn't I think of this! ;-)

But seriously what's the point in letting the timer run with 40 or 80 MHz? In my case udelay won't work for delays > 107ms anyway.... :-(

--
Steven

#2 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

Why didn't I think of this! ;-)

Dunno.

Quoted 2 lines

But seriously what's the point in letting the timer run with 40 or 80 MHz? In my case udelay won't work for delays > 107ms anyway.... :-(

Then make it run slower if you like.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A memorandum is written not to inform the reader, but to protect  the
writer.                                               -- Dean Acheson