[U-Boot-Users] WG: AT91RM9200 CFI Flash and Timer Functions sporadically fail - SOLVED -

Anders Larsen al at alarsen.net
Sat Jun 30 18:55:47 CEST 2007


On Thu, 28 Jun 2007 13:59:34 +0200, Erdmann, Thomas wrote:

> The problem was the 32 bit variable "timestamp" in interrupts.c.
> The 16 bit timer TC0 is clocked with 30MHz and "software extended" to 32
> bit in timestamp. It gets an overflow all ~133s. When the overflow falls
> in an flash erase or flash program cycle a false timeout is detected.

Exactly.
I posted a patch to fix this on the 28. february, see
http://sourceforge.net/mailarchive/message.php?msg_name=1172671129l.26528l.1l%40ecxwww1.reanet.de

Cheers
 Anders





More information about the U-Boot mailing list