MTD and 28F128J3A
Jaap-Jan Boor
jjboor at aimsys.nl
Fri Aug 20 03:53:40 EDT 2004
On Thu, 2004-08-19 at 17:49, Josh Boyer wrote:
> On Thu, 2004-08-19 at 10:33, Stefan StÃŒrke wrote:
>
> > Thank you, nice idea. I just tested it but unfortunatly at
> > my hardware the reset pin of the flash is only triggered
> > by power on reset and not by processor reset. So the
> > checkstop just kills the processor but it still can not
> > read valid code from flash :-(
>
> I had a situation like that once. Some may tell you that it's a broken
> board design, which is mostly true. But we don't always have a say in
> the design of the boards we use ;).
>
> >
> > Of course as 'dirty' solution I could write a 0xFF to
> > the flash device before executing 'm8260_gorom()'.
> > In this way the problem should be solved.
> >
> > But I am afraid that the code in cfi_cmset_0001 has a bug
> > leaving the chip in query mode after writing to it. And that
> > this bug has side effects which I can't see know but which will
> > be seen by our customers.
> > Has anybody ever heard of such behavior of cfi_cmset_0001?
>
> Is it in CFI query mode, or in Read Status mode? I have seen it be left
> in Read Status mode after a write, but never CFI query mode.
Yes, that's what I also see. That should be ok.
>
> Leaving it in Read Status mode shouldn't have any side effects during
> runtime operation, since the MTD code expects that. It's probably more
> efficient anyway, since the code can't be sure of what the next
> operation will be.
>
> To solve your reset issue, you could do what you said above. Or you can
> put the chip in Read Array mode after every write is completed (erase
> too for that matter). That won't catch all the corner cases though.
>
> josh
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
--
J.G.J. Boor Anton Philipsweg 1
Software Engineer 1223 KZ Hilversum
AimSys bv tel. +31 35 689 1941
Postbus 2194, 1200 CD Hilversum mailto:jjboor at aimsys.nl
More information about the linux-mtd
mailing list