TB001 MICROCHIP [Microchip Technology], TB001 Datasheet

no-image

TB001

Manufacturer Part Number
TB001
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TB001(TC4847)-7R8
Quantity:
100 150
INTRODUCTION
The purpose of this application note is to demonstrate
how K
niently employed to implement an automatic code hop-
ping password generator/keypad. Using a PIC12C508,
the hopping code produced by an HCS300 is converted
to a string of 16 hex digits. This string is then trans-
ferred to the PC via the keyboard line, thereby emulat-
ing the actual pressure of a sequence of keys on a
standard PC/AT
cess is transparent to any application, it appears as if
the user is simply typing on a PC/AT-type keyboard.
An ideal situation for implementing this application
would be in creating a “super password” for general,
access-control secure logins when transmitting infor-
mation onto the internet (i.e., through a browser) or a
Java applet.
FIGURE 1: HCS300 AND PIC12C508 PINOUT DIAGRAMS
K
Microchip’s Secure Data Products are covered by some or all of the following patents:
Code hopping encoder patents issued in Europe, U.S.A., and R.S.A. — U.S.A.: 5,517,187; Europe: 0459781; R.S.A.: ZA93/4726
Secure learning patents issued in the U.S.A. and R.S.A. — U.S.A.: 5,686,904; R.S.A.: 95/5429
IBM PC-AT, IBM and AT are registered trademarks of International Business Machines Corporation
ã 1997 Microchip Technology Inc.
M
EELOQ
Author:
is a registered trademark of Microchip Technology, Inc.
HCS300
EE
L
OQ Ò
Using K
Lucio Di Jasio
Arizona Microchip Technology, Italy
code hopping technology can be conve-
®
S0
S1
S2
S3
keyboard. Since this conversion pro-
1
2
3
4
EE
L
OQ ¨
8
5
7
6
V
V
LED
PWM
DD
SS
to Generate Hopping Passwords
THE “HOPPING” ADVANTAGE
Password-based access control systems are very pop-
ular today, but the level of security they provide are
often overestimated. Being basically a unidirectional
transmission, a password-based system has two very
important shortcomings which can lead to unautho-
rized access: the code is fixed, and the number of pos-
sible combinations is relatively low.
The growing speed of communication lines and the
computing power of available systems increases the
chance of a brute force attack or “code scanning.” The
use of unsecure means of transmission, where code
“grabbing” is possible (i.e., a typical modem connection
over phone lines), can make the use of a fixed code
highly undesirable. Note that these are the same situa-
tion that led to the introduction of the “code hopping”
concept in the remote control market.
The basic idea is to have the access code change each
time it is used through a sequence where the new
codes cannot be predicted even knowing a very large
number of previously used ones. Producing such a
sequence requires the use of a solid encryption engine.
Microchip Technology is currently offering a broad
range of encoders based on the proprietary K
code hopping technology. These encoders make pro-
ducing a code hopping remote control easy, but as we
will see, can also be conveniently used to add the hop-
ping advantage to old password based access control
systems in a transparent way.
GP5/OSC1/CLKIN
PIC12C508
GP3/MCLR/V
GP4/OSC2
V
DD
PP
1
2
3
4
AN665
8
7
6
5
DS00665A-page 1
V
GP0
GP1
GP2/T0CKI
SS
EE
L
OQ

Related parts for TB001

TB001 Summary of contents

Page 1

M OQ ¨ Using Author: Lucio Di Jasio Arizona Microchip Technology, Italy INTRODUCTION The purpose of this application note is to demonstrate OQ Ò how K L code hopping technology can be conve- EE niently employed to ...

Page 2

AN665 INTRODUCTION ENCODERS All K L encoders use the technology to make each transmission by an encoder unique. The encoder transmissions have two parts. The first part changes each ...

Page 3

