查看: 3008|回复: 3

[S12] memory map of mc9s128p

[复制链接]

该用户从未签到

6

主题

38

帖子

0

新手上路

Rank: 1

积分
54
最后登录
1970-1-1
发表于 2012-9-19 11:39:08 | 显示全部楼层 |阅读模式
   Hi  everyone          Why the the address in linker file is different phycial address?

 I have a question about memory map .
 There have Defined as follow In .PRM file
 SGMENTS
 ………….
 ………….
…………
PAGE_0E       = READ_ONLY   0x0E8000 TO 0x0EBFFF;
END
Mean that the PAGE_0E is read only and its address is from 0x0E8000 to 0x0EBFFF. But when look up datasheet of MC9S128P find that the address of PAGE_0E is from 0x38000 to 0x3c000.
我知道答案 目前已有2人回答
回复

使用道具 举报

  • TA的每日心情
    难过
    2021-12-15 16:01
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    305

    主题

    4701

    帖子

    0

    中级会员

    Rank: 3Rank: 3

    积分
    377
    最后登录
    2023-8-16
    发表于 2012-9-19 14:49:50 | 显示全部楼层

    RE:memory map of mc9s128p

    hello,
       The PAGE_OE In .PRM file is used Local Memory(FLASH Memory),but the  PAGE_0E(from 0x38000 to 0x3c000) used Global Memory,so they are useing the same address.You can see the  datasheet of MC9S128P and find page of 116.On this page, you can see about Local to Global Address Mapping.
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    6

    主题

    38

    帖子

    0

    新手上路

    Rank: 1

    积分
    54
    最后登录
    1970-1-1
     楼主| 发表于 2012-9-20 15:13:47 | 显示全部楼层

    回复:memory map of mc9s128p

     
      Thank you first
      But  the max address of Lcal Memory is 0xFFFF  ,is it?
       IN.PRM file   PAGE_0E  = READ_ONLY   0x0E8000 TO 0x0EBFFF;
       ????
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    难过
    2021-12-15 16:01
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    305

    主题

    4701

    帖子

    0

    中级会员

    Rank: 3Rank: 3

    积分
    377
    最后登录
    2023-8-16
    发表于 2012-9-21 09:25:23 | 显示全部楼层

    RE:memory map of mc9s128p

    On the 112th page,you can find the PPAGE Register,you will Know of what to define the PAGE_0E size is form 0x0E8000 to  0x0EBFFF.
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    Archiver|手机版|小黑屋|恩智浦技术社区

    GMT+8, 2025-7-21 02:26 , Processed in 0.093470 second(s), 24 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

    快速回复 返回顶部 返回列表