//*********************************************************** // TCC730_BOOT.mem : Linking description file for S3CC9AB //----------------------------------------------------------- // (This file can be used with V1.40 and an higher version // .1st issued date : 13th-May,2002 by Soohwan,Lee in SEC //*********************************************************** //*********************************************************** //This file is a kind of linking description file and //only linker references this file during linking session. //According to a description in this file, linker allocates //code and data into a proper memory area. //And if you define an user section, you can allocate code //and data into a specific memory area just what you want. //So this file should include each memory configuration and //a user section, if needed. //----------------------------------------------------------- //[How to define configuration of each memory] //----------------------------------------------------------- // Basic memory configuration of each devices is serviced // with it's default value according to a device. // //---------------------------------------------------- // Memory attribue StartAddress Size { // Access type StartAddress Size // user_section1 // . // } //----------------------------------------------------------- // .Memory Attributes :PM - Memory for Code, generally a ROM // :DM - Memory for Data, generally a RAM // :EPDM - Memory for Code and Data // // .Access Type :RO - Read only // :RW - Read and Write //-------------------------------------------------- // PM 0x00 0x20000 { --> Code, Startaddress=0, Size=128K // RO 0x00 0x20000 --> All area is Read-only. // } --> End of Code area descripton //----------------------------------------------------------- //[How to define an user section] //----------------------------------------------------------- // .Support 2-kinds of user section definition. //------------------------------------------------ // DM 0x00 0x1000 { --> Data, StartAddr=0, Size = 4K // RW 0x00 0x1000 --> All area can be Read and Written. // aaa 0x100 0x100 --> Section_name StartAddr Size // } //------------------------------------------------ // DM 0x00 0x1000 { // RW 0x00 0x1000 // bbb [0x300 0x600] --> Section name [StartAddr EndAddr] // ccc [0x300 0x500] --> Can define Sections with overlap // } //*********************************************************** PM 0 0x400000 { RO 0x0 0x2000 CMEM RO 0x3fC040 0x3FC0 ICMEM // Read Only } DM 0 0x400000 { RW 0x80000 0x80000 DMEM RW 0x200000 0x8000 IDMEM TCC730_INTERNAL 0x206000 0x2000 RW 0x210000 0x8000 IDMEM //split RW 0x220000 0x4000 IDMEM //split RW 0x230000 0x4000 IDMEM //split } MDM 0 0x200000 { RW 0 0x4000 MACMEM RW 0x8000 0x2000 MACMEM } //************************************************************ //This valus is a base address of Control register. //you can modify below,when device has multiple group of control // register. //************************************************************ CONTROLAREA 0x3F0000 0x190 // Control(System I/O) register //End of mem file.