/* This is a linker parameter file for the MC9S12XDP512 */ /* This file is setup to use the HCS12X core only. If you plan to also use the XGATE in your project, best create a new project with the 'New Project Wizard' (File|New... menu in the CodeWarrior IDE) and choose the appropriate project parameters. */ NAMES /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your additional files */ END SEGMENTS /* here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. All addresses are 'logical' */ /* Register space */ /* IO_SEG = PAGED 0x0000 TO 0x07FF; intentionally not defined */ /* non-paged EEPROM */ EEPROM = READ_ONLY 0x0C00 TO 0x0FFB; /* non-paged RAM */ RAM = READ_WRITE 0x2000 TO 0x3FFF; /* non-banked FLASH */ ROM_4000 = READ_ONLY 0x4000 TO 0x7FFF; ROM_C000 = READ_ONLY 0xC000 TO 0xFEFF; END PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS defined above. */ DEFAULT_ROM /* copy down information: how to initialize variables */ /* in case you want to use ROM_4000 here as well, make sure that all files (incl. library files) are compiled with the option: -OnB=b */ INTO ROM_C000/*, ROM_4000*/; DEFAULT_RAM /* all variables, the default RAM location */ INTO RAM; END ENTRIES /* keep the following unreferenced variables */ /* OSEK: always allocate the vector table and all dependent objects */ //_vectab OsBuildNumber _OsOrtiStackStart _OsOrtiStart END STACKSIZE 0x100 /* size of the stack (will be allocated in DEFAULT_RAM) */ /* use these definitions in plane of the vector table ('vectors') above */ VECTOR 0 _Startup VECTOR ADDRESS 0XFFD6 SCI1_ISR /* reset vector: this is the default entry point for a C/C++ application. */ //VECTOR 0 Entry /* reset vector: this is the default entry point for an Assembly application. */ //INIT Entry /* for assembly applications: that this is as well the initialization entry point */