From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Larsen Date: Sat, 30 Jun 2007 16:55:47 +0000 (UTC) Subject: [U-Boot-Users] WG: AT91RM9200 CFI Flash and Timer Functions sporadically fail - SOLVED - References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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