Re: cfi 0001

Nicolas Pitre
2006-03-20T16:08:28Z

On Mon, 20 Mar 2006, Tomas E wrote:

> Hi,
>
> I have a problem with writing to a Intel Strata flash
> and then doing a warm reset.

How do you "warm reset" ?

> When I do a simple write echo "xxxx" > /MyFlash/test.text the flash
> writes but remain in the state that only 0080 can be read when I
> ioremap some address in the flash.
>
> My problem is that the bootcode also exist in the flash so if the
> watchdog resets the everything just hang.

How does the watchdog perform its reset?

> Is this a expected behavior or shouldn't a write put the flash in a
> readable state (on a hardware level)?

Normally, the flash is put back into read mode with cfi_intelext_reset()
through a reboot notifier handler, assuming of course that you're
using a standard kernel interface to reboot your system.

> What should I do to debug this?

First you should tell us a bit more about your board reset.

Nicolas