2 ## This file is part of the libsigrokdecode project.
4 ## Copyright (C) 2014 Uwe Hermann <uwe@hermann-uwe.de>
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, see <http://www.gnu.org/licenses/>.
21 # Chip specific properties:
23 # - vendor: chip manufacturer
25 # - size: total EEPROM size (in number of bytes)
26 # - page_size: page size (in number of bytes)
27 # - page_wraparound: Whether writes wrap-around at page boundaries
28 # - addr_bytes: number of EEPROM address bytes used
29 # - addr_pins: number of address pins (A0/A1/A2) on this chip
30 # - max_speed: max. supported I²C speed (in kHz)
33 # Generic chip (128 bytes, 8 bytes page size)
39 'page_wraparound': True,
47 'vendor': 'Microchip',
50 'page_size': 64, # Actually 8, but there are 8 pages of "input cache"
51 'page_wraparound': True,
57 'vendor': 'Microchip',
60 'page_size': 64, # Actually 8, but there are 8 pages of "input cache"
61 'page_wraparound': True,
67 'vendor': 'Microchip',
70 'page_size': 64, # Actually 8, but there are 8 pages of "input cache"
71 'page_wraparound': True,
77 'vendor': 'Microchip',
81 'page_wraparound': True,
84 'max_speed': 400, # 100 for VCC < 2.5V
87 'vendor': 'Microchip',
91 'page_wraparound': True,
96 'microchip_24aa02uid': {
97 'vendor': 'Microchip',
101 'page_wraparound': True,
103 'addr_pins': 0, # Pins A0, A1, A2 not used
106 'microchip_24aa025uid': {
107 'vendor': 'Microchip',
108 'model': '24AA025UID',
111 'page_wraparound': True,
116 'microchip_24aa025uid_sot23': {
117 'vendor': 'Microchip',
118 'model': '24AA025UID (SOT-23)',
121 'page_wraparound': True,
123 'addr_pins': 2, # SOT-23 package: A2 not available
128 'siemens_slx_24c01': {
130 'model': 'SLx 24C01',
133 'page_wraparound': True,
135 'addr_pins': 0, # Pins A0, A1, A2 are not connected (NC)
138 'siemens_slx_24c02': {
140 'model': 'SLx 24C02',
143 'page_wraparound': True,
145 'addr_pins': 0, # Pins A0, A1, A2 are not connected (NC)
155 'page_wraparound': True,
157 'addr_pins': 3, # Called E0, E1, E2 on this chip.
165 'page_wraparound': True,
167 'addr_pins': 3, # Called E0, E1, E2 on this chip.
177 'page_wraparound': True,