summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-12-18 21:25:49 +0100
committerxengineering <me@xengineering.eu>2024-12-18 21:25:49 +0100
commit252c8d7cefbc8333ee042cde12b6b72c67423adc (patch)
treed0aac7d6aa6bd14d6fc6c38a07c38998118ad44f
parent71e3d5b2880aaf91b5d56fe287620e1bf5c98387 (diff)
downloadsoundbox-252c8d7cefbc8333ee042cde12b6b72c67423adc.tar
soundbox-252c8d7cefbc8333ee042cde12b6b72c67423adc.tar.zst
soundbox-252c8d7cefbc8333ee042cde12b6b72c67423adc.zip
pcb: Add 10-pin Cortex debug connector
This should allow to debug the microcontroller via JTAG without using too much space (20-pin connector hopefully not required).
-rw-r--r--pcb/soundbox.kicad_sch448
1 files changed, 448 insertions, 0 deletions
diff --git a/pcb/soundbox.kicad_sch b/pcb/soundbox.kicad_sch
index 7f0561c..029a8ff 100644
--- a/pcb/soundbox.kicad_sch
+++ b/pcb/soundbox.kicad_sch
@@ -8,6 +8,360 @@
(title "soundbox")
)
(lib_symbols
+ (symbol "Connector:Conn_ARM_JTAG_SWD_10"
+ (pin_names
+ (offset 1.016)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "J"
+ (at -2.54 16.51 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Value" "Conn_ARM_JTAG_SWD_10"
+ (at -2.54 13.97 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right bottom)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://infocenter.arm.com/help/topic/com.arm.doc.ddi0314h/DDI0314H_coresight_components_trm.pdf"
+ (at -8.89 -31.75 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Cortex Debug Connector, standard ARM Cortex-M SWD and JTAG interface"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "Cortex Debug Connector ARM SWD JTAG"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "PinHeader?2x05?P1.27mm*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "Conn_ARM_JTAG_SWD_10_0_1"
+ (rectangle
+ (start -10.16 12.7)
+ (end 10.16 -12.7)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ (rectangle
+ (start -2.794 -12.7)
+ (end -2.286 -11.684)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start -0.254 -12.7)
+ (end 0.254 -11.684)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start -0.254 12.7)
+ (end 0.254 11.684)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start 9.144 2.286)
+ (end 10.16 2.794)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start 10.16 -2.794)
+ (end 9.144 -2.286)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start 10.16 -0.254)
+ (end 9.144 0.254)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start 10.16 7.874)
+ (end 9.144 7.366)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "Conn_ARM_JTAG_SWD_10_1_1"
+ (rectangle
+ (start 9.144 -5.334)
+ (end 10.16 -4.826)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (pin power_in line
+ (at 0 15.24 270)
+ (length 2.54)
+ (name "VTref"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin open_collector line
+ (at 12.7 7.62 180)
+ (length 2.54)
+ (name "~{RESET}"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "10"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin bidirectional line
+ (at 12.7 0 180)
+ (length 2.54)
+ (name "SWDIO/TMS"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at 0 -15.24 90)
+ (length 2.54)
+ (name "GND"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 12.7 2.54 180)
+ (length 2.54)
+ (name "SWCLK/TCK"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -15.24 90)
+ (length 2.54) hide
+ (name "GND"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at 12.7 -2.54 180)
+ (length 2.54)
+ (name "SWO/TDO"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "6"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin no_connect line
+ (at -10.16 0 0)
+ (length 2.54) hide
+ (name "KEY"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "7"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 12.7 -5.08 180)
+ (length 2.54)
+ (name "NC/TDI"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "8"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at -2.54 -15.24 90)
+ (length 2.54)
+ (name "GNDDetect"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "9"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ )
(symbol "RF_Module:ESP32-S3-MINI-1"
(exclude_from_sim no)
(in_bom yes)
@@ -1519,6 +1873,100 @@
)
)
)
+ (symbol
+ (lib_id "Connector:Conn_ARM_JTAG_SWD_10")
+ (at 80.01 99.06 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "2cb1f2f5-c3a3-4e8f-bc83-f4591990e265")
+ (property "Reference" "J1"
+ (at 68.58 97.7899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Value" "Conn_ARM_JTAG_SWD_10"
+ (at 68.58 100.3299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Footprint" ""
+ (at 80.01 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://infocenter.arm.com/help/topic/com.arm.doc.ddi0314h/DDI0314H_coresight_components_trm.pdf"
+ (at 71.12 130.81 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Cortex Debug Connector, standard ARM Cortex-M SWD and JTAG interface"
+ (at 80.01 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "8"
+ (uuid "0d37e884-d6c6-4a18-9f39-0b5f18b3ab85")
+ )
+ (pin "5"
+ (uuid "6e254504-1904-4805-8146-433c2607886e")
+ )
+ (pin "3"
+ (uuid "0ef74602-f412-4b2d-840d-ced961bb318d")
+ )
+ (pin "2"
+ (uuid "505cc97b-5b7d-4574-bbad-94d00bee7f5c")
+ )
+ (pin "1"
+ (uuid "3811747d-ed84-4018-bcc5-2a0b8ca10aff")
+ )
+ (pin "6"
+ (uuid "d96cf3dc-cf35-418f-ace9-b04f59c53196")
+ )
+ (pin "10"
+ (uuid "fdecbce6-1283-4f14-a655-fdc98a6e03cb")
+ )
+ (pin "4"
+ (uuid "215f4b73-4834-4f44-a8ca-45a4db8a46be")
+ )
+ (pin "7"
+ (uuid "86b77ee8-04e6-4185-9115-09cde946fff6")
+ )
+ (pin "9"
+ (uuid "f7cbef8b-738d-40cd-bfe6-b9c4c8df5671")
+ )
+ (instances
+ (project ""
+ (path "/455ca4d6-9dda-4003-9db8-aa66aec94f73"
+ (reference "J1")
+ (unit 1)
+ )
+ )
+ )
+ )
(sheet_instances
(path "/"
(page "1")