How can I access the paged RAM variable of MC9S12XEP100

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

How can I access the paged RAM variable of MC9S12XEP100

1,589 次查看
兜里揣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,392 次查看
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,392 次查看
兜里揣caca
Contributor II

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

0 项奖励
回复