From fcae5b785e2c1347bf59f74897f979c767384f77 Mon Sep 17 00:00:00 2001 From: linuswck Date: Fri, 27 Oct 2023 17:42:46 +0800 Subject: [PATCH] sch: Correct SWD Header MF/PN and Update Footprint - Use Adafuit 4048 Mini SWD Headers - Silkscreen is modified to indicate orientation of the header --- .../Adafuit_SWD_Header_4048.kicad_mod | 128 ++++++++++++++++++ mcu.kicad_sch | 6 +- 2 files changed, 131 insertions(+), 3 deletions(-) create mode 100644 kirdy.pretty/Adafuit_SWD_Header_4048.kicad_mod diff --git a/kirdy.pretty/Adafuit_SWD_Header_4048.kicad_mod b/kirdy.pretty/Adafuit_SWD_Header_4048.kicad_mod new file mode 100644 index 0000000..a71c4ab --- /dev/null +++ b/kirdy.pretty/Adafuit_SWD_Header_4048.kicad_mod @@ -0,0 +1,128 @@ +(footprint "Adafuit_SWD_Header_4048" (version 20221018) (generator pcbnew) + (layer "F.Cu") + (attr smd) + (fp_text reference "REF**" (at -0.45 -1.96 unlocked) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.1))) + (tstamp 6a4ce60b-fb0d-4903-92c1-a8dce87a6ed9) + ) + (fp_text value "Adafuit_SWD_Header_4048" (at 0 1 unlocked) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp f60da21d-fba1-432d-9661-158293e345bf) + ) + (fp_text user "1" (at -3.9 0.8 unlocked) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.1)) (justify left bottom)) + (tstamp d24b18fc-a047-4cf2-8a30-1a2884071565) + ) + (fp_text user "${REFERENCE}" (at 1.95 2.54 90) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 3ae94d02-7dda-4400-b93e-5b4272fb63a5) + ) + (fp_text user "${REFERENCE}" (at 1.95 4.94 unlocked) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 7b038a99-bb02-419c-bfe8-1c85acd778e1) + ) + (fp_line (start -2.7 -0.7) (end -2.7 1.2) + (stroke (width 0.1) (type default)) (layer "F.SilkS") (tstamp ace27dd3-b75d-4518-aea2-18d7c713bd2f)) + (fp_line (start -2.7 -0.7) (end 5.6 -0.7) + (stroke (width 0.1) (type solid)) (layer "F.SilkS") (tstamp 4da196fc-1b3d-4043-b0c1-239cb2049315)) + (fp_line (start -2.7 1.2) (end -1.7 1.2) + (stroke (width 0.1) (type default)) (layer "F.SilkS") (tstamp 5e87f3ed-ad5a-4e21-8236-b9434d6601cc)) + (fp_line (start -2.7 3.8) (end -2.7 5.8) + (stroke (width 0.1) (type default)) (layer "F.SilkS") (tstamp baadae39-13a0-493a-9464-244cebeb1623)) + (fp_line (start -2.7 5.8) (end 5.6 5.8) + (stroke (width 0.1) (type default)) (layer "F.SilkS") (tstamp 023e4a1a-7862-48bc-81a8-8b241d2eb5ec)) + (fp_line (start -1.7 1.2) (end -1.7 3.8) + (stroke (width 0.1) (type default)) (layer "F.SilkS") (tstamp 85fc79f4-8924-4948-ae12-1e60bb82e09e)) + (fp_line (start -1.7 3.8) (end -2.7 3.8) + (stroke (width 0.1) (type default)) (layer "F.SilkS") (tstamp d99feeb8-3085-4bb6-82e5-3964857f270d)) + (fp_line (start 5.6 -0.7) (end 5.6 5.8) + (stroke (width 0.1) (type default)) (layer "F.SilkS") (tstamp 62979dd6-e810-4629-9fc2-5cb9f59a5494)) + (fp_line (start -2.35 -1.16) (end -2.35 6.24) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 1b4ad6e2-9452-45d0-b5ca-99f37225c5e9)) + (fp_line (start -2.35 6.24) (end 6.25 6.24) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 8c24c260-b69e-4e56-9aa4-0c9963cc6f79)) + (fp_line (start 6.25 -1.16) (end -2.35 -1.16) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 55987f95-7f4f-409d-8b62-3d1c1d08c251)) + (fp_line (start 6.25 6.24) (end 6.25 -1.16) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 91f68991-940f-4e0c-913a-0e9e9173ac40)) + (fp_line (start -0.8 -0.2) (end -0.8 0.2) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp cb0d3476-3913-4e1e-b936-afcb0008f7ce)) + (fp_line (start -0.8 0.2) (end 0.245 0.2) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp fa3b51cf-155c-488d-9924-057a43b5f34f)) + (fp_line (start -0.8 1.07) (end -0.8 1.47) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp e310bba7-c5fc-4fcc-ba8f-f386159b0cd8)) + (fp_line (start -0.8 1.47) (end 0.245 1.47) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp aa12244b-d1b7-4194-8cd3-306b9eb31541)) + (fp_line (start -0.8 2.34) (end -0.8 2.74) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp a9d10e0e-4b96-4f3a-988e-f2ef686c375f)) + (fp_line (start -0.8 2.74) (end 0.245 2.74) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp dec55011-25c0-4545-9fa9-a317484488fb)) + (fp_line (start -0.8 3.61) (end -0.8 4.01) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 59171c6f-b2bc-450d-a1a5-976dcca2081a)) + (fp_line (start -0.8 4.01) (end 0.245 4.01) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 282b787d-e617-4271-a044-710b60ac82ef)) + (fp_line (start -0.8 4.88) (end -0.8 5.28) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 91a26bd0-6f1f-4ce5-a4bb-eb0136788b50)) + (fp_line (start -0.8 5.28) (end 0.245 5.28) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp fa1e30b3-1166-4c5e-a12a-bf0514de5cf1)) + (fp_line (start 0.245 -0.2) (end -0.8 -0.2) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 27521861-6d0f-42a8-b24c-fd7e315b83b5)) + (fp_line (start 0.245 -0.2) (end 0.68 -0.635) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 93294c53-6855-48e7-b151-78e8387ee369)) + (fp_line (start 0.245 1.07) (end -0.8 1.07) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp f0577d0e-a8b6-42e9-9112-6f85ca53e3cd)) + (fp_line (start 0.245 2.34) (end -0.8 2.34) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 3418eafe-eb86-4157-a86e-c2411cf84d07)) + (fp_line (start 0.245 3.61) (end -0.8 3.61) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp f9a72082-7e7c-4f10-a4a9-7ac9460d0ac8)) + (fp_line (start 0.245 4.88) (end -0.8 4.88) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp cfa6392e-8d40-49e6-991f-8d9cf36b11b7)) + (fp_line (start 0.245 5.715) (end 0.245 -0.2) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 6efdb40b-449a-4815-92b9-8c57ca3350ac)) + (fp_line (start 0.68 -0.635) (end 3.655 -0.635) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp eeb4d857-70b6-4baa-a8da-6883c554001b)) + (fp_line (start 3.655 -0.635) (end 3.655 5.715) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 8975a12f-14e3-4b6a-91f5-653b172c03be)) + (fp_line (start 3.655 -0.2) (end 4.7 -0.2) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp d17d6937-6e1c-42d3-8beb-3b96c21295c0)) + (fp_line (start 3.655 1.07) (end 4.7 1.07) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 44f21cb3-1a5c-4e88-be8d-ec3f07c2073b)) + (fp_line (start 3.655 2.34) (end 4.7 2.34) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 7bcb116e-820b-4119-9da2-9699c25b6e68)) + (fp_line (start 3.655 3.61) (end 4.7 3.61) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp fb6827d0-bf47-4a8c-95df-dc686af8952c)) + (fp_line (start 3.655 4.88) (end 4.7 4.88) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 71d65eff-05b3-4c95-be50-819ee6b18e95)) + (fp_line (start 3.655 5.715) (end 0.245 5.715) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 09040095-9f42-46cf-b7e9-278a8bf4f996)) + (fp_line (start 4.7 -0.2) (end 4.7 0.2) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 25530248-b83f-4cfa-8e96-b363ee9a111e)) + (fp_line (start 4.7 0.2) (end 3.655 0.2) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 9f8a857f-1a85-4dc4-b224-7f8a0df80199)) + (fp_line (start 4.7 1.07) (end 4.7 1.47) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp ef759015-38bc-4f5c-a448-aeca61dd175e)) + (fp_line (start 4.7 1.47) (end 3.655 1.47) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 45d6db4e-ca93-4fb2-8c84-0687b702a3a1)) + (fp_line (start 4.7 2.34) (end 4.7 2.74) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp a05cf268-8c01-4df7-a799-0d74ef0a57ab)) + (fp_line (start 4.7 2.74) (end 3.655 2.74) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 52853ad7-e12c-4ab3-8ba1-c493e368e788)) + (fp_line (start 4.7 3.61) (end 4.7 4.01) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp be7523de-9032-48f0-87a9-ed20b2d777d7)) + (fp_line (start 4.7 4.01) (end 3.655 4.01) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 63cc68a5-2dc8-42dd-a9df-02831e1bbbab)) + (fp_line (start 4.7 4.88) (end 4.7 5.28) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 811ab963-92b6-43cb-9d67-2709fa51a7ae)) + (fp_line (start 4.7 5.28) (end 3.655 5.28) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 5ee5a045-765c-416a-a22f-29e68a29b613)) + (pad "1" smd rect (at 0 0) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 94177091-6765-4a27-8812-a139648bca1d)) + (pad "2" smd rect (at 3.9 0) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 304ee19f-0b77-4bfd-9295-76cf418d0838)) + (pad "3" smd rect (at 0 1.27) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 2f8eaa04-4086-4b19-9abb-3bf537b708f1)) + (pad "4" smd rect (at 3.9 1.27) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 779452f6-2a40-4aaa-bb5e-af9516bb7432)) + (pad "5" smd rect (at 0 2.54) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 66ea87cc-ce58-46dc-b17a-046e2838b1ad)) + (pad "6" smd rect (at 3.9 2.54) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp cb5dcd29-8c6a-433b-91d4-a8907bebced7)) + (pad "7" smd rect (at 0 3.81) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6c96119f-3183-43ec-b3e7-15d880af5133)) + (pad "8" smd rect (at 3.9 3.81) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 1f6ed3e7-f3cc-4476-b13a-90db322b5add)) + (pad "9" smd rect (at 0 5.08) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 4a8afe84-1b50-4e8d-9e60-3cf8de7d807d)) + (pad "10" smd rect (at 3.9 5.08) (size 2.4 0.74) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp b89d9417-6087-44cd-9d09-16851241fb5e)) +) diff --git a/mcu.kicad_sch b/mcu.kicad_sch index d09895c..f41ad1c 100644 --- a/mcu.kicad_sch +++ b/mcu.kicad_sch @@ -2204,13 +2204,13 @@ (property "Value" "Conn_02x05_Odd_Even" (at 318.77 82.55 0) (effects (font (size 1.27 1.27))) ) - (property "Footprint" "Connector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical_SMD" (at 317.5 91.44 0) + (property "Footprint" "kirdy:Adafuit_SWD_Header_4048" (at 317.5 91.44 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "~" (at 317.5 91.44 0) + (property "Datasheet" "https://www.mouser.hk/datasheet/2/737/Adafruit_4048_Web-3358014.pdf" (at 317.5 91.44 0) (effects (font (size 1.27 1.27)) hide) ) - (property "MFR_PN" "M50-3600542" (at 317.5 91.44 0) + (property "MFR_PN" "4048" (at 317.5 91.44 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 8e050dd7-51c3-4022-99d1-263f3d2804f7))