Command And Response Configuration; Response To Undefined Commands - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
(3) Boot mode ID code authentication state
In this state, the MCU accepts the ID code authentication command.
When boot mode ID codes do not match, the MCU remains in the boot mode ID code authentication state.
Refer to section 31.9.1.1, Boot Mode ID Code Protection for details on boot mode ID code protection. Refer to
section 31.10.7, ID Code Authentication Command for details on the ID code authentication command.
(4) Program/erase state
In this state, the MCU executes program/erase or read-check commands according to commands sent from the host.
Refer to section 31.10.8, Program/Erase Commands for details on program/erase commands. Refer to section
31.10.9, Read-Check Commands for details on read-check commands.
31.10.2

Command and Response Configuration

The communication protocol is composed of a "Command" sent from the host to the MCU and a "Response" sent from
the MCU to the host. Commands include 1-byte commands and multiple-byte commands. Responses include 1-byte
responses, multiple-byte responses, and error responses.
A multiple-byte command and multiple-byte response have "Size" for informing the number of transmit/receive data
bytes and "SUM" for detecting communication errors.
"Size" indicates the number of transmit/receive data bytes excluding Command code (the first byte), Size, and SUM.
"SUM" indicates byte data that is calculated so the total bytes of Command or Response becomes 00h.
The flash memory addresses for reading are used as the following addresses: the program address specified in the
program command, the block start address specified in the block erase command, the AW start and end addresses
specified in the access window information program command, and the AW start and end addresses received in the
access window read command.
31.10.3

Response to Undefined Commands

When the MCU receives an undefined command, it sends a command error as a response. The contents of the response
are shown below. "Command code" in the error response stores the first byte of the command sent from the MCU.
Error response
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Command
80h
code
31. Flash Memory (FLASH)
Page 956 of 1041

Advertisement

Table of Contents
loading

Table of Contents