Scott Ho

programming steps for PPAGE in assembly

Discussion created by Scott Ho on May 12, 2010
Latest reply on May 29, 2010 by kef

Hi,

I am trying to write and read the high page of HCSQE128 flash, I have attempted to use the Processor Expert to set those pages i.e. PPAGE4,PPAGE5,PPAGE6,PPAGE7 as BANKED pages. As well as set ting the compiler and assembler into BANKED mode as oppose to the default setting i.e SMALL.

 

I have also gone through AN3730 Understanding Memory Paging in 9S08 Devices, the application sheet does not mention the need to enable the LAP register.

 

Can anyone clarify what are the steps to read and write into high page flash?

 

I can write values into the LAP registers but not LB register.

 

Thanks!

Outcomes