在线时间1 小时
UID401159
注册时间2012-11-13
NXP金币0
该用户从未签到
新手上路

- 积分
- 26
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2013-11-27 19:40:24
|
显示全部楼层
回复:MC9S12DG128的ROM_4000段如何使用?????
回复第 2 楼 于2013-10-30 14:33:03发表:
1. 在prm文件里把ROM_4000 打开:
_PRESTART, /* Used in HIWARE format: jump to _Startup at the code start */
STARTUP, /* startup data structures */
ROM_VAR, /* constant variables */
STRINGS, /* string literals */
VIRTUAL_TABLE_SEGMENT, /* C++ virtual table segment */
//.ostext, /* OSEK */
NON_BANKED, /* runtime routines which must not be banked */
COPY /* 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;
2. 在compiler选项里加上-OnB=b
我试过了,程序都不能跑,停留在这个画面
|
|