Register definition:
Status Register:
  Bit        Name                            Settings:    
   7         Status Register Write Enable    0: Enabled (Default), 1: Disabled
   5         Top/Bottom                      0: Top (Default), 1: Bottom
6, 4-2       BP[3:0]                         See Protected Area table

Nonvolatile Configuration Register:
 Address     Name                            Settings:
   0         I/O Mode:                       FFh: Default, DFh: Ext SPI / w DQS, E7h: Octal DDR, C7h: Octal DDR / w DQS
   1         Dummy cycle Configuration       1Fh: Default, 00h: Identical to 1Fh, 01h-1Eh: 1 to 30 Dummy Cycles
   2         Reserved
   3         Prog.Output strength            FFh: 50ohm (Default), FEh: 35ohm, FDh: 25ohm, FCh: 18ohm
   4         Reserved
   5         Beyond 128Mb address config     FFh: 3 - byte address (Default), FEh: 4 - byte address
   6         XIP config                      FFh: XIP Disabled (Default), FEh: 8IOFR, FDh: 8OFR, F8h: FAST READ
   7         Wrap Config                     FFh: Continuous (Default), FEh: 64-byte, FD: 32-byte, FC: 16-byte

OTP Array Control Byte (Byte 64):
  Bit        Name                            Settings:    
  7-1        Reserved                        1: Default
   0         OTP Control Bit                 1: Unlock (Default), 0: Lock (OTP)

Advanced Sector Protection Register
  Bit        Name                            Settings:    
  15-3       Reserved - will read as 1
   2         Password Protection Lock        0: Enabled (OTP), 1: Disabled (Default)
   1         Persistent Protection Lock      0: Enabled (OTP), 1: Disabled (Default)
   0         Reserved - will read as 1

Password Register:
  Bit        Name                            Settings:
  63-0       Password                        64-bit Password (OTP)

Lock Bits Register
  Bit        Name                            Settings:    
  7-0        Nonvolatile Lock Bit            00 = Sector PROTECTED from modify operations
                                             FF = Sector UNPROTECTED from modify operations (Default)
Protection Management Register:
  Bit        Name                            Settings:    
   5         Data Protection at Power-Up     1: Unlock (Default), 0: Lock (OTP)
   4         Status Register Lock            1: Unlock (Default), 0: Lock (OTP)
   2         PMR Lockdown                    1: Unlock (Default), 0: Lock (OTP)
   1         Sector Lock Bit Lockdown        1: Unlock (Default), 0: Lock (OTP)
   0         Sector Lock Bit Erase Lock      1: Unlock (Default), 0: Lock (OTP)

Additional Notes:

    Password is OTP. Any attempts to reprogram or erase the password will fail.
    If device's password has already been programmed, the correct password must be provided for verification.
    When in Password Protection Lock, the correct password must be provided to unlock programming of the Lock Bits.
    Verify Only cannot be used to verify password in this mode.
    When in Sector Protection Lock, password feature is disabled.


    Lock Bits Security default to 0xFF
    Setting a sector to 0x00 will protect the data in that sector from modification.

    This device has 512 sectors, indexed 0 - 511

    To set Lock Bits Security, enter its index
    Example: To set Sector at index 13, enter 13

    To set a range, separate the low and high register indexes with a hyphen
    Example: To set Sectors at indexes 3 - 17, enter 3-17

    To specify multiple indexes or ranges, separate the indexes or ranges with a comma
    Example: To set Sectors at indexes 13, 22-27, 31-40 and 47, enter 13,22-27,31-40,47


    Protection Management Register:
        - Data Protection at power up:          Sets all sector lock bits
        - Status Regsiter Lock:                 Permanently locks status regsiter
        - PMR Lockdown:                         Permanently locks this register
        - Sector Lock Bit Lockdown:             Permanently locks contents of sector lock bit register from program and erase operations
        - Sector Lock Bit Erase Lock:           Lock Bit Register becomes unerasable
