IQ80321 flash writing problem

prasadam kumar prasadamkumar at yahoo.com
Fri Mar 4 06:54:40 EST 2005


hai to all

 sorry to trouble you again because i am sending this
problem second time. plz read this problem and give
me the resons why it is altering some memory
locations, so i can look into those issues.

We are working on a task which has to write to a
IQ80321 flash  which is configured as a
MTD CHAR device which uses CFI cmdset 0001 in the
kernel version 2.4.19-rmk7-ds2.

The problem we've encountered is while writing to the
flash, data is getting corrupted in
some memory locations which are at random.

        Here's the flow symbols which are invoked at
the time of write....

                     cfi_intelext_write_buffers ( )
                                      |
                                      |
                                      V
                           do_write_buffers(... )
                                       |
                                       |
                                       V
                              map->write8( )
                                        |
                                        |
                                        V
                               iq80321_write8 ( )
We are cross checking the data that is been sent
before invoking map->write8(). Over here the
checking was successful (i.e there is no corruption in
the data ). But after map->write8() is
invoked, data at some memory locations is getting
altered.




	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/




More information about the linux-mtd mailing list