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