因为板上没有编程电压,所以我就用一部分RAM作了放程序的ROM,在prm文件里这么写的,
NAMES END
SEGMENTS
MY_RAM = READ_WRITE 0x2000 TO 0x2FFF; MY_PSEUDO_ROM = READ_ONLY 0x3000 TO 0x3FFF; END
PLACEMENT _PRESTART, STARTUP, ROM_VAR, STRINGS, NON_BANKED,DEFAULT_ROM, COPY INTO MY_PSEUDO_ROM; DEFAULT_RAM INTO MY_RAM;
这和中断向量的地址有关系吗???
[此贴子已经被作者于2006-1-26 21:43:09编辑过] |