Global Page on MC9S12XDP12

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

Global Page on MC9S12XDP12

跳至解决方案
1,100 次查看
phil26
Contributor I
Hello,
 
I work with codewarrior and a with a BDM p&E multilink sensor. I'm developping a bootloader for S12X and I have a problem to write at the adress 0xC000.
 
For me the logic adress 0xC000 is the same address that the global address 0x7FC000.
But If I display the logic adress 0xC000 and the global adress 0x7FC000 with the debugger Metrowerks I haven't the same value !!!
 
The driver flash works correctly because I write with out problem at the address 0x7F4000 and i see the same value at adress  0x4000.
 
Why it doesn't work for the address 0xC000 ?
 
Thank you for your help.
 
phil
 
标签 (1)
标记 (1)
0 项奖励
1 解答
461 次查看
Alban
Senior Contributor II
Hi Phil,
 
A common mistake is to look at $C000 on the XGATE map, in this case this matches $FC000 global.
Maybe the window is set to look at XGATE map and was setup up as Logical (CPU) for $4000.
 
Cheers,
Alban

Message Edited by Alban on 2006-09-11 04:46 PM

在原帖中查看解决方案

0 项奖励
1 回复
462 次查看
Alban
Senior Contributor II
Hi Phil,
 
A common mistake is to look at $C000 on the XGATE map, in this case this matches $FC000 global.
Maybe the window is set to look at XGATE map and was setup up as Logical (CPU) for $4000.
 
Cheers,
Alban

Message Edited by Alban on 2006-09-11 04:46 PM

0 项奖励