S12X: Converting between "Global Addresses" and "Paged Logical Addresses"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12X: Converting between "Global Addresses" and "Paged Logical Addresses"

ソリューションへジャンプ
1,523件の閲覧回数
davekellogg
Contributor II

What is the algorithm for converting from a global address to a logical address, and from a logical address to a global address?

 

Has anyone written a little calculator program that does?

 

Thanks!!

ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
425件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee

With CW for HC12, there is a tool for this purpose:

"c:\Program Files\Freescale\CodeWarrior for S12(X) V5.0\Prog\hcs12xadrmap.exe"

 

Also in the HIWAVE debugger there is a component HSC12XAdrMap (use the Components->Open menu) which also translates and also shows addresses in the debugger directly. You can also drag and drop memory or other things into it to get their address in the different formats.

 

 

Daniel

元の投稿で解決策を見る

0 件の賞賛
1 返信
426件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee

With CW for HC12, there is a tool for this purpose:

"c:\Program Files\Freescale\CodeWarrior for S12(X) V5.0\Prog\hcs12xadrmap.exe"

 

Also in the HIWAVE debugger there is a component HSC12XAdrMap (use the Components->Open menu) which also translates and also shows addresses in the debugger directly. You can also drag and drop memory or other things into it to get their address in the different formats.

 

 

Daniel

0 件の賞賛