]>
Commit | Line | Data |
---|---|---|
1 | ------------------------------------------------------------------------------- | |
2 | Dallas DS1985 16kbit Add-Only iButton | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This is a set of example captures of the 1-Wire traffic from a | |
6 | Dallas DS1985 iButton device. | |
7 | ||
8 | This specific iButton device has a registration number of 0x05000000586ce20b | |
9 | (family code: 0x05, serial number: 0x000000586ce2, CRC: 0x0b). | |
10 | ||
11 | The device has the following markings: | |
12 | ||
13 | Dallas | |
14 | 0050 Registered B1 | |
15 | 05 0B | |
16 | 000000586CE2 | |
17 | DS1985-F5 | |
18 | ||
19 | The "1-Wire/iButton Drivers for Windows" 4.03 software was used with a | |
20 | Maxim DS9097U-E25 serial port 1-Wire interface adapter (which itself | |
21 | contains a Maxim DS2480B serial 1-Wire line driver chip). | |
22 | The DS9097U-E25 was attached to a PC using a USB-to-serial adapter. | |
23 | ||
24 | The following information can be seen in the Windows software for the | |
25 | respective dumps (when clicking on the respective tabs/entries): | |
26 | ||
27 | Polling: | |
28 | ||
29 | - The Windows software was configured as follows: | |
30 | - Device poll rate: 1 second | |
31 | - 1-Wire search mode: Show normal devices | |
32 | ||
33 | Main memory: | |
34 | ||
35 | - Contents: all-0xff (pages 0 - 63, each page 32 bytes in size) | |
36 | - Start address: 0 | |
37 | - Bank size: 2048 bytes | |
38 | - General-purpose/non-volatile/read-only/read-write/write-once: Y/Y/N/N/Y | |
39 | ||
40 | Write protect pages: | |
41 | ||
42 | - Contents: ff ff ff ff ff ff ff ff | |
43 | - Start address: 0 | |
44 | - Bank size: 8 bytes | |
45 | - General-purpose/non-volatile/read-only/read-write/write-once: N/Y/N/N/Y | |
46 | ||
47 | Write protect redirection: | |
48 | ||
49 | - Start address: 0x20 | |
50 | - Bank size: 8 bytes | |
51 | - General-purpose/non-volatile/read-only/read-write/write-once: N/Y/N/N/Y | |
52 | ||
53 | Bitmap of used pages for file structure: | |
54 | ||
55 | - Start address: 0x40 | |
56 | - Bank size: 8 bytes | |
57 | - General-purpose/non-volatile/read-only/read-write/write-once: N/Y/N/N/Y | |
58 | ||
59 | Page redirection bytes: | |
60 | ||
61 | - Contents: all-0xff (pages 0 - 3, each page 16 bytes in size) | |
62 | - Start address: 0x100 | |
63 | - Bank size: 64 bytes | |
64 | - General-purpose/non-volatile/read-only/read-write/write-once: N/Y/N/N/Y | |
65 | ||
66 | Details: | |
67 | https://en.wikipedia.org/wiki/1-Wire | |
68 | http://www.maxim-ic.com/datasheet/index.mvp/id/2827/t/al | |
69 | http://www.maxim-ic.com/app-notes/index.mvp/id/192 | |
70 | http://www.maxim-ic.com/datasheet/index.mvp/id/2983/t/al | |
71 | http://www.maxim-ic.com/app-notes/index.mvp/id/192 | |
72 | ||
73 | ||
74 | Logic analyzer setup | |
75 | -------------------- | |
76 | ||
77 | The logic analyzer used was a Saleae Logic (at 8MHz): | |
78 | ||
79 | Probe DS2480B pin | |
80 | ----------------------- | |
81 | 1 (black) 1-W | |
82 | ||
83 | The sigrok command line used was: | |
84 | ||
85 | sigrok-cli -d fx2lafw:samplerate=8mhz --time 5s -p 1=OWR -o <file> | |
86 |