I'm trying to debug my application based on MC9S08DZ60 and encountered a problem need your help.
I used the following link file in my project and hope the program will run from the function _Starup in the file Star08.c . but in fact, the program runs from the function main in full chip simulation mode. could any one tell me why the problem occurs and how to resolve the problem?
below is the link file I uesd. Thanks
###################################################################
*/
NAMES
END
SECTIONS
Z_RAM = READ_WRITE 0x0080 TO 0x009F;
RAM = READ_WRITE 0x00A0 TO 0x107F;
ROM = READ_ONLY 0x1900 TO 0xFFAD;
EEPROM = READ_ONLY 0x1400 TO 0x17FF;
END
PLACEMENT
DEFAULT_RAM /* non-zero page variables */
INTO RAM;
DEFAULT_ROM, ROM_VAR, STRINGS INTO ROM;
_DATA_ZEROPAGE, /* zero page variables */
MY_ZEROPAGE INTO Z_RAM;
END
the CPU module. */
STACKSIZE 0x0080 /* Size of the system stack. Value can be changed on the "Build options" tab */
VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */