start12中ram、eeprom映射寄存器的问题
- UID
- 824433
|
start12中ram、eeprom映射寄存器的问题
在start12中要先定义_HCS12_SERIALMON,下面的语句才能实现,但我没有定义_HCS12_SERIALMON,结果在prm中默认的ram和eeprom却和INITRM = 0x39和INITEE = 0x09的一样,这是怎么回事啊?
#if defined(_HCS12_SERIALMON)
/* for Monitor based software remap the RAM & EEPROM to adhere
to EB386. Edit RAM and EEPROM sections in PRM file to match these. */
___INITRG = 0x00; /* lock registers block to 0x0000 */
___INITRM = 0x39; /* lock Ram to end at 0x3FFF */
___INITEE = 0x09; /* lock EEPROM block to end at 0x0fff */
#endif |
|
|
|
|
|
- UID
- 825128
|
|
|
|
|
|