iLLD_TC27xD  1.0
IfxFlash_cfg.h File Reference

FLASH on-chip implementation data. More...

Go to the source code of this file.

Data Structures

struct  IfxFlash_flashSector
 contains start and end address of sectors More...
 

Macros

#define IFXFLASH_CMD_BASE_ADDRESS   (0xaf000000)
 base address for general command sequences More...
 
#define IFXFLASH_NUM_FLASH_MODULES   (1)
 number of flash modules More...
 
#define IFXFLASH_PFLASH_BANKS   (2)
 
#define IFXFLASH_PFLASH_NUM_LOG_SECTORS   (IFXFLASH_PFLASH_BANKS * 27)
 
#define IFXFLASH_PFLASH_NUM_PHYSICAL_SECTORS   (IFXFLASH_PFLASH_BANKS*4)
 
#define IFXFLASH_PFLASH_PAGE_LENGTH   (32)
 
#define IFXFLASH_DFLASH_NUM_PHYSICAL_SECTORS   (1)
 Phy sector for DF. More...
 
#define IFXFLASH_DFLASH_NUM_LOG_SECTORS   (48)
 
#define IFXFLASH_DFLASH_START   (0xaf000000)
 
#define IFXFLASH_DFLASH_SIZE   (IFXFLASH_DFLASH_NUM_LOG_SECTORS*0x2000)
 
#define IFXFLASH_DFLASH_END   (IFXFLASH_DFLASH_START+IFXFLASH_DFLASH_SIZE-1)
 
#define IFXFLASH_DFLASH_NUM_HSM_LOG_SECTORS   (8)
 
#define IFXFLASH_DFLASH_NUM_UCB_LOG_SECTORS   (16)
 
#define IFXFLASH_DFLASH_BANKS   (1)
 
#define IFXFLASH_DFLASH_PAGE_LENGTH   (8)
 
#define IFXFLASH_ERROR_TRACKING_MAX_CORRECTABLE_ERRORS   (10)
 
#define IFXFLASH_ERROR_TRACKING_MAX_UNCORRECTABLE_ERRORS   (1)
 
#define IFXFLASH_PFLASH_OFFSET   (0x00800000)
 offset between PMU PFlash ranges More...
 
#define IFXFLASH_CMD_BASE_OFFSET   (0x00100000)
 offset between command areas (in DFlash range) More...
 
#define IFXFLASH_PFLASH_BURST_LENGTH   (0x100)
 P flash burst length. More...
 
#define IFXFLASH_DFLASH_BURST_LENGTH   (0x20)
 Dflash burst length. More...
 
#define IFXFLASH_PFLASH_START   (0xa0000000)
 p flash start More...
 
#define IFXFLASH_PFLASH_SIZE   (0x00400000 )
 p flash size More...
 
#define IFXFLASH_PFLASH_END   (IFXFLASH_PFLASH_START + IFXFLASH_PFLASH_SIZE-1)
 p flash end More...
 

Enumerations

enum  IfxFlash_FlashType {
  IfxFlash_FlashType_Fa = 0,
  IfxFlash_FlashType_D0 = 1,
  IfxFlash_FlashType_D1 = 2,
  IfxFlash_FlashType_P0 = 3,
  IfxFlash_FlashType_P1 = 4,
  IfxFlash_FlashType_P2 = 5,
  IfxFlash_FlashType_P3 = 6
}
 
enum  IfxFlash_UcbType {
  IfxFlash_UcbType_ucb0 = 0,
  IfxFlash_UcbType_ucb1 = 1,
  IfxFlash_UcbType_ucbHsmc = 5
}
 user configuration block type More...
 

Variables

IFX_EXTERN const
IfxFlash_flashSector 
IfxFlash_dFlashTableEepLog [IFXFLASH_DFLASH_NUM_LOG_SECTORS]
 
IFX_EXTERN const
IfxFlash_flashSector 
IfxFlash_dFlashTableHsmLog [IFXFLASH_DFLASH_NUM_HSM_LOG_SECTORS]
 
IFX_EXTERN const
IfxFlash_flashSector 
IfxFlash_dFlashTablePhys [IFXFLASH_DFLASH_NUM_PHYSICAL_SECTORS]
 
IFX_EXTERN const
IfxFlash_flashSector 
IfxFlash_dFlashTableUcbLog [IFXFLASH_DFLASH_NUM_UCB_LOG_SECTORS]
 
IFX_EXTERN const
IfxFlash_flashSector 
IfxFlash_pFlashTableLog [IFXFLASH_PFLASH_NUM_LOG_SECTORS]
 
IFX_EXTERN const
IfxFlash_flashSector 
IfxFlash_pFlashTablePhys [IFXFLASH_PFLASH_NUM_PHYSICAL_SECTORS]
 

Detailed Description

FLASH on-chip implementation data.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxFlash_cfg.h.


Data Structure Documentation

struct IfxFlash_flashSector

contains start and end address of sectors

Definition at line 148 of file IfxFlash_cfg.h.

Data Fields
uint32 end end address of sector
uint32 start start address of sector

Macro Definition Documentation

#define IFXFLASH_CMD_BASE_OFFSET   (0x00100000)

offset between command areas (in DFlash range)

Definition at line 93 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_BANKS   (1)

Definition at line 79 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_BURST_LENGTH   (0x20)

Dflash burst length.

Definition at line 101 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_END   (IFXFLASH_DFLASH_START+IFXFLASH_DFLASH_SIZE-1)

Definition at line 73 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_NUM_HSM_LOG_SECTORS   (8)

Definition at line 75 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_NUM_LOG_SECTORS   (48)

Definition at line 67 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_NUM_PHYSICAL_SECTORS   (1)

Phy sector for DF.

Definition at line 65 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_NUM_UCB_LOG_SECTORS   (16)

Definition at line 77 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_PAGE_LENGTH   (8)

Definition at line 81 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_SIZE   (IFXFLASH_DFLASH_NUM_LOG_SECTORS*0x2000)

Definition at line 71 of file IfxFlash_cfg.h.

#define IFXFLASH_DFLASH_START   (0xaf000000)

Definition at line 69 of file IfxFlash_cfg.h.

#define IFXFLASH_ERROR_TRACKING_MAX_CORRECTABLE_ERRORS   (10)

Definition at line 83 of file IfxFlash_cfg.h.

Referenced by IfxFlash_getTrackedCorrectableErrors().

#define IFXFLASH_ERROR_TRACKING_MAX_UNCORRECTABLE_ERRORS   (1)

Definition at line 85 of file IfxFlash_cfg.h.

Referenced by IfxFlash_getTrackedUncorrectableErrors().

#define IFXFLASH_NUM_FLASH_MODULES   (1)

number of flash modules

Definition at line 51 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_BANKS   (2)

Definition at line 53 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_BURST_LENGTH   (0x100)

P flash burst length.

Definition at line 97 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_END   (IFXFLASH_PFLASH_START + IFXFLASH_PFLASH_SIZE-1)

p flash end

Definition at line 113 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_NUM_LOG_SECTORS   (IFXFLASH_PFLASH_BANKS * 27)

Definition at line 57 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_NUM_PHYSICAL_SECTORS   (IFXFLASH_PFLASH_BANKS*4)

Definition at line 59 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_OFFSET   (0x00800000)

offset between PMU PFlash ranges

Definition at line 89 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_PAGE_LENGTH   (32)

Definition at line 61 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_SIZE   (0x00400000 )

p flash size

Definition at line 109 of file IfxFlash_cfg.h.

#define IFXFLASH_PFLASH_START   (0xa0000000)

p flash start

Definition at line 105 of file IfxFlash_cfg.h.

Enumeration Type Documentation

Enumerator
IfxFlash_FlashType_Fa 

Flash Array.

IfxFlash_FlashType_D0 

data flash #0

IfxFlash_FlashType_D1 

data flash #1

IfxFlash_FlashType_P0 

program flash #0

IfxFlash_FlashType_P1 

program flash #1

IfxFlash_FlashType_P2 

program flash #2

IfxFlash_FlashType_P3 

program flash #3

Definition at line 121 of file IfxFlash_cfg.h.

user configuration block type

Enumerator
IfxFlash_UcbType_ucb0 

UCB 0.

IfxFlash_UcbType_ucb1 

UCB 1.

IfxFlash_UcbType_ucbHsmc 

HSM UCB.

Definition at line 134 of file IfxFlash_cfg.h.

Variable Documentation

Definition at line 159 of file IfxFlash_cfg.h.

Definition at line 161 of file IfxFlash_cfg.h.

Definition at line 163 of file IfxFlash_cfg.h.

Definition at line 165 of file IfxFlash_cfg.h.

Definition at line 167 of file IfxFlash_cfg.h.

Definition at line 169 of file IfxFlash_cfg.h.