From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16833 invoked by alias); 19 Oct 2009 11:05:20 -0000 Received: (qmail 16820 invoked by uid 22791); 19 Oct 2009 11:05:19 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from cpanel5.proisp.no (HELO cpanel5.proisp.no) (209.85.100.29) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Oct 2009 11:05:13 +0000 Received: from mail-yw0-f204.google.com ([209.85.211.204]:42249) by cpanel5.proisp.no with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.69) (envelope-from ) id 1Mzq32-00028m-28 for ecos-patches@ecos.sourceware.org; Mon, 19 Oct 2009 13:05:08 +0200 Received: by ywh42 with SMTP id 42so3992318ywh.28 for ; Mon, 19 Oct 2009 04:05:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.176.38 with SMTP id d38mr3201086anp.12.1255950310700; Mon, 19 Oct 2009 04:05:10 -0700 (PDT) In-Reply-To: <8DF19BDE1EAEBE408BD5D46E1CD4AF8DFEB4BB@mse12be1.mse12.exchange.ms> References: <8DF19BDE1EAEBE408BD5D46E1CD4AF8DFEB4BB@mse12be1.mse12.exchange.ms> Date: Mon, 19 Oct 2009 11:05:00 -0000 Message-ID: Subject: Re: STRATA v2 buffered programming fix From: Edgar Grimberg To: Kurt Siedenburg Cc: Bart Veer , ecos-patches@ecos.sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2009-10/txt/msg00024.txt.bz2 Hi Kurt, On Fri, Oct 16, 2009 at 7:01 PM, Kurt Siedenburg wrote: > Edgar, > =A0a while ago I got Nymonyx 65nm P30 chips as a replacement for older > Strata chips. Thanks for the info. I've got the old Intel branded flash chip. The cause of my problems was actually a cache issue. I've got a bit confused because I got errors from different sources and I was trying to silence them down. Now I'm testing the flash driver by using the uncached addresses and things look fine. The annoying part of the problem is the CPU. It cannot just disable all caches, it cannot invalidate all cache lines, so I need to find a nice solution for this. I'll be reading some other HALs to see how this was solved. Regards, Edgar > =A0One problem I encountered is an incompatibility to its > predecessors: =A0The buffer size for programmed operations has increased > to 512 words (that's not yet incompatible). =A0However you can only use > the full buffer size if it is naturally aligned. > > The datasheet reads > > "The maximum buffer size would be 256-word if the misaligned address > range is crossing a 512-word boundary during programming." > > Maybe this is the source of your troubles. > It definitly took me a while to find this piece of information. > > I had suggested a patch for this issue a while back (Mar 5/6 2009) on > this list. > I didn't check/follow up on it to see if it ever made it to the > repository. > > I recall vaguely that someone else contributed another patch in this > area sometime later. > Maybe that patch addresses the issue above as well. > > Best, > =A0Kurt > > --=20 Edgar Grimberg System Developer Zylin AS ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html Phone: (+47) 51 63 25 00