2
* memoryInternalROM.x -- TriBoard-TC1797 internal flash memory configuration
3
* (only first flash module supported ATM)
5
* Copyright (C) 1982-2008 HighTec EDV-Systeme GmbH.
8
/* __TC1797__ __TC131__ with Core TC1.3.1 */
9
__TRICORE_DERIVATE_MEMORY_MAP__ = 0x1797;
10
/* the external RAM description */
11
__EXT_CODE_RAM_BEGIN = 0x80000000;
12
__EXT_CODE_RAM_SIZE = 2M;
13
__EXT_DATA_RAM_BEGIN = 0xa1000000;
14
__EXT_DATA_RAM_SIZE = 1M;
15
__RAM_END = __EXT_DATA_RAM_BEGIN + __EXT_DATA_RAM_SIZE;
16
/* the internal ram description */
17
__INT_CODE_RAM_BEGIN = 0xd4000000;
18
__INT_CODE_RAM_SIZE = 24K;
19
__INT_DATA_RAM_BEGIN = 0xd0000000;
20
__INT_DATA_RAM_SIZE = 124K;
21
/* the pcp memory description */
22
__PCP_CODE_RAM_BEGIN = 0xf0060000;
23
__PCP_CODE_RAM_SIZE = 32K;
24
__PCP_DATA_RAM_BEGIN = 0xf0050000;
25
__PCP_DATA_RAM_SIZE = 16K;
27
/* External Bus Memory Configuration word */
28
__EBMCFG = 0x0000800C;
32
ext_cram (rx!p): org = 0x80000000, len = 2M
33
ext_dram (w!xp): org = 0xa1000000, len = 1M
34
int_cram (rx!p): org = 0xd4000000, len = 24K
35
int_dram (w!xp): org = 0xd0000000, len = 124K
36
pcp_data (wp!x): org = 0xf0050000, len = 16K
37
pcp_text (rxp): org = 0xf0060000, len = 32K
40
/* the symbol __TRICORE_DERIVATE_NAME__ will be defined in the crt0.S and is
41
* tested here to confirm that this memory map and the startup file will
44
_. = ASSERT ((__TRICORE_DERIVATE_MEMORY_MAP__ == __TRICORE_DERIVATE_NAME__), "Using wrong Memory Map. This Map is for TC1797");