public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Chuck Meade" <chuckmeade@mindspring.com>
To: "Karoliya, Abhishek" <Abhishek.Karoliya@fci.com>,
	<linux-mtd@lists.infradead.org>
Subject: RE: Intel K3 Flash + MTD
Date: Sun, 26 Oct 2003 15:17:35 -0500	[thread overview]
Message-ID: <IIEEICKJLNEPBBDJICNGGEICEBAA.chuckmeade@mindspring.com> (raw)
In-Reply-To: <903E17B6FF22A24C96B4E28C2C0214D7012BB2D8@sr-bng-exc01.int.tsbu.net>

That sounds like the status bit that you are reading back.
Most flashes give back status after you issue them commands
(like all of your unlocks, for instance).  Usually you put them 
back into "read mode" by writing a particular byte to them
after reading the status.  Try writing an FF to the flash.
Check your flash chip's datasheet for the exact sequence that
you must use to put it back in read mode.

Chuck Meade

> -----Original Message-----
> From: linux-mtd-bounces@lists.infradead.org
> [mailto:linux-mtd-bounces@lists.infradead.org]On Behalf Of Karoliya,
> Abhishek
> Sent: Sunday, October 26, 2003 3:01 PM
> To: 'linux-mtd@lists.infradead.org'
> Subject: Intel K3 Flash + MTD
> 
> 
> Hi All,
>   
>      I am using an Intel 128k3 flash chips {4 chips in total with each pair
> forming a 32MB capacity} on a PMC board having powerpc 7447 + marvel 64360
> combination . I running Linux from kernel.org 2.4.20 version.
>          I can erase and write to flash without any problems . But once
> written to flash when I reboot and  read back {using the mtd utils } it just
> returns 0x80 for all location. 
>    I am pretty sure that write is successful as I burn my image and ramdisk
> into the flash from Linux and can reboot the board using these flash
> contents. Also I have taken care that the flash is unlocked every time by
> writing the unlock pattern to the flash  through the init code in the mtd
> map file.
>    Is the cache playing some havoc??
> Please provide some pointers in the direction of resolution of this problem.
> 
> thanks a million
> Abhishek
> 
>  
> 
>    
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2003-10-26 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-26 20:00 Intel K3 Flash + MTD Karoliya, Abhishek
2003-10-26 20:17 ` Chuck Meade [this message]
2003-10-29 18:16   ` Dan Post
2003-10-29 20:21     ` Chuck Meade

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=IIEEICKJLNEPBBDJICNGGEICEBAA.chuckmeade@mindspring.com \
    --to=chuckmeade@mindspring.com \
    --cc=Abhishek.Karoliya@fci.com \
    --cc=linux-mtd@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox