OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [include/] [spi_flash.h] - Diff between revs 9 and 13

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 9 Rev 13
Line 73... Line 73...
} SPI_flash;
} SPI_flash;
 
 
 
 
#define FLASH_WRITE_BUFFER_SIZE 0x100   /**< Write Buffer = 256 bytes */
#define FLASH_WRITE_BUFFER_SIZE 0x100   /**< Write Buffer = 256 bytes */
 
 
 
#define SPIFLASH_SECTOR_LENGTH 0x10000 /**< Length of one sector in the flash, needed for erasing */
 
#define SECTORS_PER_SLOT 16 /**< Number of sectors used for each configuration file slot */
 
 
#define MANUFACTURER_STM 0x20           /**< id of ST microelectronics */
#define MANUFACTURER_STM 0x20           /**< id of ST microelectronics */
#define MEMTYPE_STM 0x20                /**< Memory type of M25PXX */
#define MEMTYPE_STM 0x20                /**< Memory type of M25PXX */
#define MEMCAPACITY_8MBIT_STM 0x14      /**< 8 MBit memory capacity */
#define MEMCAPACITY_8MBIT_STM 0x14      /**< 8 MBit memory capacity */
#define MEMCAPACITY_16MBIT_STM 0x15     /**< 16 MBit memory capacity */
#define MEMCAPACITY_16MBIT_STM 0x15     /**< 16 MBit memory capacity */
#define MEMCAPACITY_32MBIT_STM 0x16     /**< 32 MBit memory capacity */
#define MEMCAPACITY_32MBIT_STM 0x16     /**< 32 MBit memory capacity */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.