• let esptool.py figure out your flash size

    esptool.py --port "$COMPORT" --baud 460800 flash_id
    
      Manufacturer: e0
      Device: 4016
      Detected flash size: 4MB
    

    W25Q40BV ( 4 Mega Bits / 512K Byte ) = ID 4013h
    W25Q80BV ( 8 Mega Bits / 1 Mega Byte ) = ID 4014h
    W25Q16BV ( 16 Mega Bits / 2 Mega Bytes ) = ID 4015h
    W25Q32BV ( 32 Mega Bits / 4 Mega Bytes ) = ID 4016h
    W25Q64CV ( 64 Mega bits / 8 Mega Bytes ) = ID 4017h

About

Avatar for MaBe @MaBe started