EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1723 background imageLoading...
Page #1723 background image
R01UH0823EJ0100 Rev.1.00 Page 1723 of 1823
Jul 31, 2019
RX23W Group 50. Flash Memory (FLASH)
50.10.8.3 Data Area Program
This command is used to program the specified data to the data area. Set the lower 2 bits to 0 for the program address
selected in this command. When the data length is shorter than 4 bytes, the data cannot be programmed. Fill the gaps
with FFh.
When the program from the selected address is successfully completed, the MCU sends a response (06h). If the SUM of
the received command does not match or an error occurs during a program operation, the MCU sends an error response.
To enter the program/erase host command wait state after the program operation ends, send 51h FFh FFh FFh FFh B4h
from the host. The MCU sends a response (06h), and enters the program/erase host command wait state.
Command 51h Program address
Program data
length
Program data
SUM
Program address (4 bytes): Address for program destination
Set the lower 2 bits of the selected address to 0
Set FFFF FFFFh for end of data area program
Program data length (1 byte): Size of program data
Set 4-byte data
Set 00h for end of data area program
Program data (n bytes): Program data for the data area (n = program data length, 0 for end of program)
Set data of the program data length
When the program is less than n bytes, set FFh for the missing data.
No program data for the end of data area program
SUM (1 byte): Value that is calculated so the sum of command data is 00h
Response 06h
Error response D1h Error
Error (1 byte): Error code
11h: SUM error
2Ah: Address error (the address is not in the selected area.)
2Bh: Program data length error
53h: Program error (the data or program data cannot be programmed.)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals