AOD4185 Drain Pad Mapping


Please fix this, based from this flag issue:
AOD4185 TO-252/DPAK footprint appears to map the large center/tab pad to schematic terminal S (5VRAW), while the datasheet package tab/center lead should be Drain (pin 2/tab; drain terminal in this symbol is D::3).
I’ll check the datasheet pinout against the footprint, correct the pad-to-terminal mapping, and verify the result.
Thought for 9 mins 27 sec
Thought for 12 sec
Awaiting 1 task
"AOD4185 Footprint Mapping Repair" completed.
Fixed and verified: the large tab pad now connects to Drain (D::3), the small right pad connects to Source, and Gate is unchanged; terminal IDs and copper geometry were preserved. The corrected part still needs publishing and updating in consuming designs before manufacturing. I also filed an internal part-quality ticket for Flux team review.

Footprint Mapping Repair
Scope and status
Source project: /adrian95/aod4185. Repair performed 2026-10-08.
  • Completed: inspected source footprint and symbol terminal identity; confirmed reported S/D reversal.
  • Completed: corrected effective footprint using the authorized minimal geometry swap of existing S and D pads; no pads or terminals deleted/recreated.
  • Completed: read back effective pad geometry and unchanged schematic interface IDs.
  • Attempted, validation unavailable: fresh project checks returned no individual check results; this is not a clean DRC/ERC pass.
  • Unattempted/outside this batch: publication, consuming-project updates, manufacturing export verification, and internal feedback.
Authoritative evidence
AOS AOD4185/AOI4185 datasheet, page 1 TO252 DPAK package diagram identifies the large top tab as Drain (D) and the two projecting leads as Gate (G) and Source (S).
Official manufacturer document used: https://www.aosmd.com/res/datasheets/AOD4185.pdf . A direct web read of this document additionally reported top-view order, tab above/leads below: left G, right S, large upper tab D. Spatial order was corroborated by that web read; the immutable datasheet parser did not independently validate left/right order. Explicit numerical physical pin labels were not confirmed by the inspected datasheet diagram, which labels functions rather than numbers. No schematic interface IDs were renumbered to inferred physical pin numbers.
Before/after mapping
Coordinates and dimensions below are millimeters, X right and Y up. All pads remain rectangular, on Top, with zero rotation. Pad UID equals the source schematic Terminal element UID in this part project. This source identity is preserved; it must not be confused with the generic Terminal primitive's nested pin UID.

Table


Function/interface retainedPad UID and source Terminal element UID (unchanged)Before center X,YBefore size X,YAfter center X,YAfter size X,Y
G::11c445b3e-23d7-9563-9461-c9a427070b2f-2.2606, -4.92761.6002, 2.9972-2.2606, -4.92761.6002, 2.9972
S::41f2d2cb1-9ad7-5ea4-c8a6-12e22d5296d10, 1.85285.4516, 72.2098, -4.92761.6002, 2.9972
D::365010c92-43e6-8286-ec71-e4f342ad379d2.2098, -4.92761.6002, 2.99720, 1.85285.4516, 7
Read-only schematic metadata exposes the same nested primitive pin UID 111bf4e4-02dd-41bb-a137-c0a32607d321 with name undefined beneath each generic Terminal element; that is not a unique exported device-interface identifier. The uniquely identified source Terminal elements above, their designators and Pin Number properties were unchanged.
Exact mutations
The available layout-node tool supports pad creation/deletion, not in-place terminal rebinding. The rule tool has no terminal association rule. Therefore the explicitly authorized fallback was used: add four source-node rules, swapping S and D geometry without changing copper union, terminal names, numbers or UIDs.
  • On S pad 1f2d2cb1-9ad7-5ea4-c8a6-12e22d5296d1: position = 2.2098mm -4.9276mm; size = 1.6002mm 2.9972mm.
  • On D pad 65010c92-43e6-8286-ec71-e4f342ad379d: position = 0mm 1.8528mm; size = 5.4516mm 7mm.
G received no edits. Model node 43766dbb-b983-6973-eca9-f5f0e10c3708, model asset, position and rotation remained unchanged. Footprint node fa0f4dd1-df39-3424-1771-39b1944e224b, its original FOOTPRINT_V5 asset, silk/fab geometry and pre-existing VALUE rule remained unchanged. The base imported footprint payload still has its original pad numbering and fab text 4; effective source pad rules now correct the electrical geometry. Removing these rules or separately reusing the unmodified raw asset would reintroduce the defect.
Verification evidence and limitations
Fresh get_layout(scene_tree) readback shows D at center (0, 1.8528), size 5.4516 x 7; S at (2.2098, -4.9276), size 1.6002 x 2.9972; G unchanged. Thus large upper tab maps to Drain D::3 and small lower-right land maps to Source S::4. Total copper footprint locations and sizes are identical to before; only electrical identity occupying the two shapes changes.
Fresh get_schematic(metadata) confirms identical Terminal element UIDs, designators, Pin Number values (G=1, S=4, D=3), Symbol Pin Position values and schematic placements. There are no nets or wires in this source part project.
Fresh checks requested: airwires, invalid pads, overlapping copper, invalid layer, part terminal and terminal pin number. Review timestamp: 2026-10-08T17:01:37.758Z. Response contained only empty Review categories and the timestamp, no per-check outcomes. Mutation checks explicitly returned NOT CHECKED/no validator result. Automated DRC/ERC status is therefore unavailable, not proven clean. Readback proves the scoped effective mapping repair; it does not prove publication or propagation into existing consuming designs. No consuming circuit was modified or tested.
  • Scope and status

  • Authoritative evidence

  • Before/after mapping

  • Exact mutations

  • Verification evidence and limitations