← Commit history

symbol: the part is a 5-lead SOT-23 - the shipped footprint has 5 pads and the datasheet confirms it for this ordering suffix - but the symbol carried the 8-pin SOIC pinout. The page MPN was also truncated to a form with no package code, so it matched no distributor; corrected to the orderable part. Pinout taken from this part's datasheet for its own ordering suffix. The library failed validate because the symbol declared pins the footprint has no pad for (connect-pad-unresolved), which also blocked its orderable attributes. Rebuilds the .lbr, re-derives pin 1 and pads.json.

Ray ·862b6f41b9 · ·parent 5684bed
4 files changed +86−109
24lc08bt-i.kicad_sym+13−25
@@ -1,45 +1,33 @@ (kicad_symbol_lib (version 20211014) (generator ds2sf_rect)   (symbol "24LC08BT-I" (in_bom yes) (on_board yes)     (property "Reference" "U" (at 0 7.62 0) (effects (font (size 1.27 1.27))))-    (property "Value" "24LC08BT-I" (at 0 -10.16 0) (effects (font (size 1.27 1.27))))+    (property "Value" "24LC08BT-I" (at 0 -7.62 0) (effects (font (size 1.27 1.27))))     (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))     (symbol "24LC08BT-I_0_1"-    (rectangle (start -12.70 5.08) (end 12.70 -7.62)+    (rectangle (start -12.70 5.08) (end 12.70 -5.08)       (stroke (width 0.254) (type default)) (fill (type background)))     )     (symbol "24LC08BT-I_1_1"-    (pin no_connect line (at -17.78 2.54 0) (length 5.08)-      (name "A0" (effects (font (size 1.27 1.27))))+    (pin input line (at -17.78 2.54 0) (length 5.08)+      (name "SCL" (effects (font (size 1.27 1.27))))       (number "1" (effects (font (size 1.27 1.27))))     )-    (pin no_connect line (at -17.78 0.00 0) (length 5.08)-      (name "A1" (effects (font (size 1.27 1.27))))+    (pin power_in line (at -17.78 0.00 0) (length 5.08)+      (name "VSS" (effects (font (size 1.27 1.27))))       (number "2" (effects (font (size 1.27 1.27))))     )-    (pin no_connect line (at -17.78 -2.54 0) (length 5.08)-      (name "A2" (effects (font (size 1.27 1.27))))+    (pin bidirectional line (at -17.78 -2.54 0) (length 5.08)+      (name "SDA" (effects (font (size 1.27 1.27))))       (number "3" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at -17.78 -5.08 0) (length 5.08)-      (name "VSS" (effects (font (size 1.27 1.27))))-      (number "4" (effects (font (size 1.27 1.27))))-    )-    (pin power_in line (at 17.78 2.54 180) (length 5.08)-      (name "VCC" (effects (font (size 1.27 1.27))))-      (number "8" (effects (font (size 1.27 1.27))))-    )-    (pin input line (at 17.78 0.00 180) (length 5.08)+    (pin input line (at 17.78 2.54 180) (length 5.08)       (name "WP" (effects (font (size 1.27 1.27))))-      (number "7" (effects (font (size 1.27 1.27))))-    )-    (pin input line (at 17.78 -2.54 180) (length 5.08)-      (name "SCL" (effects (font (size 1.27 1.27))))-      (number "6" (effects (font (size 1.27 1.27))))-    )-    (pin bidirectional line (at 17.78 -5.08 180) (length 5.08)-      (name "SDA" (effects (font (size 1.27 1.27))))       (number "5" (effects (font (size 1.27 1.27))))     )+    (pin power_in line (at 17.78 0.00 180) (length 5.08)+      (name "VCC" (effects (font (size 1.27 1.27))))+      (number "4" (effects (font (size 1.27 1.27))))+    )     )   ) )
24lc08bt-i.lbr+32−21
@@ -59,6 +59,18 @@   <smd name="3" x="-1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="4" x="1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="5" x="1.1375" y="0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-1.4500" y="1.5100"/>+    <vertex x="-1.6900" y="1.8400"/>+    <vertex x="-1.2100" y="1.8400"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.4000" y="1.4500"/>+    <vertex x="0.8000" y="1.4500"/>+    <vertex x="0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="1.0500"/>+  </polygon>   <wire x1="-0.9100" y1="1.5600" x2="0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="1.5100" x2="-0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5100" width="0.1200" layer="21"/>@@ -73,19 +85,16 @@ <symbols> <symbol name="24LC08BT-I">   <wire x1="-12.7" y1="5.08" x2="12.7" y2="5.08" width="0.254" layer="94"/>-  <wire x1="12.7" y1="5.08" x2="12.7" y2="-7.62" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-7.62" x2="-12.7" y2="-7.62" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-7.62" x2="-12.7" y2="5.08" width="0.254" layer="94"/>+  <wire x1="12.7" y1="5.08" x2="12.7" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="12.7" y1="-5.08" x2="-12.7" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="-12.7" y1="-5.08" x2="-12.7" y2="5.08" width="0.254" layer="94"/>   <text x="0" y="7.62" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-10.16" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="A0" x="-17.78" y="2.54" length="middle" direction="io"/>-  <pin name="A1" x="-17.78" y="0" length="middle" direction="io"/>-  <pin name="A2" x="-17.78" y="-2.54" length="middle" direction="io"/>-  <pin name="VSS" x="-17.78" y="-5.08" length="middle" direction="pwr"/>-  <pin name="VCC" x="17.78" y="2.54" length="middle" direction="pwr" rot="R180"/>-  <pin name="WP" x="17.78" y="0" length="middle" direction="in" rot="R180"/>-  <pin name="SCL" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>-  <pin name="SDA" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/>+  <text x="0" y="-7.62" size="1.27" layer="96" align="top-center">&gt;VALUE</text>+  <pin name="SCL" x="-17.78" y="2.54" length="middle" direction="in"/>+  <pin name="VSS" x="-17.78" y="0" length="middle" direction="pwr"/>+  <pin name="SDA" x="-17.78" y="-2.54" length="middle" direction="io"/>+  <pin name="WP" x="17.78" y="2.54" length="middle" direction="in" rot="R180"/>+  <pin name="VCC" x="17.78" y="0" length="middle" direction="pwr" rot="R180"/> </symbol> </symbols> <devicesets>@@ -97,16 +106,18 @@   <devices>     <device name="" package="24LC08BT-I">       <connects>-        <connect gate="G$1" pin="A0" pad="1"/>-        <connect gate="G$1" pin="A1" pad="2"/>-        <connect gate="G$1" pin="A2" pad="3"/>-        <connect gate="G$1" pin="VSS" pad="4"/>-        <connect gate="G$1" pin="VCC" pad="8"/>-        <connect gate="G$1" pin="WP" pad="7"/>-        <connect gate="G$1" pin="SCL" pad="6"/>-        <connect gate="G$1" pin="SDA" pad="5"/>+        <connect gate="G$1" pin="SCL" pad="1"/>+        <connect gate="G$1" pin="VSS" pad="2"/>+        <connect gate="G$1" pin="SDA" pad="3"/>+        <connect gate="G$1" pin="WP" pad="5"/>+        <connect gate="G$1" pin="VCC" pad="4"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="24LC08BT-I/OT" constant="no"/>+          <attribute name="MANUFACTURER" value="Microchip" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
pads.json+22−31
@@ -18,24 +18,15 @@   "derived_from": "SOT-23-5@sha256:455a3f7c3e5eb5b8"  },  "pad_count": 5,- "paste_apertures": 0,- "issues": [-  {-   "kind": "pin-has-no-pad",-   "pin": "6",-   "detail": "page.json declares pin \"6\" but the footprint has no such pad"-  },-  {-   "kind": "pin-has-no-pad",-   "pin": "7",-   "detail": "page.json declares pin \"7\" but the footprint has no such pad"-  },-  {-   "kind": "pin-has-no-pad",-   "pin": "8",-   "detail": "page.json declares pin \"8\" but the footprint has no such pad"-  }+ "symbol_pins": [+  "1",+  "2",+  "3",+  "4",+  "5"  ],+ "paste_apertures": 0,+ "issues": [],  "pads": [   {    "pad": "1",@@ -57,9 +48,9 @@    ],    "thermal": false,    "pin": "1",-   "name": "A0",-   "type": "unconnected",-   "description": "Not connected internally on the 24XX08. May be left floating or tied to VSS or VCC.",+   "name": "SCL",+   "type": "input",+   "description": "Serial Clock input. Synchronizes data transfer to and from the device on the two-wire I2C bus. Schmitt Trigger input with noise filter; requires an external pull-up resistor to VCC (typ. 10 kΩ for 100 kHz, 2 kΩ for 400 kHz).",    "is_pin1": true,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -87,9 +78,9 @@    ],    "thermal": false,    "pin": "2",-   "name": "A1",-   "type": "unconnected",-   "description": "Not connected internally on the 24XX08. May be left floating or tied to VSS or VCC.",+   "name": "VSS",+   "type": "power_in",+   "description": "Ground reference for the device (0 V).",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -117,9 +108,9 @@    ],    "thermal": false,    "pin": "3",-   "name": "A2",-   "type": "unconnected",-   "description": "Not connected internally on the 24XX08. May be left floating or tied to VSS or VCC.",+   "name": "SDA",+   "type": "bidirectional",+   "description": "Serial Address/Data bidirectional I/O. Open-drain terminal used to transfer addresses and data to and from the device; requires an external pull-up resistor to VCC (typ. 10 kΩ for 100 kHz, 2 kΩ for 400 kHz). Schmitt Trigger input with slope-controlled output for noise suppression.",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -147,9 +138,9 @@    ],    "thermal": false,    "pin": "4",-   "name": "VSS",+   "name": "VCC",    "type": "power_in",-   "description": "Ground reference for the device (0 V).",+   "description": "Power supply input. Operating range 2.5V to 5.5V for the 24LC08B; absolute maximum 6.5V. Typical read current 1 mA, standby current 1 µA (I-temp).",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -177,9 +168,9 @@    ],    "thermal": false,    "pin": "5",-   "name": "SDA",-   "type": "bidirectional",-   "description": "Serial Address / Data I/O for the I2C bus. Open-drain bidirectional pin; requires an external pull-up to VCC (typ. 10 kΩ at 100 kHz, 2 kΩ at 400 kHz and 1 MHz). Schmitt-trigger input with noise suppression.",+   "name": "WP",+   "type": "input",+   "description": "Write-Protect input. Must be connected to either VSS or VCC. When tied to VSS, normal read/write of the entire memory (000-3FF) is enabled; when tied to VCC, write operations to the entire array are inhibited (reads unaffected).",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",
page.json+19−32
@@ -12,10 +12,10 @@     "24lc08bt-i"   ],   "component": {-    "mpn": "24LC08BT-I",+    "mpn": "24LC08BT-I/OT",     "manufacturer": "Microchip",     "package": "SOT-23-5",-    "pin_count": 8,+    "pin_count": 5,     "category": "Memory",     "subcategory": "EEPROM",     "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/7dbf704865d6dca2bb1a218be6a1fe7b.pdf",@@ -30,51 +30,38 @@     "pins": [       {         "number": "1",-        "name": "A0",-        "type": "unconnected",-        "description": "Not connected internally on the 24XX08. May be left floating or tied to VSS or VCC."+        "name": "SCL",+        "type": "input",+        "description": "Serial Clock input. Synchronizes data transfer to and from the device on the two-wire I2C bus. Schmitt Trigger input with noise filter; requires an external pull-up resistor to VCC (typ. 10 k\u03a9 for 100 kHz, 2 k\u03a9 for 400 kHz).",+        "group": "I2C"       },       {         "number": "2",-        "name": "A1",-        "type": "unconnected",-        "description": "Not connected internally on the 24XX08. May be left floating or tied to VSS or VCC."-      },-      {-        "number": "3",-        "name": "A2",-        "type": "unconnected",-        "description": "Not connected internally on the 24XX08. May be left floating or tied to VSS or VCC."-      },-      {-        "number": "4",         "name": "VSS",         "type": "power_in",-        "description": "Ground reference for the device (0 V)."+        "description": "Ground reference for the device (0 V).",+        "group": "POWER"       },       {-        "number": "5",+        "number": "3",         "name": "SDA",         "type": "bidirectional",-        "description": "Serial Address / Data I/O for the I2C bus. Open-drain bidirectional pin; requires an external pull-up to VCC (typ. 10 kΩ at 100 kHz, 2 kΩ at 400 kHz and 1 MHz). Schmitt-trigger input with noise suppression."+        "description": "Serial Address/Data bidirectional I/O. Open-drain terminal used to transfer addresses and data to and from the device; requires an external pull-up resistor to VCC (typ. 10 k\u03a9 for 100 kHz, 2 k\u03a9 for 400 kHz). Schmitt Trigger input with slope-controlled output for noise suppression.",+        "group": "I2C"       },       {-        "number": "6",-        "name": "SCL",-        "type": "input",-        "description": "I2C serial clock input driven by the host, used to synchronize data transfers to and from the device. Schmitt-trigger input."+        "number": "4",+        "name": "VCC",+        "type": "power_in",+        "description": "Power supply input. Operating range 2.5V to 5.5V for the 24LC08B; absolute maximum 6.5V. Typical read current 1 mA, standby current 1 \u00b5A (I-temp).",+        "group": "POWER"       },       {-        "number": "7",+        "number": "5",         "name": "WP",         "type": "input",-        "description": "Write-Protect input. Must be tied to VSS (normal read/write operation) or VCC (entire array 000-3FF write-protected; reads still allowed). Do not leave floating."-      },-      {-        "number": "8",-        "name": "VCC",-        "type": "power_in",-        "description": "Positive supply. 2.5V-5.5V for 24LC08B (1.7V-5.5V for 24AA08/24FC08). Decouple to VSS with a local bypass capacitor."+        "description": "Write-Protect input. Must be connected to either VSS or VCC. When tied to VSS, normal read/write of the entire memory (000-3FF) is enabled; when tied to VCC, write operations to the entire array are inhibited (reads unaffected).",+        "group": "CONTROL"       }     ],     "provenance": {