FIGURE 4: HCS300 BLOCK DIAGRAM Oscillator Controller Reset circuit LED LED driver EEPROM Encoder PWM 32-bit shift register V SS Button input port ® FIGURE 6: AT KEYBOARD PROTOCOL Keyboard Clock ...

Page 4

AN665 Keyboard Transmission The keyboard pulls the data line low (start bit) and starts the clock. The eight data bits (least significant bit first) are shifted out, followed by the parity (odd), and stop bit (high). Data is valid after ...

Page 5

Proposing a Demo Keypad/Dongle Implementation The password generator fits between the keyboard and the PC. A 5-pin plug connects to the PC, supplying power to our device, and the keyboard plugs into the 5-pin socket (Figure 7). The clock and ...

Page 6

... System (DS00645) AN662 K L Code Hopping Decoder Using EE OQ Secure Learn (DS00662) AN663 K L Simple Code Hopping Decoder EE OQ (DS00663) TB001 An Introduction to KeeLoq Code Hopping (DS91000A) TB003 An Introduction Code Hopping EE OQ (DS91002A). . ã 1997 Microchip Technology Inc. acquires the ...

Page 7

Please check the Microchip Worldwide Web at www.microchip.com for the latest version of the source code. APPENDIX A: HOPPASW.LST MPASM 01.40 Released HOPPASW.ASM LOC OBJECT CODE LINE SOURCE TEXT VALUE 00001 LIST 00002 PROCESSOR 00003 RADIX 00004 00005 ;* filename: ...

Page 8

AN665 00049 #define HCSIN 00050 #define NC 00051 #define SWITCH 00052 #define DATA 00053 00054 #define PCCLK 00055 00056 #define MASKDEF 00057 #define MASKLOW 00058 #define MASKHIGH 00059 00060 ; 00061 ; RAM assignments 00062 ; 00063 CBLOCK 00000007 00064 ...

Page 9

SubDelay10 0014 0000 00124 SubDelay9 0015 0000 00125 SubDelay8 0016 0000 00126 SubDelay7 0017 0000 00127 SubDelay6 0018 0000 00128 SubDelay5 ...

Page 10

AN665 00181 002F 0C0F 00182 0030 0032 00183 0031 00184 SBitT2 0031 02F2 00185 0032 0A31 00186 00187 0033 0516 00188 0034 0216 00189 0035 0006 00190 0036 0800 00191 00192 00193 ;********************************************************************** 00194 ;* SendKEY 00195 ;* 00196 ;* ...

Page 11

Receive 004A 0686 00252 004B 0A4A 00253 00254 00255 ; will accept sync pulses from 00256 ; more than 128 cycles but less than 256 00257 ; each cycle is ...

Page 12

AN665 006C 032D 00313 006D 032C 00314 006E 032B 00315 006F 032A 00316 0070 0329 00317 0071 0328 00318 0072 0327 00319 00320 00321 ; compare duty cycle, to skip preamble 0073 0CE0 00322 0074 0152 00323 0075 0643 00324 ...

Page 13

0091 091B 00379 0092 0215 00380 0093 0937 00381 00382 0094 091A 00383 00384 0095 0380 00385 0096 0E0F 00386 0097 0902 00387 0098 0035 00388 0099 0937 00389 009A 091A 00390 009B 0CF0 00391 009C 0937 00392 009D 0C01 ...

Page 14

AN665 NOTES: DS00665A-page 14 ã 1997 Microchip Technology Inc. ...

Page 15

NOTES: ã 1997 Microchip Technology Inc. AN665 DS00665A-page 15 ...

Page 16

Note the following details of the code protection feature on PICmicro • The PICmicro family meets the specifications contained in the Microchip Data Sheet. • Microchip believes that its family of PICmicro microcontrollers is one of the most secure products ...

Page 17

M W ORLDWIDE AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: 480-792-7627 Web Address: http://www.microchip.com Rocky Mountain 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7966 Fax: 480-792-7456 Atlanta 500 Sugar Mill ...

Related keywords