Yes, it is possible. However, please note the following:
- When 2.7 V ≤ VCC1 ≤ 3.0 V and f(BCLK) ≥ 16 MHz, or when 3.0 V < VCC1 ≤ 5.5 V and f(BCLK) ≥ 20 MHz, 1 wait must be inserted to execute a program or read data in data flash. Use the PM17 bit or the FMR 17 bit in the PM1 register to set 1 wait.
- To use data flash as a program or data area, set the PM10 bit to 1 to enable the data flash.
- To use program ROM2 as a program or data area, set the PRG2C0 bit to 0 to enable program ROM2.
As data flash is located in the "near" area, it can be accessed at high speed using the MOV instruction.
About the method of changing the program location address, please refer to the following FAQ.