How can I access the paged RAM variable of MC9S12XEP100

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I access the paged RAM variable of MC9S12XEP100

658 Views
兜里揣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 Kudos
2 Replies

464 Views
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

464 Views
兜里揣caca
Contributor II

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

0 Kudos