参数资料
型号: M38D59GF-XXXFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 6.25 MHz, MICROCONTROLLER, PQFP80
封装: 14 X 20 MM, 0.80 MM PITCH, PLASTIC, QFP-80
文件页数: 120/142页
文件大小: 2004K
代理商: M38D59GF-XXXFP
Rev.3.04
May 20, 2008
Page 79 of 134
REJ03B0158-0304
38D5 Group
Software Commands
Table 18 lists the software commands.
After setting the CPU rewrite mode select bit to “1”, execute a
software 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
operation 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
written in the first bus cycle. Then, if the address and data to
program are written in the 2nd bus cycle, program operation
(data programming and verification) will start.
Whether the write operation is completed can be confirmed by
read status register or the RY/BY status flag. To read the status
register, write the read status register command “7016”. The
status register bit 7 (SR7) is set to “0” at the same time the
program starts and returned to “1” upon completion of the
program. The read status mode remains active until the read
array command (“FF16”) is written.
The RY/BY status flag is set to “0” during program operation
and “1” when the program operation is completed as is the status
register bit 7 (SR7).
At program end, program results can be checked by reading the
status register.
Fig 75. Program flowchart
NOTES:
1. SRD = Status Register Data
2. WA = Write Address, WD = Write Data
3. BA = Block Address to be erased (Input the maximum address of each block.)
4. X denotes a given address in the User ROM area.
Start
Write “4016
SR7 =
1?
or
RY/BY =
1?
Read status register
Program completed
NO
YES
Write
Write address
Write data
SR4 = “0”?
Program error
NO
YES
Table 18
List of software commands (CPU rewrite mode)
Command
cycle
number
First bus cycle
Second bus cycle
Mode
Address
Data
(D0 to D7)
Mode
Address
Data
(D0 to D7)
Read array
1
Write
X(4)
FF16
Read status register
2
Write
X
7016
Read
X
SRD(1)
Clear status register
1
Write
X
5016
Program
2
Write
X
4016
Write
WA(2)
WD(2)
Block erase
2
Write
X
2016
Write
BA(3)
D016
相关PDF资料
PDF描述
MC6805S3P 8-BIT, MROM, MICROCONTROLLER, PDIP28
MC908QT1AVDWE 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC908QY4AVDT 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
MC9S08AW16CFUE 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
M902-01-156.2500LF 156.25 MHz, OTHER CLOCK GENERATOR, CQCC36
相关代理商/技术参数
参数描述
M38D59T-RLFS 功能描述:BOARD EMULATOR FOR 38D5 GROUP RoHS:否 类别:编程器,开发系统 >> 内电路编程器、仿真器以及调试器 系列:- 产品变化通告:Development Systems Discontinuation 19/Jul/2010 标准包装:1 系列:* 类型:* 适用于相关产品:* 所含物品:*
M38DC-15 制造商:M/A-COM Technology Solutions 功能描述:MIXER(SPEC UX1015) - Bulk
M38K00F1-16FP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38K00F1-16HP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38K00F1-32FP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER