DSPRelated.com
Forums

Writing data to Flash

Started by mandroi2000 July 9, 2008
I am having great difficulty in writing to a flash: it just will not
do it! I think my commands for the particular flash are correct and I
am allowing
for a varying delay as well as number of nop's for write.
> once it did work and I noticed, then, for some reason the flash had
been populated with '1's (I don't know how).
> Does erase populate the flash with '1's or '0's?
>
> How can I introduce wait states in the hope of achieving erase or
wirtes to flash?
>
> regards
>
> Ramesh
On Wed, 9 Jul 2008, mandroi2000 wrote:

> I am having great difficulty in writing to a flash: it just will not
> do it! I think my commands for the particular flash are correct and I
> am allowing
> for a varying delay as well as number of nop's for write.
> > once it did work and I noticed, then, for some reason the flash had
> been populated with '1's (I don't know how).
> > Does erase populate the flash with '1's or '0's?

erase populates with 1's.

> >
> > How can I introduce wait states in the hope of achieving erase or
> wirtes to flash?

Check the manual, there should be a register or set of registers that
define external bus access timing.

Patience, persistence, truth,
Dr. mike