412 lines
10 KiB
INI
412 lines
10 KiB
INI
///////////////////////////////////////////////////////////
|
|
// Initialize default F2833x memory map as defined by //
|
|
// the MEMRSn signal. For F2833x, M0M1MAP=1 and VMAP=1. //
|
|
///////////////////////////////////////////////////////////
|
|
module F2833x_memory;
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// M0 SARAM, shared prog and data space //
|
|
///////////////////////////////////////////////////////////
|
|
memory M0_prog_mem;
|
|
first 0x000000;
|
|
last 0x0003FF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared M0_data_mem;
|
|
end M0_prog_mem;
|
|
|
|
memory M0_data_mem;
|
|
first 0x000000;
|
|
last 0x0003FF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end M0_data_mem;
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// M1 SARAM, shared prog and data space //
|
|
///////////////////////////////////////////////////////////
|
|
memory M1_prog_mem;
|
|
first 0x000400;
|
|
last 0x0007FF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared M1_data_mem;
|
|
end M1_prog_mem;
|
|
|
|
memory M1_data_mem;
|
|
first 0x000400;
|
|
last 0x0007FF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end M1_data_mem;
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// PF0A, data space only //
|
|
///////////////////////////////////////////////////////////
|
|
memory PF0A_data_mem;
|
|
first 0x000800;
|
|
last 0x000CFF;
|
|
space data;
|
|
waitstates 1;
|
|
type saram;
|
|
end PF0A_data_mem;
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// PIE Vector Table //
|
|
///////////////////////////////////////////////////////////
|
|
memory PIE_vectors;
|
|
first 0x000D00;
|
|
last 0x000DFF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end PIE_vectors;
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// PF0B, data space only //
|
|
///////////////////////////////////////////////////////////
|
|
memory PF0B_data_mem;
|
|
first 0x000E00;
|
|
last 0x001FFF;
|
|
space data;
|
|
waitstates 1;
|
|
type saram;
|
|
end PF0B_data_mem;
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// PF3, data space only //
|
|
///////////////////////////////////////////////////////////
|
|
memory PF3_data_mem;
|
|
first 0x005000;
|
|
last 0x005FFF;
|
|
space data;
|
|
waitstates 2;
|
|
type saram;
|
|
end PF3_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// VBUS32 data space (PF1) //
|
|
// 0x6000 - 0x6FFF //
|
|
//////////////////////////////////////////////////////////
|
|
memory vbus32_data_mem;
|
|
read_waitstates 2;
|
|
write_waitstates 0;
|
|
type vbus32;
|
|
end vbus32_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// VBUS16 data space (PF2) //
|
|
// 0x7000 - 0x7FFF //
|
|
//////////////////////////////////////////////////////////
|
|
memory vbus16_data_mem;
|
|
read_waitstates 2;
|
|
write_waitstates 0;
|
|
type vbus16;
|
|
end vbus16_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// XINTF ZONE 0, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory XINTF0_prog_mem;
|
|
first 0x004000;
|
|
last 0x004FFF;
|
|
space prog;
|
|
waitstates 7;
|
|
type saram;
|
|
shared XINTF0_data_mem;
|
|
end XINTF0_prog_mem;
|
|
|
|
memory XINTF0_data_mem;
|
|
first 0x004000;
|
|
last 0x004FFF;
|
|
space data;
|
|
waitstates 7;
|
|
type saram;
|
|
end XINTF0_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L0 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L0_prog_mem;
|
|
first 0x008000;
|
|
last 0x008FFF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared L0_data_mem;
|
|
end L0_prog_mem;
|
|
|
|
memory L0_data_mem;
|
|
first 0x008000;
|
|
last 0x008FFF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end L0_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L1 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L1_prog_mem;
|
|
first 0x009000;
|
|
last 0x009FFF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared L1_data_mem;
|
|
end L1_prog_mem;
|
|
|
|
memory L1_data_mem;
|
|
first 0x009000;
|
|
last 0x009FFF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end L1_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L2 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L2_prog_mem;
|
|
first 0x00A000;
|
|
last 0x00AFFF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared L2_data_mem;
|
|
end L2_prog_mem;
|
|
|
|
memory L2_data_mem;
|
|
first 0x00A000;
|
|
last 0x00AFFF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end L2_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L3 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L3_prog_mem;
|
|
first 0x00B000;
|
|
last 0x00BFFF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared L3_data_mem;
|
|
end L3_prog_mem;
|
|
|
|
memory L3_data_mem;
|
|
first 0x00B000;
|
|
last 0x00BFFF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end L3_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L4 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L4_prog_mem;
|
|
first 0x00C000;
|
|
last 0x00CFFF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared L4_data_mem;
|
|
end L4_prog_mem;
|
|
|
|
memory L4_data_mem;
|
|
first 0x00C000;
|
|
last 0x00CFFF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end L4_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L5 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L5_prog_mem;
|
|
first 0x00D000;
|
|
last 0x00DFFF;
|
|
space prog;
|
|
waitstates 0;
|
|
type saram;
|
|
shared L5_data_mem;
|
|
end L5_prog_mem;
|
|
|
|
memory L5_data_mem;
|
|
first 0x00D000;
|
|
last 0x00DFFF;
|
|
space data;
|
|
waitstates 0;
|
|
type saram;
|
|
end L5_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L6 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L6_prog_mem;
|
|
first 0x00E000;
|
|
last 0x00EFFF;
|
|
space prog;
|
|
waitstates 1;
|
|
type saram;
|
|
shared L6_data_mem;
|
|
end L6_prog_mem;
|
|
|
|
memory L6_data_mem;
|
|
first 0x00E000;
|
|
last 0x00EFFF;
|
|
space data;
|
|
waitstates 1;
|
|
type saram;
|
|
end L6_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// L7 SARAM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory L7_prog_mem;
|
|
first 0x00F000;
|
|
last 0x00FFFF;
|
|
space prog;
|
|
waitstates 1;
|
|
type saram;
|
|
shared L7_data_mem;
|
|
end L7_prog_mem;
|
|
|
|
memory L7_data_mem;
|
|
first 0x00F000;
|
|
last 0x00FFFF;
|
|
space data;
|
|
waitstates 1;
|
|
type saram;
|
|
end L7_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// XINTF ZONE 6, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory XINTF6_prog_mem;
|
|
first 0x100000;
|
|
last 0x1FFFFF;
|
|
space prog;
|
|
waitstates 7;
|
|
type saram;
|
|
shared XINTF6_data_mem;
|
|
end XINTF6_prog_mem;
|
|
|
|
memory XINTF6_data_mem;
|
|
first 0x100000;
|
|
last 0x1FFFFF;
|
|
space data;
|
|
waitstates 7;
|
|
type saram;
|
|
end XINTF6_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// XINTF ZONE 7, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory XINTF7_prog_mem;
|
|
first 0x200000;
|
|
last 0x2FFFFF;
|
|
space prog;
|
|
waitstates 7;
|
|
type saram;
|
|
shared XINTF7_data_mem;
|
|
end XINTF7_prog_mem;
|
|
|
|
memory XINTF7_data_mem;
|
|
first 0x200000;
|
|
last 0x2FFFFF;
|
|
space data;
|
|
waitstates 7;
|
|
type saram;
|
|
end XINTF7_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// FLASH, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory FLASH_prog_mem;
|
|
first 0x300000;
|
|
last 0x33FFF7;
|
|
space prog;
|
|
waitstates 5;
|
|
type flash;
|
|
shared FLASH_data_mem;
|
|
end FLASH_prog_mem;
|
|
|
|
memory FLASH_data_mem;
|
|
first 0x300000;
|
|
last 0x33FFF7;
|
|
space data;
|
|
waitstates 5;
|
|
type flash;
|
|
end FLASH_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// PASSWORDS, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory PASSWORDS_prog_mem;
|
|
first 0x33FFF8;
|
|
last 0x33FFFF;
|
|
space prog;
|
|
waitstates 16;
|
|
type flash;
|
|
shared PASSWORDS_data_mem;
|
|
end PASSWORDS_prog_mem;
|
|
|
|
memory PASSWORDS_data_mem;
|
|
first 0x33FFF8;
|
|
last 0x33FFFF;
|
|
space data;
|
|
waitstates 16;
|
|
type flash;
|
|
end PASSWORDS_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// OTP, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory OTP_prog_mem;
|
|
first 0x380400;
|
|
last 0x3807FF;
|
|
space prog;
|
|
waitstates 8;
|
|
type flash;
|
|
shared OTP_data_mem;
|
|
end OTP_prog_mem;
|
|
|
|
memory OTP_data_mem;
|
|
first 0x380400;
|
|
last 0x3807FF;
|
|
space data;
|
|
waitstates 8;
|
|
type flash;
|
|
end OTP_data_mem;
|
|
|
|
//////////////////////////////////////////////////////////
|
|
// BOOT ROM, shared prog and data space //
|
|
//////////////////////////////////////////////////////////
|
|
memory BOOT_prog_mem;
|
|
first 0x3FE000;
|
|
last 0x3FFFFF;
|
|
space prog;
|
|
waitstates 1;
|
|
type rom;
|
|
shared BOOT_data_mem;
|
|
end BOOT_prog_mem;
|
|
|
|
memory BOOT_data_mem;
|
|
first 0x3FE000;
|
|
last 0x3FFFFF;
|
|
space data;
|
|
waitstates 1;
|
|
type rom;
|
|
end BOOT_data_mem;
|
|
|
|
end F2833x_memory;
|