Electronic Components Datasheet Search
  English  ▼

X  

7906 Datasheet(PDF) 372 Page - Renesas Technology Corp

Part # 7906
Description  16-BIT SINGLE-CHIP MICROCOMPUTER
PDF  531 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7906 Datasheet(HTML) 372 Page - Renesas Technology Corp

Back Button 7906 Datasheet HTML 368Page - Renesas Technology Corp 7906 Datasheet HTML 369Page - Renesas Technology Corp 7906 Datasheet HTML 370Page - Renesas Technology Corp 7906 Datasheet HTML 371Page - Renesas Technology Corp 7906 Datasheet HTML 372Page - Renesas Technology Corp 7906 Datasheet HTML 373Page - Renesas Technology Corp 7906 Datasheet HTML 374Page - Renesas Technology Corp 7906 Datasheet HTML 375Page - Renesas Technology Corp 7906 Datasheet HTML 376Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 372 / 531 page
background image
DEBUG FUNCTION
7906 Group User’s Manual Rev.2.0
17-11
17.4 Out-of-address-area detection mode
17.4.2 Operations in out-of-address-area detection mode
➀ Setting the detect enable bit to “1” initiate to compare the contents of PG and PC with the contents of
the address compare registers 0 and 1.
➁ When an address less than the contents of the address compare registers 0 or larger than the one of
the address compare register 1 is detected, an address matching detection interrupt request occurs, and
then, this request will be accepted.
➂ Perform the necessary processing with an address matching detection interrupt routine.
➃ The contents of PG, PC, and PS at acceptance of the address matching detection interrupt request are
saved onto the stack area. Therefore, be sure to rewrite the above contents of PG and PC to a certain
return address, and return there by using the RTI instruction.
When an address matching detection interrupt request has been accepted, the interrupt disable flag (I) is
set to “1”; the processor interrupt priority level (IPL) does not change.
By setting the start address of the programming area into the address compare register 0 and the last
address of the programming area into the address compare register 1, a program runaway (in other words,
fetching op codes from the area out of the programming area) can be detected. If any program runaway
is detected and reset of the microcomputer is required, be sure to write “1” into the software reset bit (bit
6 at address 5E16) within an address matching detection interrupt routine.
Figure 17.4.2 shows an example of program runaway detection using the out-of-address-area detection
mode.
Fig. 17.4.2 Example of program runaway detection using out-of-address-area detection mode
TOP_PRG :
Start address of programming area
→ This address is to be set into the address compare register 0,
in advance.
END_PRG : Last address of programming area
→ This address is to be set into the address compare register 1,
in advance.
Note: A program runaway may affect the contents of the data bank register (DT), the direct page registers (DPRi) etc.
Therefore, the contents of these registers must be rewritten in order to write “1” to the software reset bit with an
addressing mode using DT, DPRi, etc.
Address matching detection
interrupt routine
RTI
Software reset bit
← 1 (Note)
(bit 6 at address 5E16)
The microcomputer
is reset.
00000016
TOP_PRG
END_PRG
FFFFFF16
Access to the area
out of the progra-
mming area
Access to the
area out of the
programming
area
Programming area



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com