1DS1977(3) One-Wire File System DS1977(3)
2
3
4
6 DS1977 - Password Protected 32kbit Memory iButton
7
9 Non-volatile memory.
10
11 37 [.]XXXXXXXXXXXX[XX][/[ memory | pages/page.[0-510|ALL] | set_num‐
12 ber/full | set_number/read | set_password/enabled | set_password/full |
13 set_password/read | use_number/full | use_number/read | use_pass‐
14 word/full | use_password/read | address | crc8 | id | locator |
15 r_address | r_id | r_locator | type ]]
16
18 37 DS1977
19
21 memory
22 read-write, binary
23 32704 bytes of memory. Possibly protected by a password.
24
25 pages/page.0 ... pages/page.510 pages/page.ALL
26 read-write, binary
27 Memory is split into 511 pages of 64 bytes each. ALL is an aggregate
28 of the pages. Each page is accessed sequentially.
29
30 set_number/full set_number/read
31 write-only, ascii
32 Passwords entered as numbers, either decimal, or hex of form
33 0x0123456789ABCDEF. Handled the same as set_password/xxx
34
35 set_password/enable
36 read-write, yes-no
37 Turn on/off password protection for the DS1977, or return the current
38 state.
39
40 set_password/full set_password/read
41 write-only, binary
42 Passwords (8 byte values) that allow read or full access to the DS1977
43 memory. The password set by set_password/xxx are stored in the DS1977
44 and locally in the program as well (as if use_password/xxx was also
45 called).
46
47 use_password/full use_password/read
48 write-only, binary
49 Passwords (8 byte values) that allow read or full access to the DS1977
50 memory. The password set by
51
52 use_number/full use_number/read
53 write-only, ascii
54 Passwords entered as numbers, either decimal, or hex of form
55 0x0123456789ABCDEF. Handled the same as use_password/xxx
56
57 use_password/full use_password/read
58 write-only, binary
59 Passwords (8 byte values) that allow read or full access to the DS1977
60 memory. The password set by use_password/xxx are stored in the program
61 and must match the passwords stored in the DS1977. Changing the DS1977
62 passwords using set_password/xxx will change these values as well.
63 use_password/xxx are stored in the program and must match the passwords
64 stored in the DS1977. Changing the DS1977 passwords using set_pass‐
65 word/xxx will change these values as well.
66
68 address
69 r_address
70 read-only, ascii
71 The entire 64-bit unique ID. Given as upper case hexidecimal digits
72 (0-9A-F).
73 address starts with the family code
74 r address is the address in reverse order, which is often used in other
75 applications and labeling.
76
77 crc8
78 read-only, ascii
79 The 8-bit error correction portion. Uses cyclic redundancy check. Com‐
80 puted from the preceding 56 bits of the unique ID number. Given as
81 upper case hexadecimal digits (0-9A-F).
82
83 family
84 read-only, ascii
85 The 8-bit family code. Unique to each type of device. Given as upper
86 case hexadecimal digits (0-9A-F).
87
88 id
89 r_id
90 read-only, ascii
91 The 48-bit middle portion of the unique ID number. Does not include the
92 family code or CRC. Given as upper case hexadecimal digits (0-9A-F).
93 r id is the id in reverse order, which is often used in other applica‐
94 tions and labeling.
95
96 locator
97 r_locator
98 read-only, ascii
99 Uses an extension of the 1-wire design from iButtonLink company that
100 associated 1-wire physical connections with a unique 1-wire code. If
101 the connection is behind a Link Locator the locator will show a unique
102 8-byte number (16 character hexadecimal) starting with family code FE.
103 If no Link Locator is between the device and the master, the locator
104 field will be all FF.
105 r locator is the locator in reverse order.
106
107 present (DEPRECATED)
108 read-only, yes-no
109 Is the device currently present on the 1-wire bus?
110
111 type
112 read-only, ascii
113 Part name assigned by Dallas Semi. E.g. DS2401 Alternative packaging
114 (iButton vs chip) will not be distiguished.
115
117 None.
118
120 1-Wire
121 1-wire is a wiring protocol and series of devices designed and manufac‐
122 tured by Dallas Semiconductor, Inc. The bus is a low-power low-speed
123 low-connector scheme where the data line can also provide power.
124
125 Each device is uniquely and unalterably numbered during manufacture.
126 There are a wide variety of devices, including memory, sensors (humid‐
127 ity, temperature, voltage, contact, current), switches, timers and data
128 loggers. More complex devices (like thermocouple sensors) can be built
129 with these basic devices. There are also 1-wire devices that have
130 encryption included.
131
132 The 1-wire scheme uses a single bus master and multiple slaves on the
133 same wire. The bus master initiates all communication. The slaves can
134 be individually discovered and addressed using their unique ID.
135
136 Bus masters come in a variety of configurations including serial, par‐
137 allel, i2c, network or USB adapters.
138
139 OWFS design
140 OWFS is a suite of programs that designed to make the 1-wire bus and
141 its devices easily accessible. The underlying principle is to create a
142 virtual filesystem, with the unique ID being the directory, and the
143 individual properties of the device are represented as simple files
144 that can be read and written.
145
146 Details of the individual slave or master design are hidden behind a
147 consistent interface. The goal is to provide an easy set of tools for a
148 software designer to create monitoring or control applications. There
149 are some performance enhancements in the implementation, including data
150 caching, parallel access to bus masters, and aggregation of device com‐
151 munication. Still the fundamental goal has been ease of use, flexibil‐
152 ity and correctness rather than speed.
153
154 DS1977
155 The DS1977 (3) is an iButton with static memory that is optionally pro‐
156 tected by a password.
157
159 All 1-wire devices are factory assigned a unique 64-bit address. This
160 address is of the form:
161
162 Family Code
163 8 bits
164
165 Address
166 48 bits
167
168 CRC 8 bits
169
170 Addressing under OWFS is in hexadecimal, of form:
171
172 01.123456789ABC
173
174 where 01 is an example 8-bit family code, and 12345678ABC is an example
175 48 bit address.
176
177 The dot is optional, and the CRC code can included. If included, it
178 must be correct.
179
181 http://pdfserv.maxim-ic.com/en/ds/DS1977.pdf
182
184 Programs
185 owfs (1) owhttpd (1) owftpd (1) owserver (1) owdir (1) owread (1)
186 owwrite (1) owpresent (1) owtap (1)
187
188 Configuration and testing
189 owfs (5) owtap (1) owmon (1)
190
191 Language bindings
192 owtcl (3) owperl (3) owcapi (3)
193
194 Clocks
195 DS1427 (3) DS1904 (3) DS1994 (3) DS2404 (3) DS2404S (3) DS2415 (3)
196 DS2417 (3)
197
198 ID
199 DS2401 (3) DS2411 (3) DS1990A (3)
200
201 Memory
202 DS1982 (3) DS1985 (3) DS1986 (3) DS1991 (3) DS1992 (3) DS1993 (3)
203 DS1995 (3) DS1996 (3) DS2430A (3) DS2431 (3) DS2433 (3) DS2502 (3)
204 DS2506 (3) DS28E04 (3) DS28EC20 (3)
205
206 Switches
207 DS2405 (3) DS2406 (3) DS2408 (3) DS2409 (3) DS2413 (3) DS28EA00 (3)
208
209 Temperature
210 DS1822 (3) DS1825 (3) DS1820 (3) DS18B20 (3) DS18S20 (3) DS1920 (3)
211 DS1921 (3) DS1821 (3) DS28EA00 (3) DS28E04 (3) EDS0064 (3) EDS0065 (3)
212 EDS0066 (3) EDS0067 (3) EDS0068 (3) EDS0071 (3) EDS0072 (3) MAX31826
213 [1m(3)
214
215 Humidity
216 DS1922 (3) DS2438 (3) EDS0065 (3) EDS0068 (3)
217
218 Voltage
219 DS2450 (3)
220
221 Resistance
222 DS2890 (3)
223
224 Multifunction (current, voltage, temperature)
225 DS2436 (3) DS2437 (3) DS2438 (3) DS2751 (3) DS2755 (3) DS2756 (3)
226 DS2760 (3) DS2770 (3) DS2780 (3) DS2781 (3) DS2788 (3) DS2784 (3)
227
228 Counter
229 DS2423 (3)
230
231 LCD Screen
232 LCD (3) DS2408 (3)
233
234 Crypto
235 DS1977 (3)
236
237 Pressure
238 DS2406 (3) TAI8570 (3) EDS0066 (3) EDS0068 (3)
239
240 Moisture
241 EEEF (3) DS2438 (3)
242
244 http://www.owfs.org
245
247 Paul Alfille (paul.alfille@gmail.com)
248
249
250
251OWFS Manpage 2003 DS1977(3)