How can I access the paged RAM variable of MC9S12XEP100

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

How can I access the paged RAM variable of MC9S12XEP100

1,590件の閲覧回数
兜里揣caca
Contributor II

Hi:

When I store variables in the "paged RAM" area, How should I use it?
for example:

   QQ截图20171011135418.png

QQ截图20171011135431.png

QQ截图20171011135349.png

test1 value is wrong, what should i do?

0 件の賞賛
返信
2 返答(返信)

1,393件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

I would suggest you to go to

LAMA's S12XE unofficial examples 

and search for:

XEP100-RAM-addressing-v1_0-CW51.zip

Of course, I have also attached it here. I only wanted to show you more examples.

Also it is good to absolutely understand memory access possibilities. Attached memory map.

If you want, for example, create large arrays (larger than one page) then access to memory via global memory and global instructions is better.

Best regards,

Ladislav

1,393件の閲覧回数
兜里揣caca
Contributor II

Thank you for your reply, and my problem has been solved!

0 件の賞賛
返信