Debugger displays invalid address

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Debugger displays invalid address

跳至解决方案
628 次查看
rlw
Contributor I

I am using CW ver 5.0 for S12X and am developping for a S12XEQ384.

 

I my linker PRM file, I have:

PAGE_FD_CALS  = READ_ONLY   0x7F7000'G TO 0x7F7FFF'G RELOCATE_TO 0x0FD000'G;

 

In my map file, I see the expected RAM address for a variable in this segment:

P_PCtl_DiffKdMax                         FDD3F'G

 

However, the debugger tells me the address is FD1D3F, neither a valid logical address nor global address

标签 (1)
标记 (1)
0 项奖励
1 解答
452 次查看
CompilerGuru
NXP Employee
NXP Employee

FDD3F'G is the global address corresponding to FD1D3F'L.

 

What do I miss?

 

Daniel

在原帖中查看解决方案

0 项奖励
2 回复数
453 次查看
CompilerGuru
NXP Employee
NXP Employee

FDD3F'G is the global address corresponding to FD1D3F'L.

 

What do I miss?

 

Daniel

0 项奖励
452 次查看
rlw
Contributor I

Oops. Sorry. All the banking stuff can get confusing.

0 项奖励