Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
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) ?
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.
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.