DS1977
4 of 29
APPLICATION
The DS1977 is an ideal device to store maintenance and inspection data of equipment or medical- and health-
related data in digitally readable format. Due to its small size and rugged enclosure the device can be carried with a
keyring to provide critical data in case of an emergency. The DS1977 can also serve as data shuttle to transport
fleet management and vending machine data to an access point for upload into a remote server for further
processing. Software for communication with the DS1977 is available for free download from the i
Button website.
OVERVIEW
The block diagram in Figure 1 shows the relationships between the major control and memory sections of the
DS1977. The device has four main data components: 1) 64-bit lasered ROM, 2) 512-bit scratchpad and buffer, 3)
32KB EEPROM, and 4) two password buffers. The passwords can only be written and verified, but never be read.
The hierarchical structure of the 1-Wire protocol is shown in Figure 2. The bus master must first provide one of the
seven ROM function commands: 1) Read ROM, 2) Match ROM, 3) Search ROM, 4) Skip ROM, 5) Overdrive-Skip
ROM, 6) Overdrive-Match ROM or 7) Resume. Upon completion of an Overdrive ROM command byte executed at
standard speed, the device will enter Overdrive mode, where all subsequent communication occurs at a higher
speed. The protocol required for these ROM function commands is described in Figure 9. After a ROM function
command is successfully executed, the memory and control functions become accessible and the master may
provide any one of the six available commands. The protocol for these memory and control function commands is
described in Figure 7. All data is read and written least significant bit first.
Figure 1. DS1977 BLOCK DIAGRAM
32KB
EEPROM
MEMORY
FUNCTION
CONTROL
64-BYTE
SCRATCHPAD
AND BUFFER
POWER
CONTROL
CRC16
GENERATOR
I/O
ROM FUNCTION
CONTROL
64-BIT
LASERED ROM
MEMORY
ACCESS
SECURITY
CONTROL
DS1977
5 of 29
Figure 2. HIERARCHICAL STRUCTURE FOR 1-WIRE PROTOCOL
1-Wire NET
OTHER
DEVICES
BUS
MASTER
DS1977
AVAILABLE
COMMANDS:
COMMAND
LEVEL:
DATA FIELD
AFFECTED:
1-Wire ROM FUNCTION
COMMANDS
READ ROM
MATCH ROM
SEARCH ROM
SKIP ROM
RESUME
OVERDRIVE SKIP
OVERDRIVE MATCH
64-BIT ROM, RC-FLAG
64-BIT ROM, RC-FLAG
64-BIT ROM, RC-FLAG
RC-FLAG
RC-FLAG
RC-FLAG, OD-FLAG
64-BIT ROM, RC-FLAG, OD-FLAG
DS1977-SPECIFIC
MEMORY FUNCTION
COMMANDS
WRITE SCRATCHPAD
READ SCRATCHPAD
COPY SCRATCHPAD
W/PW
READ MEMORY W/PW
VERIFY PASSWORD
READ VERSION
64-BYTE SCRATCHPAD
64-BYTE SCRATCHPAD
DATA MEMORY, PASSWORDS,
PASSWORD ENABLE BYTE
DATA MEMORY, PASSWORDS,
PASSWORD ENABLE BYTE
PASSWORDS
VERSION REGISTER
64-BIT LASERED ROM
Each DS1977 contains a unique ROM code that is 64 bits long. The first 8 bits are a 1-Wire family code. The next
48 bits are a unique serial number. The last 8 bits are a CRC of the first 56 bits. See Figure 3 for details. The 1-
Wire CRC is generated using a polynomial generator consisting of a Shift and XOR gates as shown in Figure 4.
The polynomial is X
8
+ X
5
+ X
4
+ 1. Additional information about the 1-Wire Cyclic Redundancy Check is available
in Application Note 27 and in the Book of DS19xx i
Button Standards.
The Shift register bits are initialized to 0. Then starting with the least significant bit of the family code, one bit at a
time is shifted in. After the 8
th
bit of the family code has been entered, then the serial number is entered. After the
48
th
bit of the serial number has been entered, the Shift register contains the CRC value. Shifting in the 8 bits of
CRC returns the Shift register to all 0s.
Figure 3. 64-BIT LASERED ROM
MSB
LSB
8-BIT
CRC CODE
48-BIT SERIAL NUMBER
8-BIT FAMILY
CODE (37h)
MSB LSB
MSB LSB
MSB LSB
DS1977
6 of 29
Figure 4. 1-WIRE CRC GENERATOR
X
0
X
1
X
2
X
3
X
4
X
5
X
6
X
7
X
8
POLYNOMIAL = X
8
+ X
5
+ X
4
+ 1
1
st
STAGE
2
nd
STAGE
3
rd
STAGE
4
th
STAGE
6
th
STAGE
5
th
STAGE
7
th
STAGE
8
th
STAGE
INPUT DATA
MEMORY
The memory map of the DS1977 is shown in Figure 5. The 32KB of general-purpose EEPROM are located in
pages 0 through 510. The passwords and the Password Control register take 17 bytes of page 511. The remaining
bytes of page 511 are not accessible to the user. The scratchpad is an additional page that acts as a buffer when
writing to the EEPROM memory or setting up a password, and when reading from the EEPROM.
Figure 5. DS1977 MEMORY MAP
64-Byte Intermediate Storage Scratchpad
ADDRESS
0000h to
003Fh
64-Byte User EEPROM
Page 0
0040h to
7F7Fh
64-Byte User EEPROM
Pages 1
To 509
7F80h to
7FBFh
64-Byte User EEPROM
Page 510
7FC0h to
7FC7h
Read Access Password (A)
7FC8h to
7FCFh
Full Access Password (B)
7FD0h
Password Control Register
7FD1h to
7FFFh
(No Function; Will Read FFh, Cannot be Written)
SECURITY BY PASSWORD
The DS1977 is designed to use two passwords that control read access and full access. No password applies
when reading from or writing to the scratchpad. Setting up a password or enabling/disabling the password checking
is done in the same way as writing data to a memory location, only the address is different. Since they are located
in the same memory page, both passwords can be redefined at the same time. Before changing passwords,
disable passwords. When setting up a password, make sure that all 8 bytes of the password are defined.
Otherwise the new password may be unknown. Always verify the scratchpad before issuing the copy scratchpad
command. After a new password is successfully copied from the scratchpad to its memory location, erase the
scratchpad by filling it with new data. Otherwise a copy of the password will remain accessible through the
scratchpad until the DS1977 is disconnected from the 1-Wire line or undergoes a power-on reset.

DS1977-F5#

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
iButtons & Accessories Password-Protected 32KB EEPROM iButton
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet