C2833x/C2823x C/C++ Header Files and Peripheral Examples Quick Start Version 1.31中的F28335.cmd
为什么Zone7要分割为PAGE0的ZONE7A和PAGE1的ZONE7B?对访问片外设备有什么影响?
F28335.cmd部分内容:
MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
……
ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 – program space */ ……
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
……
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 – data space */
……
}
10#:
rufeng Jing
C2833x/C2823x C/C++ Header Files and Peripheral Examples Quick Start Version 1.31中的F28335.cmd
为什么Zone7要分割为PAGE0的ZONE7A和PAGE1的ZONE7B?对访问片外设备有什么影响?
F28335.cmd部分内容:
MEMORY{PAGE 0: /* Program Memory *//* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
这个注释应该已经告诉你答案了呀:这是用于保存程序数据,而下一段是数据空间。
……ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 – program space */ ……PAGE 1 : /* Data Memory *//* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation *//* Registers remain on PAGE1 */……ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 – data space */……}