satya pothina

PPAGE in MC9S12A256

Discussion created by satya pothina on Nov 29, 2006
Latest reply on Nov 30, 2006 by MIKE YETSKO
Hi,
 
First time I'm using Freescale MC9S12A256 16bit controller. It is using paging concept to access 256KByte inbuilt Flash with 16K address space and PPAGE register. My application code is more than 64KByte, stored in block 2 & 3 of inbuilt Flash and it is executing from FLASH(using page window). Because it is >64K, it is not only crossed the page boundry but also block. Let us assume that current executing instruction was at the end of the page 2 of block 2 and next instruction to be execute was at the begining of page 3 of same block.
 
Question:
Is it PPAGE value will automatically update from $36 to $37?
If it is so, which part of the controller will do it?
Is any reference document covered this point?
Here i'm not performing any jump or call instructions. It may be some critical application code.
 

Outcomes