English
Language : 

3069RF-ZTAT Datasheet, PDF (606/1003 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
3. Initialization of programming/erasing
The operating frequency and user branch are set before execution of programming/erasing. The
user branch destination must be area other than the flash memory area or the area where the on-
chip program is downloaded. These settings are performed by using the programming/erasing
interface parameters.
4. Programming/erasing execution
To program or erase, the FWE pin must be set to 1 and user program mode must be entered.
The program data/programming destination address is specified in 128-byte units when
programming.
The block to be erased is specified in erase-block units when erasing.
These specifications are set by using the programming/erasing interface parameters and the on-
chip program is initiated. The on-chip program is executed by using the JSR or BSR instruction to
perform the subroutine call of the specified address in the on-chip RAM. The execution result is
returned to the programming/erasing interface parameters.
The area to be programmed must be erased in advance when programming flash memory.
All interrupts are prohibited during programming and erasing. Interrupts must not occur in the
user system.
5. When programming/erasing is executed consecutively
When the processing is not ended by the 128-byte programming or one-block erasure, the
program address/data and erase-block number must be updated and consecutive
programming/erasing is required.
Since the downloaded on-chip program is left in the on-chip RAM after the processing, download
and initialization are not required when the same processing is executed consecutively.
Rev. 5.0, 09/04, page 584 of 978