參數(shù)資料
型號(hào): M37517F8HP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 4 MHz, MICROCONTROLLER, PQFP48
封裝: 7 X 7 MM, 0.50 MM PITCH, PLASTIC, LQFP-48
文件頁(yè)數(shù): 57/98頁(yè)
文件大小: 886K
代理商: M37517F8HP
Rev.1.01
Aug 02, 2004
page 60 of 96
7517 Group
Outline Performance (CPU Rewrite Mode)
CPU rewrite mode is usable in the single-chip or Boot mode. The
only User ROM area can be rewritten in CPU rewrite mode.
In CPU rewrite mode, the CPU erases, programs and reads the in-
ternal flash memory by executing software commands. This
rewrite control program must be transferred to the RAM before it
can be executed.
The MCU enters CPU rewrite mode by applying 5 V ± 0.5 V to the
CNVSS pin and setting “1” to the CPU Rewrite Mode Select Bit (bit
1 of address 0FFE16). Software commands are accepted once the
mode is entered.
Use software commands to control program and erase operations.
Whether a program or erase operation has terminated normally or
in error can be verified by reading the status register.
Figure 65 shows the flash memory control register.
Bit 0 is the RY/BY status flag used exclusively to read the operat-
ing status of the flash memory. During programming and erase
operations, it is “0” (busy). Otherwise, it is “1” (ready).
Bit 1 is the CPU Rewrite Mode Select Bit. When this bit is set to
“1”, the MCU enters CPU rewrite mode. Software commands are
accepted once the mode is entered. In CPU rewrite mode, the
CPU becomes unable to access the internal flash memory directly.
Therefore, use the control program in the RAM for write to bit 1. To
set this bit to “1”, it is necessary to write “0” and then write “1” in
succession. The bit can be set to “0” by only writing “0”.
Bit 2 is the CPU Rewrite Mode Entry Flag. This flag indicates “1” in
CPU rewrite mode, so that reading this flag can check whether
CPU rewrite mode has been entered or not.
Bit 3 is the flash memory reset bit used to reset the control circuit
of internal flash memory. This bit is used when exiting CPU rewrite
mode and when flash memory access has failed. When the CPU
Rewrite Mode Select Bit is “1”, setting “1” for this bit resets the
control circuit. To set this bit to “1”, it is necessary to write “0” and
then write “1” in succession. To release the reset, it is necessary
to set this bit to “0”.
Bit 4 is the User Area/Boot Area Select Bit. When this bit is set to
“1”, Boot ROM area is accessed, and CPU rewrite mode in Boot
ROM area is available. In Boot mode, this bit is set to “1” auto-
matically. Reprogramming of this bit must be in the RAM.
Figure 66 shows a flowchart for setting/releasing CPU rewrite
mode.
Fig. 65 Structure of flash memory control register
Flash memory control register (address 0FFE16) (Note 1)
FMCR
RY/BY status flag (FMCR0)
0: Busy (being programmed or erased)
1: Ready
CPU rewrite mode select bit (FMCR1) (Note 2)
0: Normal mode (Software commands invalid)
1: CPU rewrite mode (Software commands acceptable)
CPU rewrite mode entry flag (FMCR2)
0: Normal mode
1: CPU rewrite mode
Flash memory reset bit (FMCR3) (Note 3)
0: Normal operation
1: Reset
User ROM area / Boot ROM area select bit (FMCR4)
0: User ROM area accessed
1: Boot ROM area accessed
Reserved bits (Indefinite at read/ “0” at write)
b0
b7
Notes 1: The contents of flash memory control register are “XXX00001” just after reset release.
2: For this bit to be set to “1”, the user needs to write “0” and then “1” to it in succession. If it is not this
procedure, this bit will not be set to “1”.
3: This bit is valid when the CPU rewrite mode select bit is “1”. Set this bit 3 to “0” subsequently after
setting bit 3 to “1”.
相關(guān)PDF資料
PDF描述
M37524E4-XXXSP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PDIP64
M37531E4V-XXXGP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP32
M37531M4T-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP32
M37531M4V-XXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP32
M37531E8FP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDSO36
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37530T-PTC 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Converter for Connecting 42-pin 1.778mm-pitch SDIP to a 40-pin Narrow-pitch Connector (for 7531, 7540, 7542 and 7544 Groups)
M37530T-PTCB 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Converter for Connecting 40-pin Narrow-pitch Connector to 32-pin 0.8mm-pitch LQFP (for 7531, 7532, 7534, 7540, 7542 and 7544 Groups)
M37530T-PTCC 功能描述:DEV 42-PIN RSS/MCU TO 32-PIN 1.7 RoHS:否 類別:編程器,開(kāi)發(fā)系統(tǒng) >> 配件 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 附件類型:適配器板 適用于相關(guān)產(chǎn)品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
M37531E4FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37531E4FP#U0 制造商:Renesas Electronics Corporation 功能描述:MITSUBISHI 8 BIT OTP MCU