Electronic Components Datasheet Search
  English  ▼

X  

UPD17015 Datasheet(PDF) 97 Page - NEC

Part # UPD17015
Description  4-BIT SINGLE-CHIP MICROCONTROLLER FOR PORTABLE RADIOS
PDF  120 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17015 Datasheet(HTML) 97 Page - NEC

Back Button UPD17015 Datasheet HTML 93Page - NEC UPD17015 Datasheet HTML 94Page - NEC UPD17015 Datasheet HTML 95Page - NEC UPD17015 Datasheet HTML 96Page - NEC UPD17015 Datasheet HTML 97Page - NEC UPD17015 Datasheet HTML 98Page - NEC UPD17015 Datasheet HTML 99Page - NEC UPD17015 Datasheet HTML 100Page - NEC UPD17015 Datasheet HTML 101Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 120 page
background image
97
µPD17015
Example 1
R1
MEM
0.01H
; First digit of security code keyed in
R2
MEM
0.02H
; Second digit of security code keyed in
R3
MEM
0.03H
; Data of the first digit when the security code is
changed
R4
MEM
0.04H
; Data of the second digit when the security code is
changed
M1
MEM
0.11H
; First digit of the current security code
M2
MEM
0.12H
; Second digit of the current security code
START:
Key-in processing
; Security code input wait mode
R1
← Contents of key A
; Assigns the contents of the pressed keys to R1
R2
← Contents of key B
; and R2
SET2
CMP, Z
; 1
; Compares the input data with the security code.
SUB
R1, M1
SUB
R2, M2
SKT1
Z
BR
ERROR
; Detects that the input data does not match the
; security code.
MAIN:
Key-in processing
; Security code rewrite mode
R3
← Contents of key C
; Assigns the contents of the pressed keys to R3
R4
← Contents of key D
; and R4.
ST
M1, R3
; 2
; Rewrites the security code.
ST
M2, R4
; 3
ERROR:
BR
MAIN
Stops the operation.
Suppose, in the program in example 1, that the security code is 12H. The contents of data memory M1 and M2
are 1H and 2H, respectively.
When a CE reset occurs, the key input is compared with security code 12H in 1 . If they match, processing is
performed.
If the security code is changed as part of main processing, the new code is written to M1 and M2 in 2 and 3 .
If the security code is changed to 34H, for example, 3H and 4H are written to M1 and M2 in 2 and 3 .
If a CE reset occurs after 2 , the program starts from 0000H, without executing 3 .
The security code is actually changed to 32H, making it impossible to remove the security lock.
If this problem occurs, use a program like that shown in example 2 below:



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