RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 859 of 1006
Feb 20, 2013
(5) Programming
The programming command is used to write data to the ROM.
In the first and second cycles for the peripheral clock notification command, respectively, the values E8h and 80h are
written to the address range for programming and erasure of the ROM. In the third cycle, write the actual data to be
programmed, as a word unit, to the target address for programming. For this first address, always use an address that is
on a 256-byte boundary. In the fourth to the 130th cycles, write the data for programming in 127 word-unit rounds to the
address range for programming and erasure of the ROM. Once the value D0h has been written as a byte to the address
range for programming and erasure of the ROM in the 131st cycle, the FCU begins the actual process of programming
the ROM. The FRDY bit in FSTATR0 can be used to check whether or not the programming has been completed.
Addresses that can be used in the first to 131st cycles differ according to the settings of the FENTRY0 and FENTRY1*
bits in FENTRYR. Ensure that the addresses suit the settings of these bits. If issuing of the command is attempted with an
erroneous combination of the setting of the bits and specified addresses, the FCU will detect the error and enter the
command-blocked state (see section 26.8.2, Error Protection).
In cases where the target range in the third to 130th cycles includes addresses that do not require programming, use
FFFFh as the data for programming to those addresses. To execute a programming with lock bit protection disabled,
proceed with programming after setting the FPROTCN bit in FPROTR.
Note: * Cannot be used in a product whose ROM size is equal to or smaller than 1 Mbyte.
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...