Shop OBEX P1 Docs P2 Docs Learn Events
SPI flash programmer code - Page 2 — Parallax Forums

SPI flash programmer code

2»

Comments

  • jmgjmg Posts: 15,148
    I'm using the original Winbond W25Q80BV at present but I'm happy to scrap the tube of them for something else if need be.

    That part code already shows as obsolete at digikey, but they do mention 0xff and 0xffff reset commands.

    Can you easily try sending it
    0xff, 0xffff, 0x66, 0x99 (30us)
    or maybe
    0xff, 0xffff, 0x66, 0x99 (30us),0xff ?

    to see if it tolerates the 0x66, 0x99 & exits Quad mode ok ?


  • jmgjmg Posts: 15,148
    Rayman wrote: »
    Just found there is an ofni group standard for commands, shared by many manufacturers

    One of the shared commands is reset, $ff
    http://www.onfi.org/~/media/ONFI/specs/BA_NAND_rev_1_1_Gold.pdf


    That seems to be NAND parallel Devices ( ALE & 8 bit bus etc), so quite different from SPI Serial Flash ?
  • jmg wrote: »
    I'm using the original Winbond W25Q80BV at present but I'm happy to scrap the tube of them for something else if need be.

    That part code already shows as obsolete at digikey, but they do mention 0xff and 0xffff reset commands.

    Can you easily try sending it
    0xff, 0xffff, 0x66, 0x99 (30us)
    or maybe
    0xff, 0xffff, 0x66, 0x99 (30us),0xff ?

    to see if it tolerates the 0x66, 0x99 & exits Quad mode ok ?

    Not quite true, only some variants as is normal for this type of product, however there are plenty of W25Qxxx type chips right up to 128Mbit, all using the same standard (AFAIK, and will check).

    There doesn't seem to be any problems with issuing those sequences:
    TF2# $FF SFINS $FF SFINS $FF SFWR $66 SFINS $99 SFINS SFEND  ok
    TF2# 0 $40 SF DUMP
    00.0000: A4 1F EC FC A4 1D EC FC A4 1B EC FC A4 19 EC FC    ................
    00.0010: A4 17 EC FC A4 15 EC FC A4 13 EC FC A4 11 EC FC    ................
    00.0020: A4 0F EC FC A4 0D EC FC A4 0B EC FC A4 09 EC FC    ................
    00.0030: A4 07 EC FC A4 05 EC FC 40 02 EC FC A4 01 EC FC    ........@....... ok
    TF2#
    

  • jmgjmg Posts: 15,148
    edited 2016-09-16 02:33
    jmg wrote:
    Can you easily try sending it
    0xff, 0xffff, 0x66, 0x99 (30us)
    or maybe
    0xff, 0xffff, 0x66, 0x99 (30us),0xff ?

    to see if it tolerates the 0x66, 0x99 & exits Quad mode ok ?
    ...

    There doesn't seem to be any problems with issuing those sequences:
    Great, maybe Chip can place those (0xff, 0xffff, 0x66, 0x99 (30us) ) into the ROM, and many Flash parts can be checked for Boot from POR and Boot from WDR / Soft Reset ?


Sign In or Register to comment.