• AVR Freaks

Hot!SST26WF080B's sector gets corrupt!

New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2020/07/08 07:56:32
  • Location: 0
  • Status: offline
2020/07/30 04:19:20 (permalink)

SST26WF080B's sector gets corrupt!


I'm using the SST26WF080B Flash with SPI interface. At present, in my application, sometimes I write the bulk amount of data into the flash. While accessing the flash if suddenly either the power of the board cuts-off or I put the controller into the programming mode. So, randomly the Flash gets corrupted, more precisely, only the particular sector which was being accessed during the interruption gets corrupted. Resultant, the access to that particular sector gets disabled. Hence, is there a way to avoid such scenarios?.
Junior Member
  • Total Posts : 72
  • Reward points : 0
  • Joined: 2009/10/23 00:17:05
  • Location: 0
  • Status: online
Re: SST26WF080B's sector gets corrupt! 2020/07/30 13:56:39 (permalink)
4 (1)
Cutting the power while writing to flash will always result in corrupt data. You can add checksums so you at least know what data is corrupt and what is valid. There are many ways to do this.
Super Member
  • Total Posts : 28368
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: SST26WF080B's sector gets corrupt! 2020/07/30 16:13:28 (permalink)
I'm curious what "access gets disabled" means.
Can't you just overwrite that same sector with new information?

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
Jump to:
© 2020 APG vNext Commercial Version 4.5