Communication Rules Of Ram Transfer Command; Table 6.14 Communication Rules Of Ram Transfer Command - Toshiba TXZ Reference Manual

32-bit risc microcontroller
Table of Contents

Advertisement

6.6.8. Communication Rules of RAM Transfer Command

This section shows communication rules of RAM transfer. Transfer directions in the table are indicated as follows:
Transfer direction (CT): From Controller to TXZ
Transfer direction (TC): From TXZ to Controller

Table 6.14 Communication Rules of RAM Transfer Command

Transfer
No
direction
1
CT
2
TC
3
CT
4
CT
5
CT
6
CT
7
CT
8
TC
2018-06-05
Transfer data
Operation command data (0x10)
ACK response to the operation
command
Normal: 0x10
Abnormal: 0x11
Communication error: 0x18
Password length (PLEN) (1 byte)
Password length store address
(PNSA) (4 bytes)
Password store start address
(PCSA) (4 bytes)
Password string
(8 bytes to 255 bytes)
CHECKSUM value of transmit
data (No.3 to 6)
Password length error check,
password store address error
check, password verification, ACK
response to CHECKSUM value.
- Blank: 0x14
- Normal: 0x10
- Abnormal: 0x11
- Communication error: 0x18
Controller transmits RAM transfer command data (0x10).
The target checks received data, and it sends ACK
response data.
If a receive error exists, the target sends ACK response
data "0x18" indicating communication error, and then
returns to the initial state waiting for operation command
data.
If a receive error does not exist, the target checks the
data against operation command data described in "Table
6.6 Operation commands in single boot mode".
If checking is failed, the target sends ACK response data
"0x11" indicating abnormal state, and then returns to the
initial state waiting for operation command data.
If checking is succeeded, the target sends ACK response
data "0x10" indicating normal state, and then it waits for
next data.
The controller transmits password length data of the code
flash.
The controller transmits the address data where the
password length is stored.
The controller transmits the start address where the
password is stored.
The controller transmits password data of the code flash.
If it has been erased, the controller transmits dummy
data.
The controller calculates the CHECKSUM value of
transmit data (No.3 to 6), and sends them.
For
details
of
CHECKSUM
"6.6.6.5CHECKSUM Calculation".
The target checks received data, and then it sends ACK
response data.
If a receive error exists, the target sends ACK response
data "0x18" indicating communication error, and then
returns to the initial state waiting for operation command
data.
If a receive error does not exist, the target checks a
CHECKSUM value and password.
For details of password verification, refer to "6.6.6.4.
Password Determination".
If password determination is failed, the target sends ACK
response data "0x11" indicating abnormal state, and then
returns to the initial state waiting for operation command
data.
If password determination is succeeded, the target sends
ACK response data "0x10" indicating normal state, and
then it waits for next transmit data. In the case of blank
products, ACK response data"0x14" is replied, and it waits
for next transmit data.
101 / 120
TXZ Family
Flash Memory
Description
calculation,
refer
to
Rev. 2.0

Advertisement

Table of Contents
loading

Table of Contents