Solved! Go to Solution.
/* This is a linker parameter file for the mc9s08dz60 */NAMES END /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your own files too. */SEGMENTS /* Here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */ ROM = READ_ONLY 0x1900 TO 0xFFAD; Z_RAM = READ_WRITE 0x0080 TO 0x00FF; RAM = READ_WRITE 0x0100 TO 0x107F; ROM1 = READ_ONLY 0x1080 TO 0x13FF; EEPROM = NO_INIT 0x1400 TO 0x17FF;ENDPLACEMENT /* Here all predefined and user segments are placed into the SEGMENTS defined above. */ DEFAULT_RAM INTO RAM; DEFAULT_ROM, ROM_VAR, STRINGS INTO ROM; /* ROM1 In case you want to use ROM1 as well, be sure the option -OnB=b is passed to the compiler. */ _DATA_ZEROPAGE, MY_ZEROPAGE INTO Z_RAM;ENDSTACKSIZE 0xF0 /* by default it's been 0x50 */VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */
...#pragma CODE_SEG Z_RAM///MyVariable, holding frequently used information (placed in direct memory area (Z_RAM))MyVariable_Type myVar; #pragma CODE_SEG DEFAULT ///Global time1 variable (inc = 100ms)UINT32 gTime1;....