1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
30 const Fls_SectorType fls_SST25xx_SectorList[] = {
\r
32 .FlsSectorStartaddress = (Fls_AddressType)0x00000000, // Start address of this sector
\r
33 .FlsPageSize = (Fls_LengthType)1, // Read page size of 128 bits (4 words), (8 bytes)
\r
34 .FlsSectorSize = (Fls_LengthType)(4 KB), // 16Kbyte
\r
35 // Number of continuous sectors with the above characteristics.
\r
36 .FlsNumberOfSectors = (uint32)512,// L0->L7 , 8 sectors
\r
40 // Partitions start at 1
\r
41 // uint8 Fls_BlockToPartitionMap[] = { 1,1,1,1,2,2,2,2,3,3,4,4,5,5,6,6,7,7,8,8 };
\r
43 const Fls_ConfigType FlsSST25xxConfigSet[]=
\r
47 #if ( FLS_AC_LOAD_ON_JOB_START == STD_ON)
\r
48 .FlsAcWrite = __FLS_ERASE_RAM__,
\r
49 .FlsAcErase = __FLS_WRITE_RAM__,
\r
55 .FlsMaxReadFastMode = 64,
\r
56 .FlsMaxReadNormalMode = 1,
\r
57 .FlsMaxWriteFastMode = 1,
\r
58 .FlsMaxWriteNormalMode = 1,
\r
60 .FlsJobEndNotification = NULL,
\r
61 .FlsJobErrorNotification = NULL,
\r
63 .FlsSectorList = &fls_SST25xx_SectorList[0],
\r
64 .FlsSectorListSize = sizeof(fls_SST25xx_SectorList)/sizeof(Fls_SectorType),
\r
66 .FlsBlockToPartitionMap = Fls_BlockToPartitionMap,
\r