RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 877 of 1006
Feb 20, 2013
(1) Matching the Bit Rates
When the RX610 is activated in boot mode, the bit rate of the SCI is automatically adjusted to match that of the host. On
completion of this adjustment, the RX610 transmits the value 00h to the host. On subsequent correct reception of the
value 55h sent from the host, the RX610 enters the state of waiting for a host command for inquiry or selection. For
details on matching of the bit rates, see section 26.10.4, Automatic Adjustment of the Bit Rate.
(2) Waiting for a Host Command for Inquiry or Selection
This state is for inquiries on mat size, mat configuration, the addresses where mats start, the state of support etc., and for
selection of the device, clock mode, and bit rate. The RX610 receives a programming/erasure state transition command
issued by the host and then enters the state to determine whether ID code protection is enabled or disabled. For the
inquiry/selection host commands, see section 26.10.5, Inquiry/Selection Host Command Wait State.
(3) Judging ID Code Protection
This state is for determining whether ID code protection is enabled or disabled. The control code and ID code written in
the ROM are used to determine whether ID code protection is enabled or disabled. When enabled, the state of waiting for
the ID code is entered. When disabled, the user mat, user boot mat, and data mat are all completely erased, and the state
of waiting for programming and erasure commands from the host is entered. For details on the control code and ID code,
see section 26.10.2, ID Code Protection.
(4) Waiting for an ID Code
This state is for waiting for the control code and ID code to be sent from the host. The control code and ID code sent by
the host are compared with the code stored in the ROM, and the state of waiting for programming and erasure commands
from the host is entered if the two match. If they do not match, the next transition is back to the state of waiting for an ID
code. However, if the ID codes fail to match three times in a row and also the state of protection is authentication method
1, the ROM is completely erased, and the state of waiting for an ID code is entered again. A reset is required to release
the system from this state due to non-matching ID codes. For details on the control code and ID code, see section 26.10.2,
ID Code Protection.
(5) Waiting for a Host Command for Programming or Erasure
In this state, programming and erasure proceed in accordance with commands from the host. In response to the reception
of a command, the RX610 enters the state of waiting for the data to use in programming, waiting for specification of the
erasure block to be erased, or executing the processing of commands for reading, fetching and so on.
When the RX610 receives a programming selection command, it enters the state of waiting for the data to use in
programming. After the host has issued the programming selection command, the process continues with the address
where programming is to start and then the data for programming. Setting of FFFF FFFFh as the address where
programming is to start indicates the completion of programming, and the next transition is from the state of waiting for
the data to use in programming to the state of waiting for programming and erasure commands.
When the RX610 receives a programming selection command, it enters the state of waiting for specification of the
erasure block to be erased. After the host has issued the programming selection command, the process continues with the
number of the erasure block to be erased. Setting of FFh as the number of the erasure block indicates the completion of
erasure, and the next transition is from the state of waiting for specification of the erasure block to the state of waiting for
programming and erasure commands. Since the user mat, user boot mat, and data mat are all completely erased during
the interval between booting up in boot mode and transition to the state of waiting for programming and erasure
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...