how to set runtime in setting of PPAGE register is used for paging in code generation

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

how to set runtime in setting of PPAGE register is used for paging in code generation

541 Views
mengzhang
Contributor II

We have a project which need to use expended page. we have set the file of project.prm ,for example internal ram or rom,and external ram. so i need to set the option of compiler for hc12. Some freescale FAE tell us that the option "PPAGE Register is used for paging" should be set first. but the envirement shows that PPAGE Register is used for paging(enter [0xaddr|RUNTIME]) the question is that how to set this option?how to set this RUNTIME? We are directly  writing "RUNTIME" into the blank.but It is failed to visit the right page which need to be visited.

Labels (1)
0 Kudos
3 Replies

448 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

what chip do you work with?

attached is a mc9s12a512 demo code of accessing ppage .

can this help you?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

448 Views
mengzhang
Contributor II

my chip is mc68hc912dg128ccpv.

sorry i can not understand what can be see from the file you give me.

i READ these files in cw v5.1.

which file need to be seen?

在 2015-06-25 11:05:48,ZhangJennie <admin@community.freescale.com> 写道:

|

|

|

|

how to set runtime in setting of PPAGE register is used for paging in code generation

reply from ZhangJennie in CodeWarrior Development Tools - View the full discussion

Hi

what chip do you work with?

attached is a mc9s12a512 demo code of accessing ppage .

can this help you?

Have a great day,

Zhang Jun

0 Kudos

448 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi.

you need to use CW5.1 IDE to open project file PageMemory.mcp

then check main.c

can this help you?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos