All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Larsen <al@alarsen.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] WG: AT91RM9200 CFI Flash and Timer Functions sporadically fail - SOLVED -
Date: Sat, 30 Jun 2007 16:55:47 +0000 (UTC)	[thread overview]
Message-ID: <f661uj$i1s$3@joe.alarsen.net> (raw)
In-Reply-To: F6726C3E89A64840A5E10310E342A38F02B25A2F@xchback01.back.harting.intra

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

      reply	other threads:[~2007-06-30 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-28 11:59 [U-Boot-Users] WG: AT91RM9200 CFI Flash and Timer Functions sporadically fail - SOLVED - Erdmann, Thomas
2007-06-30 16:55 ` Anders Larsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f661uj$i1s$3@joe.alarsen.net' \
    --to=al@alarsen.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.