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

7905 参数 Datasheet PDF下载

7905图片预览
型号: 7905
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机 [16-BIT SINGLE-CHIP MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 565 页 / 3295 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号7905的Datasheet PDF文件第390页浏览型号7905的Datasheet PDF文件第391页浏览型号7905的Datasheet PDF文件第392页浏览型号7905的Datasheet PDF文件第393页浏览型号7905的Datasheet PDF文件第395页浏览型号7905的Datasheet PDF文件第396页浏览型号7905的Datasheet PDF文件第397页浏览型号7905的Datasheet PDF文件第398页  
DEBUG FUNCTION  
17.3 Address matching detection mode  
Address matching detection 2 selected  
Address matching  
detection interrupt routine  
Main routine  
The interrupt disable flag (I)  
is cleared to 0(Note 1)  
TOP_BUG1  
Defective  
or  
Address-matching-  
detection 2 decision bit?  
1
Former program  
0
TOP_RTN1  
Modified  
or  
Updated program ꢀ  
Modified  
or  
Updated program ꢀ  
The contents of PG and PC  
saved onto the stack area  
(address TOP_BUG1) are  
rewritten to address  
The contents of PG and PC  
saved onto the stack area  
(address TOP_BUG2) are  
rewritten to address  
TOP_RTN1 (Note 2).  
TOP_RTN2 (Note 2).  
TOP_BUG2  
Defective  
or  
Former program ꢀ  
STAB A, LG : 0h (Note 3)  
RTI  
TOP_RTN2  
TOP_BUG1 : The start address of defective or former program .  
This address is to be set in the address compare register 0, in advance.  
TOP_RTN1 : The address next to the defective or former program .  
TOP_BUG2 : The start address of defective or former program .  
This address is to be set in the address compare register 1, in advance.  
TOP_RTN2 : The address next to the defective or former program .  
Notes 1: When an address matching detection interrupt request has been accepted, the interrupt  
disable flag (I) is set to 1.If another interrupt requests is required to be accepted under  
the same conditions as those of the defective or former program, be sure to clear the  
interrupt disable flag (I) to 0at the start of an address matching detection interrupt  
routine.  
2: Each status of PG, PC, and PS immediately before acceptance of an address matching  
detection interrupt request is saved onto the stack area. (The contents of PG, PC, and  
PS are saved onto the stack area in this order.) Refer to section 6.7 Sequence from  
acceptance of interrupt request until execution of interrupt routine.”  
3: Make sure that this instruction is executed in the absolute long addressing mode. The  
above is just an example. In an actual programming, be sure to refer to the format of the  
assembler description to be used.  
Fig. 17.3.3 Example of ROM correct processing using address matching detection mode (2)  
7905 Group Users Manual Rev.1.0  
17-9  
 复制成功!