參數(shù)資料
型號: M37542F8GP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP32
封裝: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件頁數(shù): 104/124頁
文件大?。?/td> 1238K
代理商: M37542F8GP
7542 Group
Rev.3.03
Jul 11, 2008
Page 78 of 117
REJ03B0006-0303
● Software Commands
Table 11 lists the software commands.
After setting the CPU rewrite mode select bit to “1”, execute a soft-
ware command to specify an erase or program operation.
Each software command is explained below.
Read Array Command (FF16)
The read array mode is entered by writing the command code
“FF16” in the first bus cycle. When an address to be read is input
in one of the bus cycles that follow, the contents of the specified
address are read out at the data bus (D0 to D7).
The read array mode is retained until another command is written.
Read Status Register Command (7016)
When the command code “7016” is written in the first bus cycle,
the contents of the status register are read out at the data bus (D0
to D7) by a read in the second bus cycle.
The status register is explained in the next section.
Clear Status Register Command (5016)
This command is used to clear the bits SR4 and SR5 of the status
register after they have been set. These bits indicate that opera-
tion has ended in an error. To use this command, write the
command code “5016” in the first bus cycle.
Program Command (4016)
Program operation starts when the command code “4016” is writ-
ten in the first bus cycle. Then, if the address and data to program
are written in the 2nd bus cycle, program operation (data program-
ming and verification) will start.
Whether the write operation is completed can be confirmed by
_____
read status register or the RY/BY status flag. When the program
starts, the read status register mode is entered automatically and
the contents of the status register is read at the data bus (D0 to
D7). The status register bit 7 (SR7) is set to “0” at the same time
the write operation starts and is returned to “1” upon completion of
the write operation. In this case, the read status register mode re-
mains active until the read array command (FF16) is written.
Table 11 List of software commands (CPU rewrite mode)
The RY/BY status flag of the flash memory control register is “0”
during write operation and “1” when the write operation is com-
pleted as is the status register bit 7.
At program end, program results can be checked by reading the
status register.
Fig. 102 Program flowchart
Start
Write “4016
Read status register
Program
completed
NO
YES
Write address
Write data
SR4 = “0”?
Program
error
NO
YES
SR7 = “1”?
or
RY/BY = “1” ?
Write
Command
Read array
Read status register
Clear status register
Program
Block erase
Mode
First bus cycle
Second bus cycle
Address
Data
(D0 to D7)
Mode
Address
Data
(D0 to D7)
Write
(Note 4)
FF16
7016
5016
4016
2016
Read
Write
WA (Note 2)
BA (Note 3)
SRD (Note 1)
WD (Note 2)
D016
SRD = Status Register Data
WA = Write Address, WD = Write Data
BA = Block Address to be erased (Input the maximum address of each block.)
= denotes a given address in the user ROM area.
相關(guān)PDF資料
PDF描述
M37542F4GP 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP32
M37542F4FP 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO36
M37542M4-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQCC36
M37542M2-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO36
M37542M2-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQCC36
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37542F8GP#U0 功能描述:MCU 3/5V 32K+4K PB-FREE 32-LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲器容量:- 程序存儲器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M37542F8GPSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP MICROCOMPUTER
M37542F8HP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37542F8SP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37542F8SP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 4.0/5.5V 32K PB-FREE 32-SDIP - Trays