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

Subversion Repositories gecko3

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /gecko3/trunk/GECKO3COM/gecko3com-fw/firmware/include
    from Rev 9 to Rev 13
    Reverse comparison

Rev 9 → Rev 13

/spi_flash.h
75,6 → 75,9
 
#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 MEMTYPE_STM 0x20 /**< Memory type of M25PXX */
#define MEMCAPACITY_8MBIT_STM 0x14 /**< 8 MBit memory capacity */
/gecko3com_spi.h
35,11 → 35,11
#ifndef INCLUDED_GECKO3COM_SPI_H
#define INCLUDED_GECKO3COM_SPI_H
 
#include "spi_flash.h"
 
#define START_ADRESS_SLOT0 0x0 /**< Start adress of the first fpga configuration file in the spi flash */
#define START_ADRESS_SLOT1 0x00100000 /**< Start adress of the second fpga configuration file in the spi flash */
#define start_adress_slot0(flash_drv) 0x00 /**< Start adress of the first fpga configuration file in the spi flash */
#define start_adress_slot1(flash_drv) flash_drv.capacity >> 1 /**< Start adress of the second fpga configuration file in the spi flash */
 
#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 */
 
 
#endif /* INCLUDED_GECKO3COM_SPI_H */

powered by: WebSVN 2.1.0

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