SPI Flash. More...
Go to the source code of this file.
SPI Flash.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
Definition in file spi_flash_map.h.
#define _PROGRAM_POWER_SAVE_ |
Definition at line 40 of file spi_flash_map.h.
#define BT_IMAGE_PRESENT |
Definition at line 41 of file spi_flash_map.h.
#define FLASH_2M_TOTAL_SZ (256 * 1024UL) |
Total Size of 2M Flash Memory
Definition at line 62 of file spi_flash_map.h.
#define FLASH_4M_TOTAL_SZ (512 * 1024UL) |
Total Size of 4M Flash Memory
Definition at line 65 of file spi_flash_map.h.
#define FLASH_8M_TOTAL_SZ (1024 * 1024UL) |
Total Size of 8M Flash Memory
Definition at line 68 of file spi_flash_map.h.
#define FLASH_BLOCK_SIZE (32 * 1024UL) |
Block Size in Flash Memory
Definition at line 52 of file spi_flash_map.h.
#define FLASH_COMMON_SZ |
Definition at line 168 of file spi_flash_map.h.
#define FLASH_PAGE_SZ (256) |
Page Size in Flash Memory
Definition at line 58 of file spi_flash_map.h.
#define FLASH_SECTOR_SZ (4 * 1024UL) |
Sector Size in Flash Memory
Definition at line 55 of file spi_flash_map.h.
#define FLASH_START_ADDR (0UL) |
Starting Address of Flash Memory
Definition at line 48 of file spi_flash_map.h.
#define HOST_CONTROL_FLASH_OFFSET (M2M_OTA_IMAGE1_OFFSET + OTA_IMAGE_SIZE) |
Definition at line 187 of file spi_flash_map.h.
#define HOST_CONTROL_FLASH_SIG 0x414f5354 |
Definition at line 189 of file spi_flash_map.h.
#define HOST_CONTROL_FLASH_SZ (FLASH_SECTOR_SZ * 1) |
Definition at line 188 of file spi_flash_map.h.
#define M2M_BACKUP_FLASH_OFFSET (M2M_CONTROL_FLASH_OFFSET + M2M_CONTROL_FLASH_SZ) |
Definition at line 118 of file spi_flash_map.h.
#define M2M_BACKUP_FLASH_SZ (FLASH_SECTOR_SZ * 1) |
Definition at line 119 of file spi_flash_map.h.
#define M2M_BOOT_FIRMWARE_FLASH_SZ (FLASH_SECTOR_SZ * 1) |
Definition at line 107 of file spi_flash_map.h.
#define M2M_BOOT_FIRMWARE_STARTING_ADDR (FLASH_START_ADDR) |
Definition at line 106 of file spi_flash_map.h.
#define M2M_BT_FIRMWARE_FLASH_OFFSET (M2M_PS_FIRMWARE_FLASH_OFFSET + M2M_PS_FIRMWARE_FLASH_SZ) |
Definition at line 231 of file spi_flash_map.h.
#define M2M_BT_FIRMWARE_FLASH_SZ (160 * 1024UL) |
Definition at line 233 of file spi_flash_map.h.
#define M2M_CACHED_CONNS_FLASH_OFFSET (M2M_TLS_SERVER_FLASH_OFFSET + M2M_TLS_SERVER_FLASH_SZ) |
Definition at line 155 of file spi_flash_map.h.
#define M2M_CACHED_CONNS_FLASH_SIG |
Definition at line 157 of file spi_flash_map.h.
#define M2M_CACHED_CONNS_FLASH_SZ (FLASH_SECTOR_SZ * 1) |
Definition at line 156 of file spi_flash_map.h.
#define M2M_CONFIG_SECT_TOTAL_SZ (FLASH_SECTOR_SZ * 2) |
Definition at line 133 of file spi_flash_map.h.
#define M2M_CONTROL_FLASH_OFFSET (M2M_BOOT_FIRMWARE_STARTING_ADDR + M2M_BOOT_FIRMWARE_FLASH_SZ) |
Definition at line 112 of file spi_flash_map.h.
#define M2M_CONTROL_FLASH_SZ (FLASH_SECTOR_SZ * 1) |
Definition at line 113 of file spi_flash_map.h.
#define M2M_FIRMWARE_FLASH_OFFSET (M2M_OTA_IMAGE1_OFFSET) |
Definition at line 206 of file spi_flash_map.h.
#define M2M_FIRMWARE_FLASH_SZ (304 * 1024UL) /* downloader firmware and main firmware */ |
Definition at line 214 of file spi_flash_map.h.
#define M2M_GAIN_FLASH_OFFSET (M2M_PLL_FLASH_OFFSET + M2M_PLL_FLASH_SZ) |
Definition at line 131 of file spi_flash_map.h.
#define M2M_GAIN_FLASH_SZ (M2M_CONFIG_SECT_TOTAL_SZ - M2M_PLL_FLASH_SZ) |
Definition at line 132 of file spi_flash_map.h.
#define M2M_HTTP_MEM_FLASH_OFFSET (M2M_FIRMWARE_FLASH_OFFSET + M2M_FIRMWARE_FLASH_SZ) |
Definition at line 219 of file spi_flash_map.h.
#define M2M_HTTP_MEM_FLASH_SZ (FLASH_SECTOR_SZ * 2) |
Definition at line 220 of file spi_flash_map.h.
#define M2M_OTA_IMAGE1_OFFSET (M2M_CACHED_CONNS_FLASH_OFFSET + M2M_CACHED_CONNS_FLASH_SZ) |
Definition at line 163 of file spi_flash_map.h.
#define M2M_OTA_IMAGE2_OFFSET (FLASH_4M_TOTAL_SZ) |
OTA image 2 offset
Definition at line 195 of file spi_flash_map.h.
#define M2M_PLL_FLASH_OFFSET (M2M_BACKUP_FLASH_OFFSET + M2M_BACKUP_FLASH_SZ) |
Definition at line 124 of file spi_flash_map.h.
#define M2M_PLL_FLASH_SZ (1024 * 2) |
Definition at line 130 of file spi_flash_map.h.
#define M2M_PLL_FREQ_FLASH_OFFSET (M2M_PLL_WIFI_CHAN_FLASH_OFFSET + M2M_PLL_WIFI_CHAN_FLASH_SZ) |
Definition at line 128 of file spi_flash_map.h.
#define M2M_PLL_FREQ_FLASH_SZ ((1+84)*4) |
Definition at line 129 of file spi_flash_map.h.
#define M2M_PLL_MAGIC_NUMBER_FLASH_SZ (2*4) |
Definition at line 125 of file spi_flash_map.h.
#define M2M_PLL_WIFI_CHAN_FLASH_OFFSET (M2M_PLL_FLASH_OFFSET + M2M_PLL_MAGIC_NUMBER_FLASH_SZ) |
Definition at line 126 of file spi_flash_map.h.
#define M2M_PLL_WIFI_CHAN_FLASH_SZ (14*8*4) |
Definition at line 127 of file spi_flash_map.h.
#define M2M_PROGRAM_FLASH_SZ (8 * 1024UL) /* downloader firmware */ |
Definition at line 210 of file spi_flash_map.h.
#define M2M_PS_FIRMWARE_FLASH_OFFSET (M2M_HTTP_MEM_FLASH_OFFSET + M2M_HTTP_MEM_FLASH_SZ) |
Definition at line 225 of file spi_flash_map.h.
#define M2M_PS_FIRMWARE_FLASH_SZ (FLASH_SECTOR_SZ * 0) |
Definition at line 226 of file spi_flash_map.h.
#define M2M_TLS_ROOTCER_FLASH_OFFSET (M2M_PLL_FLASH_OFFSET + M2M_CONFIG_SECT_TOTAL_SZ) |
Definition at line 138 of file spi_flash_map.h.
#define M2M_TLS_ROOTCER_FLASH_SIG {0x01,0xF1,0x02,0xF2,0x03,0xF3,0x04,0xF4,0x05,0xF5,0x06,0xF6,0x07,0xF7,0x08,0xF8} |
Definition at line 140 of file spi_flash_map.h.
#define M2M_TLS_ROOTCER_FLASH_SIG_LENGTH 16 |
Definition at line 141 of file spi_flash_map.h.
#define M2M_TLS_ROOTCER_FLASH_SZ (FLASH_SECTOR_SZ * 1) |
Definition at line 139 of file spi_flash_map.h.
#define M2M_TLS_SERVER_FLASH_OFFSET (M2M_TLS_ROOTCER_FLASH_OFFSET + M2M_TLS_ROOTCER_FLASH_SZ) |
Definition at line 148 of file spi_flash_map.h.
#define M2M_TLS_SERVER_FLASH_SIG |
Definition at line 150 of file spi_flash_map.h.
#define M2M_TLS_SERVER_FLASH_SZ (FLASH_SECTOR_SZ * 2) |
Definition at line 149 of file spi_flash_map.h.
#define OTA_IMAGE_SIZE |
Definition at line 242 of file spi_flash_map.h.