I am using a 9s12G128, CodeWarrior for the Code. Banked Memory Model. I have code in loaded into Page 8 (PPAGE 8), and data in Page 9 (PPAGE 9) .
Can (banked) code running from Page 8 access data in Page 9? When I run in the debugger, it seems that the data access to the Page 9 data changes the PPAGE register, but does change the PPAGE value back to Page 8 once the data read is complete.
Or, if you access data in Paged Flash, must the code be executing from non-paged memory?