欢迎访问ic37.com |
会员登录 免费注册
发布采购

7906 参数 Datasheet PDF下载

7906图片预览
型号: 7906
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机 [16-BIT SINGLE-CHIP MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 531 页 / 3056 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号7906的Datasheet PDF文件第387页浏览型号7906的Datasheet PDF文件第388页浏览型号7906的Datasheet PDF文件第389页浏览型号7906的Datasheet PDF文件第390页浏览型号7906的Datasheet PDF文件第392页浏览型号7906的Datasheet PDF文件第393页浏览型号7906的Datasheet PDF文件第394页浏览型号7906的Datasheet PDF文件第395页  
FLASH MEMORY VERSION  
19.2 Flash memory CPU reprogramming mode  
19.2.4 Software commands  
Software commands are described below.  
Software commands and data must be read from and written into even-numbered addresses in the user  
ROM area, 16 bits at a time. At writing of a command code, the high-order 8 bits (D to D15) are ignored.  
8
(1) Read array command  
Writing command code FF16at the 1st bus cycle pushes the microcomputer into the read array mode.  
When an address to be read is input at the next and the following bus cycles, the contents at the  
specified address are output to the data bus (D to D15), 16 bits at a time.  
0
The read array mode is maintained until another software command is written.  
(2) Read status register command  
Writing command code 7016at the 1st bus cycle outputs the contents of the status register to the  
data bus (D  
0
to D ) by a read at the 2nd bus cycle. (See Table 19.2.2.)  
7
(3) Clear status register command  
Writing command code 5016at the 1st bus cycle clears two bits (SR.4 and SR.5) of the status register  
to 0.(See Table 19.2.2.)  
(4) Programming  
This command executes programming, one word  
at a time. Write command code 4016at the  
Start  
1st bus cycle and then write data at the 2nd  
bus cycle, 16 bits at a time. After writing of  
one word has been completed, the automatic  
Command code  
4016is written.  
programming (programming and verification of  
data) operation is initiated. During the automatic  
programming operation, be sure not to access  
the flash memory or not to execute the next  
Data is written to an  
arbitrary write address.  
command. The completion of the automatic  
programming can be recognized by the RY/BY  
status bit (bit 0 at address 9E16).  
RY/BY status bit = 1?  
(bit 0 at address 9E16  
)
NO  
After the automatic programming operation has  
been completed, the result of it can be  
recognized by reading out the status register.  
(Refer to section 19.2.5 Full status check.)  
Figure 19.2.3 shows the programming operation  
flowchart.  
YES  
••• See Figure 19.2.6.  
Full status check  
Programming  
operation is completed.  
Note that, for the areas having already been  
programmed, be sure to program after an erase  
(block erase) operation. If the programming  
command is executed for the areas having  
already been programmed, no programming error  
will occur, but the contents of the areas become  
undefined.  
Fig. 19.2.3 Programming operation flowchart  
7906 Group Users Manual Rev.2.0  
19-14  
 复制成功!