M30845FJGP#U3 Renesas Electronics America, M30845FJGP#U3 Datasheet - Page 433
Manufacturer Part Number
IC M32C MCU FLASH 512K 144LQFP
Renesas Electronics America
Specifications of M30845FJGP#U3
CAN, I²C, IEBus, SIO, UART/USART
DMA, PWM, WDT
Number Of I /o
Program Memory Size
512KB (512K x 8)
Program Memory Type
24K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
A/D 34x10b, D/A 2x8b
-40°C ~ 85°C
Package / Case
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Figure 25.9 Program Command
188.8.131.52 Program Command
The program command writes 1-word, or 2-byte, data to the flash memory.
Auto program operation (data program and verify) will start by writing command code "xx40
first bus cycle and data to the write address in the second bus cycle. The address value specified in
the first bus cycle must be the same even address as the write address specified in the second bus
The FMR00 bit in the FMR0 register indicates whether or not an auto program operation has been
completed. The FMR00 bit is set to "0" (busy) during auto program and to "1" (ready) when the auto
program operation is completed.
After the completion of auto program operation, the FMR06 bit in the FMR0 register indicates whether
or not the auto program operation has been completed as expected. (Refer to 25.3.8 Full Status
An address that is already written cannot be altered or rewritten.
Figure 25.9 shows a flow chart of the program command programming.
The lock bit can protect each block from being programmed inadvertently. (Refer to 25.3.6 Data Protect
In EW mode 1, do not execute this command on the block where the rewrite control program is allocated.
In EW mode 0, the microcomputer enters read status register mode as soon as an auto program
operation starts. The SRD register can be read. The SR7 bit in the SRD register is set to "0" at the
same time an auto program operation starts. It is set to "1" when an auto program operation is
completed. The microcomputer remains in read status register mode until the read array command is
written. After completion of an auto program operation, the SRD register indicates whether or not the
auto program operation has been completed as expected.
1. Write the command code and data to even addresses.
Write the command code "xx40
to an address to be written
Write data to an
address to be written
Full status check
25. Flash Memory Version
" in the