You are here

Changing native paging mode in Large memory model | Cypress

Support & Community

Changing native paging mode in Large memory model

Last Updated: March 24, 2011
Question: 

In Large Memory Model, how do I change the native paging mode to Mode 2 (where indexed memory instructions operate on page specified by IDX_PP) from default Mode 3 (where indexed memory instructions operate on page specified by STK_PP) ?

Answer: 

To change the Native Paging Mode to mode 2, assign the SYSTEM_TOOLS value to 0 in local.mk file.  Open local.mk file from "Projects" tab in PSoC Designer. If local.mk file is not already available, create a text file called local.mk in the project directory. Now add the following line in the end of local.mk file.
 
SYSTEM_TOOLS=0

After adding the above line in local.mk file, build the project.  Now the equate for the label SYSTEM_IDXPG_TRACKS_IDX_PP has become "1" in memory.inc file which indicates that the native page mode is mode 2.

Provide feedback on this article

To protect your privacy, do not include contact information in your feedback.

Browse KB By Product

Browse KB by Type