Flash erase byte routine


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: Flash erase byte routine

    yes i have seen better chips and will change to them , the routines work for all the same size chip , ill how much i can get the SST25VF080B for ,
    but ill also try W25Q80BV - have ordered 200 of these at 6c each + freight

    these when they arrive they have a 4k erase space option , and have 25ms time to do it , plus other optionsthat come from the Q series of flash .

    be it 4k or 64k , a routine to change say 1- 256k bytes in the same sector/page on the fly is really nice routine to have on hand on these chips and would be easy enought o change to the size that best suites your needs


    http://www.adafruit.com/datasheets/W25Q80BV.pdf

  2. #2
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: Flash erase byte routine

    Quote Originally Posted by longpole001 View Post
    be it 4k or 64k , a routine to change say 1- 256k bytes in the same sector/page on the fly is really nice routine to have on hand on these chips and would be easy enough to change to the size that best suites your needs
    We need to start on the routine or have you started?

    Your approach in #1 is to copy sectors to be changed to sector 0. The routine will read from the sector 0 into say byte variables these will then be changed if required and written to Flash. This will be repeated for the whole 4k.

    Any thoughts?

Similar Threads

  1. Erase error
    By waynepauly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th June 2012, 03:23
  2. Internal eeprom - erase block
    By ruijc in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 13th February 2008, 12:11
  3. 18F2431 won't program or erase.
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 28th September 2006, 08:55
  4. 12F675 won't reprogram or erase
    By modifyit in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 19th May 2006, 06:07
  5. 12F629 won't erase and bandgap save?
    By Keith55555 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th April 2004, 02:28

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts