← 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. 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 ·a40ba78466 · ·parent 6caf904
4 files changed +88−114
pads.json+16−35
@@ -23,29 +23,10 @@   "2",   "3",   "4",-  "5",-  "6",-  "7",-  "8"+  "5"  ],  "paste_apertures": 0,- "issues": [-  {-   "kind": "pin-has-no-pad",-   "pin": "6",-   "detail": "the symbol declares pin \"6\" but the footprint has no such pad"-  },-  {-   "kind": "pin-has-no-pad",-   "pin": "7",-   "detail": "the symbol declares pin \"7\" but the footprint has no such pad"-  },-  {-   "kind": "pin-has-no-pad",-   "pin": "8",-   "detail": "the symbol declares pin \"8\" but the footprint has no such pad"-  }- ],+ "issues": [],  "pads": [   {    "pad": "1",@@ -67,9 +48,9 @@    ],    "thermal": false,    "pin": "1",-   "name": "NC",-   "type": "unconnected",-   "description": "No Connect. On the 8K variant the device address pins A0/A1/A2 are not used (the three low bits of the device-address byte serve as memory page-address bits P0/P1 internally). Pin is not bonded to a die pad and may be tied to GND or left floating.",+   "name": "SCL",+   "type": "input",+   "description": "Serial Clock: I2C clock input from the bus Master. Data on SDA is latched on rising edge and output on falling edge. Must be pulled high externally or driven high when the bus is idle. Schmitt-trigger with spike suppression.",    "is_pin1": true,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -97,9 +78,9 @@    ],    "thermal": false,    "pin": "2",-   "name": "NC",-   "type": "unconnected",-   "description": "No Connect on the 8K variant (would be A1 on the 2K/4K versions). Not bonded to a die pad; may be tied to GND or left floating.",+   "name": "GND",+   "type": "power_in",+   "description": "Ground reference for the power supply. Connect to system ground.",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -127,9 +108,9 @@    ],    "thermal": false,    "pin": "3",-   "name": "NC",-   "type": "unconnected",-   "description": "No Connect on the 8K variant (would be A0 on the 2K/4K/8K device-address bits). Not bonded to a die pad; may be tied to GND or left floating.",+   "name": "SDA",+   "type": "bidirectional",+   "description": "Serial Data: open-drain bidirectional I2C data line used to serially transfer data to and from the device. Requires external pull-up (≤10 kΩ). May be wire-ORed with other open-drain devices on the same bus.",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -157,9 +138,9 @@    ],    "thermal": false,    "pin": "4",-   "name": "GND",+   "name": "VCC",    "type": "power_in",-   "description": "Ground reference for the power supply. Connect to system ground (0 V).",+   "description": "Device power supply, 1.7V to 5.5V. Absolute maximum 6.5V. Operations at invalid VCC produce spurious results.",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -187,9 +168,9 @@    ],    "thermal": false,    "pin": "5",-   "name": "SDA",-   "type": "bidirectional",-   "description": "Serial Data. Open-drain bidirectional I/O for the I2C-compatible 2-wire bus. Requires an external pull-up resistor to VCC (not to exceed 10 kΩ) and may be wire-ORed with other open-drain/open-collector devices on the same bus.",+   "name": "WP",+   "type": "input",+   "description": "Write Protect: tie to GND for normal write operation; tie to VCC to inhibit all write operations to the memory array (full-array protection). Internally pulled down to GND if left floating, but Zetta recommends a known state. Asserted high.",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",
page.json+18−31
@@ -15,7 +15,7 @@     "mpn": "ZD24C08A-STGMT",     "manufacturer": "Zetta",     "package": "SOT-23-5",-    "pin_count": 8,+    "pin_count": 5,     "category": "Memory",     "subcategory": "EEPROM",     "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2109141830_Zetta-ZD24C08A-STGMT_C2896640.pdf",@@ -32,51 +32,38 @@     "pins": [       {         "number": "1",-        "name": "NC",-        "type": "unconnected",-        "description": "No Connect. On the 8K variant the device address pins A0/A1/A2 are not used (the three low bits of the device-address byte serve as memory page-address bits P0/P1 internally). Pin is not bonded to a die pad and may be tied to GND or left floating."+        "name": "SCL",+        "type": "input",+        "description": "Serial Clock: I2C clock input from the bus Master. Data on SDA is latched on rising edge and output on falling edge. Must be pulled high externally or driven high when the bus is idle. Schmitt-trigger with spike suppression.",+        "group": "I2C"       },       {         "number": "2",-        "name": "NC",-        "type": "unconnected",-        "description": "No Connect on the 8K variant (would be A1 on the 2K/4K versions). Not bonded to a die pad; may be tied to GND or left floating."-      },-      {-        "number": "3",-        "name": "NC",-        "type": "unconnected",-        "description": "No Connect on the 8K variant (would be A0 on the 2K/4K/8K device-address bits). Not bonded to a die pad; may be tied to GND or left floating."-      },-      {-        "number": "4",         "name": "GND",         "type": "power_in",-        "description": "Ground reference for the power supply. Connect to system ground (0 V)."+        "description": "Ground reference for the power supply. Connect to system ground.",+        "group": "POWER"       },       {-        "number": "5",+        "number": "3",         "name": "SDA",         "type": "bidirectional",-        "description": "Serial Data. Open-drain bidirectional I/O for the I2C-compatible 2-wire bus. Requires an external pull-up resistor to VCC (not to exceed 10 k\u03a9) and may be wire-ORed with other open-drain/open-collector devices on the same bus."+        "description": "Serial Data: open-drain bidirectional I2C data line used to serially transfer data to and from the device. Requires external pull-up (\u226410 k\u03a9). May be wire-ORed with other open-drain devices on the same bus.",+        "group": "I2C"       },       {-        "number": "6",-        "name": "SCL",-        "type": "input",-        "description": "Serial Clock input. Provides the clock to the device; command/input data on SDA is latched on the rising edge and output data is clocked out on the falling edge. Must be held high when the bus is idle or pulled high via an external pull-up resistor."+        "number": "4",+        "name": "VCC",+        "type": "power_in",+        "description": "Device power supply, 1.7V to 5.5V. Absolute maximum 6.5V. Operations at invalid VCC produce spurious results.",+        "group": "POWER"       },       {-        "number": "7",+        "number": "5",         "name": "WP",         "type": "input",-        "description": "Write Protect (active high). Tying WP to GND enables normal read/write operations; tying WP to VCC inhibits all writes to the memory array (full-array protection). Internally pulled down to GND if left floating, though tying to a known state is recommended."-      },-      {-        "number": "8",-        "name": "VCC",-        "type": "power_in",-        "description": "Device power supply input. Provides source voltage to the EEPROM; operation at invalid VCC levels may produce spurious results."+        "description": "Write Protect: tie to GND for normal write operation; tie to VCC to inhibit all write operations to the memory array (full-array protection). Internally pulled down to GND if left floating, but Zetta recommends a known state. Asserted high.",+        "group": "CONTROL"       }     ],     "provenance": {
zd24c08a-stgmt.kicad_sym+13−25
@@ -1,45 +1,33 @@ (kicad_symbol_lib (version 20211014) (generator ds2sf_rect)   (symbol "ZD24C08A-STGMT" (in_bom yes) (on_board yes)     (property "Reference" "U" (at 0 7.62 0) (effects (font (size 1.27 1.27))))-    (property "Value" "ZD24C08A-STGMT" (at 0 -10.16 0) (effects (font (size 1.27 1.27))))+    (property "Value" "ZD24C08A-STGMT" (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 "ZD24C08A-STGMT_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 "ZD24C08A-STGMT_1_1"-    (pin no_connect line (at -17.78 2.54 0) (length 5.08)-      (name "NC" (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 "NC" (effects (font (size 1.27 1.27))))+    (pin power_in line (at -17.78 0.00 0) (length 5.08)+      (name "GND" (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 "NC" (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 "GND" (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))))+    )     )   ) )
zd24c08a-stgmt.lbr+41−23
@@ -50,15 +50,27 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>SOT-23-5 (symbol synthesized from footprint pads)</description>+<description></description> <packages>-<package name="SOT-23-5">-  <description>SOT-23-5</description>+<package name="ZD24C08A-STGMT">+  <description>ZD24C08A-STGMT</description>   <smd name="1" x="-1.1375" y="0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="2" x="-1.1375" y="-0.0000" dx="1.3250" dy="0.6000" layer="1"/>   <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"/>@@ -71,36 +83,42 @@ <!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.4500" y="1.5100"/><vertex x="-1.6900" y="1.8400"/><vertex x="-1.2100" y="1.8400"/></polygon></package> </packages> <symbols>-<symbol name="SOT-23-5">-  <wire x1="-7.62" y1="5.08" x2="7.62" y2="5.08" width="0.254" layer="94"/>-  <wire x1="7.62" y1="5.08" x2="7.62" y2="-5.08" width="0.254" layer="94"/>-  <wire x1="7.62" y1="-5.08" x2="-7.62" y2="-5.08" width="0.254" layer="94"/>-  <wire x1="-7.62" y1="-5.08" x2="-7.62" y2="5.08" width="0.254" layer="94"/>+<symbol name="ZD24C08A-STGMT">+  <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"/>+  <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="-7.62" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="1" x="-12.7" y="3.81" length="short" direction="pas"/>-  <pin name="2" x="-12.7" y="1.27" length="short" direction="pas"/>-  <pin name="3" x="-12.7" y="-1.27" length="short" direction="pas"/>-  <pin name="4" x="12.7" y="3.81" length="short" direction="pas" rot="R180"/>-  <pin name="5" x="12.7" y="1.27" length="short" direction="pas" rot="R180"/>+  <pin name="SCL" x="-17.78" y="2.54" length="middle" direction="in"/>+  <pin name="GND" 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>-<deviceset name="SOT-23-5" prefix="U">-  <description>SOT-23-5 (symbol synthesized from footprint pads)</description>+<deviceset name="ZD24C08A-STGMT" prefix="U">+  <description></description>   <gates>-    <gate name="G$1" symbol="SOT-23-5" x="0" y="0"/>+    <gate name="G$1" symbol="ZD24C08A-STGMT" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="SOT-23-5">+    <device name="" package="ZD24C08A-STGMT">       <connects>-        <connect gate="G$1" pin="1" pad="1"/>-        <connect gate="G$1" pin="2" pad="2"/>-        <connect gate="G$1" pin="3" pad="3"/>-        <connect gate="G$1" pin="4" pad="4"/>-        <connect gate="G$1" pin="5" pad="5"/>+        <connect gate="G$1" pin="SCL" pad="1"/>+        <connect gate="G$1" pin="GND" 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="ZD24C08A-STGMT" constant="no"/>+          <attribute name="MANUFACTURER" value="Zetta" constant="no"/>+          <attribute name="LCSC_PN" value="C2896640" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>