1 Reply Latest reply on Feb 7, 2017 4:20 AM by gsns

    write flash again with low level driver S25FL164K

    nguyenanhtuan.hkvt_1520726

      Hi all,

         

      I use low level driver to write/read flash S25FL164K OK.

         

      But when i  want to rewrite the previously data written then not OK.

         

      When write/read i use function slld_WriteOp/slld_ReadOp.

         

      My write data only 4byte, if i erase (minimum of 4k bytes) then rewrite ok but waste of flash memory.

         

      Is there another solution I make the rewrite??

         

       

         

      Thanks you very much for all!

        • 1. Re: write flash again with low level driver S25FL164K
          gsns

          Hi,

             

          No there is no other solution.

             

          Basically overwriting or updating involves erase and then writing.It is because of the nature of flash devices. In flash you can not transition from 0 to 1. It is always 1 to 0. So when you want to overwrite, you need you will make all the locations as 1 and then make them zero where ever it is necessary. Since erase is involved, the lowest section of flash you can erase is sector. It is not possible to erase individual pages.

             

          Thanks,

             

          Krishna.