浏览代码

Some more changes

Per Mårtensson 2 年之前
父节点
当前提交
7ae6403812
共有 3 个文件被更改,包括 245 次插入30 次删除
  1. 75 18
      hw/BlackSASI-50-pin/BlackSASI.kicad_pcb
  2. 167 9
      hw/BlackSASI-50-pin/BlackSASI.kicad_sch
  3. 3 3
      sw/src/main.cpp

+ 75 - 18
hw/BlackSASI-50-pin/BlackSASI.kicad_pcb

@@ -130,7 +130,7 @@
   (net 36 "unconnected-(U1-Pad18)")
   (net 37 "unconnected-(U1-Pad21)")
   (net 38 "unconnected-(U1-Pad24)")
-  (net 39 "unconnected-(U1-Pad25)")
+  (net 39 "unconnected-(J6-Pad2)")
   (net 40 "Net-(R3-Pad2)")
   (net 41 "Net-(C29-Pad1)")
   (net 42 "/LOW_TERM_1")
@@ -194,8 +194,8 @@
   (net 100 "USB_POWER")
   (net 101 "/LOW TERM_2")
   (net 102 "/HIGH_TERM_1")
-  (net 103 "unconnected-(U1-Pad26)")
-  (net 104 "unconnected-(U1-Pad32)")
+  (net 103 "unconnected-(J6-Pad3)")
+  (net 104 "unconnected-(J7-Pad1)")
   (net 105 "unconnected-(U1-Pad67)")
   (net 106 "unconnected-(U1-Pad68)")
   (net 107 "unconnected-(U1-Pad69)")
@@ -235,6 +235,9 @@
   (net 141 "Net-(J3-Pad1)")
   (net 142 "Net-(H1-Pad1)")
   (net 143 "/~{TRANS_OE}")
+  (net 144 "/UART_RX")
+  (net 145 "/UART_TX")
+  (net 146 "unconnected-(U10-Pad2)")
 
   (footprint "Connector_IDC:IDC-Header_2x25_P2.54mm_Vertical" (layer "F.Cu")
     (tedit 5EAC9A07) (tstamp 00000000-0000-0000-0000-00005f0293c4)
@@ -2411,7 +2414,7 @@
     (pad "" np_thru_hole circle locked (at -2.54 0 180) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask) (tstamp 774d90d8-4627-4d4b-a177-d24dbe6e8f1f))
     (pad "" np_thru_hole circle locked (at 0.635 2.54 180) (size 2.3749 2.3749) (drill 2.3749) (layers *.Cu *.Mask) (tstamp a2db605d-74c1-4693-acbe-2b197b4384cb))
     (pad "1" connect circle locked (at -1.27 0.635 180) (size 0.7874 0.7874) (layers "F.Cu" "F.Mask")
-      (net 4 "+3V3") (pinfunction "Pin_1") (pintype "passive") (tstamp f8c47f97-2ba4-4cff-be5e-531941c6d2a7))
+      (net 104 "unconnected-(J7-Pad1)") (pinfunction "Pin_1") (pintype "passive") (tstamp f8c47f97-2ba4-4cff-be5e-531941c6d2a7))
     (pad "2" connect circle locked (at -1.27 -0.635 180) (size 0.7874 0.7874) (layers "F.Cu" "F.Mask")
       (net 108 "/SWDIO") (pinfunction "Pin_2") (pintype "passive") (tstamp f3d400a9-0d54-4429-8d52-5ec440006a68))
     (pad "3" connect circle locked (at 0 0.635 180) (size 0.7874 0.7874) (layers "F.Cu" "F.Mask")
@@ -2467,6 +2470,57 @@
     )
   )
 
+  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" (layer "F.Cu")
+    (tedit 59FED5CC) (tstamp 717e728d-e10d-4284-afc2-e0c717353820)
+    (at 139.3444 137.16 90)
+    (descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
+    (tags "Through hole pin header THT 1x04 2.54mm single row")
+    (property "Sheetfile" "BlackSASI.kicad_sch")
+    (property "Sheetname" "")
+    (path "/89162790-3651-42a8-bce0-99e7e611c56b")
+    (attr through_hole)
+    (fp_text reference "J8" (at 0 -2.33 90) (layer "F.SilkS")
+      (effects (font (size 1 1) (thickness 0.15)))
+      (tstamp 25c5b1e1-d098-4e04-9861-4d4506e24c7a)
+    )
+    (fp_text value "Conn_01x04_Male" (at 0 9.95 90) (layer "F.Fab")
+      (effects (font (size 1 1) (thickness 0.15)))
+      (tstamp b06f104a-569e-4d12-b5ef-4ca58f944548)
+    )
+    (fp_text user "${REFERENCE}" (at 0 3.81) (layer "F.Fab")
+      (effects (font (size 1 1) (thickness 0.15)))
+      (tstamp bc15697d-87c4-4e3e-b992-4e8a539da5ad)
+    )
+    (fp_line (start -1.33 -1.33) (end 0 -1.33) (layer "F.SilkS") (width 0.12) (tstamp 0b180c38-ba5e-4698-989a-dee095b5b0f7))
+    (fp_line (start -1.33 1.27) (end 1.33 1.27) (layer "F.SilkS") (width 0.12) (tstamp 3dea4656-a5c4-44fc-afe6-3f3986631afe))
+    (fp_line (start -1.33 1.27) (end -1.33 8.95) (layer "F.SilkS") (width 0.12) (tstamp 4ef9ac39-e10b-45b7-9d99-b6bbac214dfd))
+    (fp_line (start -1.33 0) (end -1.33 -1.33) (layer "F.SilkS") (width 0.12) (tstamp 8a7f45c1-13a0-4bff-a771-e9cb6cc7a03b))
+    (fp_line (start -1.33 8.95) (end 1.33 8.95) (layer "F.SilkS") (width 0.12) (tstamp a1728df6-facb-4e16-be90-d6d1e8020783))
+    (fp_line (start 1.33 1.27) (end 1.33 8.95) (layer "F.SilkS") (width 0.12) (tstamp eec3d22c-eb06-4e45-b7c5-66ec0f44e48a))
+    (fp_line (start 1.8 9.4) (end 1.8 -1.8) (layer "F.CrtYd") (width 0.05) (tstamp 10216f00-1617-490d-96dd-9c7ac1fadbe1))
+    (fp_line (start -1.8 9.4) (end 1.8 9.4) (layer "F.CrtYd") (width 0.05) (tstamp 3ef43263-bb15-4c8a-9977-70c3e1b233f6))
+    (fp_line (start -1.8 -1.8) (end -1.8 9.4) (layer "F.CrtYd") (width 0.05) (tstamp af0b929f-5dde-42f9-843a-729b5cd12cd5))
+    (fp_line (start 1.8 -1.8) (end -1.8 -1.8) (layer "F.CrtYd") (width 0.05) (tstamp ccaa96fe-871f-4ab1-ba83-30e49be46d16))
+    (fp_line (start -0.635 -1.27) (end 1.27 -1.27) (layer "F.Fab") (width 0.1) (tstamp 1ca411fb-ce9d-49b4-b274-4945df08a724))
+    (fp_line (start -1.27 8.89) (end -1.27 -0.635) (layer "F.Fab") (width 0.1) (tstamp 2de2eef0-0ec3-41fd-bb23-31a9fdb515fe))
+    (fp_line (start 1.27 -1.27) (end 1.27 8.89) (layer "F.Fab") (width 0.1) (tstamp 34f2a630-0948-4c98-817f-c76950676ecc))
+    (fp_line (start 1.27 8.89) (end -1.27 8.89) (layer "F.Fab") (width 0.1) (tstamp 3e773ffb-7628-4653-8097-a34ffd73bdaa))
+    (fp_line (start -1.27 -0.635) (end -0.635 -1.27) (layer "F.Fab") (width 0.1) (tstamp e0c5b4f2-a569-4fd5-8ec0-1b1c14d851c4))
+    (pad "1" thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
+      (net 4 "+3V3") (pinfunction "Pin_1") (pintype "passive") (tstamp 2de8c8fb-411f-437b-8833-177267802743))
+    (pad "2" thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
+      (net 144 "/UART_RX") (pinfunction "Pin_2") (pintype "passive") (tstamp ab032b33-d9df-436b-9f46-40371f19cf24))
+    (pad "3" thru_hole oval (at 0 5.08 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
+      (net 145 "/UART_TX") (pinfunction "Pin_3") (pintype "passive") (tstamp 0933cdb0-ad9c-41f7-9da7-3896d0e406e6))
+    (pad "4" thru_hole oval (at 0 7.62 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
+      (net 2 "GND") (pinfunction "Pin_4") (pintype "passive") (tstamp 6d63ed93-1551-432c-9e8a-ec886a5c1c0c))
+    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Vertical.wrl"
+      (offset (xyz 0 0 0))
+      (scale (xyz 1 1 1))
+      (rotate (xyz 0 0 0))
+    )
+  )
+
   (footprint "Capacitor_SMD:C_0402_1005Metric" (layer "F.Cu")
     (tedit 5F68FEEE) (tstamp 71fa07be-cb1a-4014-a390-5edfdb3dbe89)
     (at 134.566999 112.058824 180)
@@ -3483,9 +3537,9 @@
     (pad "1" thru_hole rect (at 0 0 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
       (net 4 "+3V3") (pinfunction "Pin_1") (pintype "passive") (tstamp c7f7e36e-034d-43eb-bdcf-54308a7cd3b7))
     (pad "2" thru_hole oval (at 0 2.54 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
-      (net 108 "/SWDIO") (pinfunction "Pin_2") (pintype "passive") (tstamp f6fbd441-4402-43d9-a99f-cab33a2101c6))
+      (net 39 "unconnected-(J6-Pad2)") (pinfunction "Pin_2") (pintype "passive") (tstamp f6fbd441-4402-43d9-a99f-cab33a2101c6))
     (pad "3" thru_hole oval (at 0 5.08 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
-      (net 109 "/SWCLK") (pinfunction "Pin_3") (pintype "passive") (tstamp a06f87bb-7244-494b-9058-1d8743670f39))
+      (net 103 "unconnected-(J6-Pad3)") (pinfunction "Pin_3") (pintype "passive") (tstamp a06f87bb-7244-494b-9058-1d8743670f39))
     (pad "4" thru_hole oval (at 0 7.62 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
       (net 2 "GND") (pinfunction "Pin_4") (pintype "passive") (tstamp a50be87c-2144-4113-bad9-e7664143f3e7))
     (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Vertical.wrl"
@@ -3590,7 +3644,7 @@
     (property "MOUSER" "595-SN74AHCT125PWR")
     (property "Sheetfile" "BlackSASI.kicad_sch")
     (property "Sheetname" "")
-    (path "/ebd14bd4-9ebb-48d1-90e7-8e6b2abc8bd2")
+    (path "/5d1328f8-1662-4ae1-9dfc-fc33e8c2c0a7")
     (attr smd)
     (fp_text reference "U10" (at -5.0966 -1.621) (layer "F.SilkS")
       (effects (font (size 0.8 0.8) (thickness 0.15)))
@@ -3620,7 +3674,7 @@
     (pad "1" smd roundrect locked (at -2.8625 -1.95) (size 1.475 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 111 "/HIGH_TERM") (pintype "input") (tstamp a6799b20-53e9-4f1d-9e7a-4c733d8c3e56))
     (pad "2" smd roundrect locked (at -2.8625 -1.3) (size 1.475 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 4 "+3V3") (pintype "input") (tstamp cc47c8e4-c9dc-4227-a807-81c44850f143))
+      (net 146 "unconnected-(U10-Pad2)") (pintype "input") (tstamp cc47c8e4-c9dc-4227-a807-81c44850f143))
     (pad "3" smd roundrect locked (at -2.8625 -0.65) (size 1.475 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 102 "/HIGH_TERM_1") (pintype "tri_state") (tstamp c5a74ea8-3ff7-4502-bf4e-e1cc2a42e136))
     (pad "4" smd roundrect locked (at -2.8625 0) (size 1.475 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
@@ -4648,9 +4702,9 @@
     (pad "24" smd roundrect locked (at -7.675 5.5) (size 1.6 0.3) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 38 "unconnected-(U1-Pad24)") (pinfunction "PA1") (pintype "bidirectional+no_connect") (tstamp e50054c1-942f-418a-bfd7-d248cd0d4c57))
     (pad "25" smd roundrect locked (at -7.675 6) (size 1.6 0.3) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 39 "unconnected-(U1-Pad25)") (pinfunction "PA2") (pintype "bidirectional+no_connect") (tstamp e2bdcc34-a8c3-4e8f-a2ac-f5a61abfc6ba))
+      (net 145 "/UART_TX") (pinfunction "PA2") (pintype "bidirectional") (tstamp e2bdcc34-a8c3-4e8f-a2ac-f5a61abfc6ba))
     (pad "26" smd roundrect locked (at -6 7.675) (size 0.3 1.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 103 "unconnected-(U1-Pad26)") (pinfunction "PA3") (pintype "bidirectional+no_connect") (tstamp bc4499ed-d675-4463-a987-f8cd58a9102c))
+      (net 144 "/UART_RX") (pinfunction "PA3") (pintype "bidirectional") (tstamp bc4499ed-d675-4463-a987-f8cd58a9102c))
     (pad "27" smd roundrect locked (at -5.5 7.675) (size 0.3 1.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 2 "GND") (pinfunction "VSS") (pintype "power_in") (tstamp 922db659-b88c-4732-a911-2b45c05f13fc))
     (pad "28" smd roundrect locked (at -5 7.675) (size 0.3 1.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
@@ -4662,7 +4716,7 @@
     (pad "31" smd roundrect locked (at -3.5 7.675) (size 0.3 1.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 122 "/LED3") (pinfunction "PA6") (pintype "bidirectional") (tstamp 110e359e-5f88-4430-8754-51124b3f8591))
     (pad "32" smd roundrect locked (at -3 7.675) (size 0.3 1.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 104 "unconnected-(U1-Pad32)") (pinfunction "PA7") (pintype "bidirectional+no_connect") (tstamp f6dd3a30-118f-450f-a0e1-e755e60c59b2))
+      (net 4 "+3V3") (pinfunction "PA7") (pintype "bidirectional") (tstamp f6dd3a30-118f-450f-a0e1-e755e60c59b2))
     (pad "33" smd roundrect locked (at -2.5 7.675) (size 0.3 1.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 123 "/SW1") (pinfunction "PC4") (pintype "bidirectional") (tstamp ffb2a04f-519f-4d64-837d-926b42c94e96))
     (pad "34" smd roundrect locked (at -2 7.675) (size 0.3 1.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
@@ -5311,8 +5365,6 @@
   (segment (start 131.849999 100.324824) (end 132.67965 100.324824) (width 0.25) (layer "F.Cu") (net 4) (tstamp 3cc8cdcf-5bc5-49b7-b4a4-ebe40c548f11))
   (segment (start 129.184999 103.414824) (end 129.669982 103.899807) (width 0.25) (layer "F.Cu") (net 4) (tstamp 40278ed3-ed19-4f18-b35d-a973d6ad3b44))
   (segment (start 149.888 95.8088) (end 149.888 95.024) (width 0.25) (layer "F.Cu") (net 4) (tstamp 424d5990-a198-4014-8ddf-7d57345f4e1a))
-  (segment (start 128.754422 127.375003) (end 128.763715 127.384296) (width 0.25) (layer "F.Cu") (net 4) (tstamp 4c80f178-4d88-4c02-ba22-0fa00bd2ec36))
-  (segment (start 125.13982 127.375003) (end 128.754422 127.375003) (width 0.25) (layer "F.Cu") (net 4) (tstamp 4ebeb786-d6d1-4012-b4e2-90853367d032))
   (segment (start 133.524999 92.820173) (end 134.635586 91.709586) (width 0.25) (layer "F.Cu") (net 4) (tstamp 4fbd71dc-8057-4f05-9b40-568256dd97e1))
   (segment (start 121.304999 112.944824) (end 121.334999 112.944824) (width 0.25) (layer "F.Cu") (net 4) (tstamp 523e0017-d120-4e61-af92-33d7989e5bb9))
   (segment (start 120.396 102.296) (end 120.396 102.997) (width 0.7) (layer "F.Cu") (net 4) (tstamp 53ced9e1-7d32-439a-b71e-72c66d7cc5c4))
@@ -5342,12 +5394,11 @@
   (segment (start 135.016586 91.709586) (end 135.128 91.821) (width 0.25) (layer "F.Cu") (net 4) (tstamp 9d558c1c-6f32-4c89-983c-34e5eb5d5fdb))
   (segment (start 129.669982 103.899807) (end 130.095999 103.899807) (width 0.25) (layer "F.Cu") (net 4) (tstamp 9dfb90fe-a8f4-4152-b6dc-01e31968d0c4))
   (segment (start 135.046999 111.475799) (end 134.4168 110.8456) (width 0.25) (layer "F.Cu") (net 4) (tstamp a062bb87-ac8b-4416-8ea9-b9925ae598e0))
+  (segment (start 136.524999 107.467399) (end 136.4996 107.442) (width 0.25) (layer "F.Cu") (net 4) (tstamp a736a3fc-55b0-43d3-b5dd-596413780f33))
   (segment (start 135.780583 90.564589) (end 135.975411 90.564589) (width 0.25) (layer "F.Cu") (net 4) (tstamp aba4964c-9064-4fb9-b106-4dfe778d138a))
   (segment (start 153.619999 135.709824) (end 153.734999 135.594824) (width 0.25) (layer "F.Cu") (net 4) (tstamp abf59dab-4815-4010-8340-9ac019d8f618))
   (segment (start 131.9529 111.0743) (end 130.6576 112.3696) (width 0.25) (layer "F.Cu") (net 4) (tstamp ae85c702-408f-4352-b89b-0d70e44f691a))
   (segment (start 151.999999 122.109824) (end 150.4987 122.109824) (width 0.25) (layer "F.Cu") (net 4) (tstamp afd634c2-abe9-45ae-a1af-fafc98d7eb78))
-  (segment (start 124.146 88.205) (end 123.825 87.884) (width 0.25) (layer "F.Cu") (net 4) (tstamp b0f21098-5c39-4955-be3a-c784900c22fb))
-  (segment (start 124.904999 127.609824) (end 125.13982 127.375003) (width 0.25) (layer "F.Cu") (net 4) (tstamp b4d576b2-fb6d-45a2-84d6-af2030a1b0da))
   (segment (start 121.494176 103.930824) (end 123.5085 103.930824) (width 0.7) (layer "F.Cu") (net 4) (tstamp b53e2997-de5c-4db7-b6cc-7fcf0cce47a6))
   (segment (start 123.7475 90.155) (end 123.698 90.1055) (width 0.25) (layer "F.Cu") (net 4) (tstamp b6ad5a50-9e18-40e1-944d-f980532476cb))
   (segment (start 134.635586 91.709586) (end 135.016586 91.709586) (width 0.25) (layer "F.Cu") (net 4) (tstamp b78bdce9-7253-4f18-9ca4-6af776cc7b76))
@@ -5357,9 +5408,9 @@
   (segment (start 150.335292 122.219127) (end 150.389397 122.219127) (width 0.25) (layer "F.Cu") (net 4) (tstamp d4114276-4a4f-447f-9a19-af79fbf14afc))
   (segment (start 161.584999 65.774824) (end 161.404999 65.594824) (width 0.25) (layer "F.Cu") (net 4) (tstamp d5a1ba93-a90e-4363-ac35-0022f6bb7783))
   (segment (start 123.684999 111.544824) (end 122.415226 111.544824) (width 0.7) (layer "F.Cu") (net 4) (tstamp d77832d2-44df-41cd-8383-04472c47bdbf))
-  (segment (start 125.3225 88.205) (end 124.146 88.205) (width 0.25) (layer "F.Cu") (net 4) (tstamp d7eaeabe-0a0b-413d-a58f-bc7b709fc8ea))
   (segment (start 151.964999 135.744824) (end 151.999999 135.709824) (width 0.25) (layer "F.Cu") (net 4) (tstamp da594384-fd6a-4f29-8ae9-147fce2bef9c))
   (segment (start 150.310989 122.194824) (end 150.335292 122.219127) (width 0.25) (layer "F.Cu") (net 4) (tstamp dd2cd734-2e1d-4899-ac41-4c86b0487fe4))
+  (segment (start 136.524999 108.999824) (end 136.524999 107.467399) (width 0.25) (layer "F.Cu") (net 4) (tstamp def161df-3ce4-4fc1-b6b8-6126fc5c78ac))
   (segment (start 131.0475 90.805) (end 132.235 90.805) (width 0.25) (layer "F.Cu") (net 4) (tstamp dfa6f993-3335-47bc-bc63-47465cd7f108))
   (segment (start 132.67965 100.324824) (end 132.949519 100.054955) (width 0.25) (layer "F.Cu") (net 4) (tstamp e39353d8-963f-4026-8338-08867d5b88c8))
   (segment (start 132.949519 98.094693) (end 132.67965 97.824824) (width 0.25) (layer "F.Cu") (net 4) (tstamp e90a4b94-2c39-4319-8b1c-ac18980f6cb4))
@@ -5377,7 +5428,6 @@
   (via (at 124.984999 111.444824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp 2b45ac1e-66d3-4cb9-86ff-c5f23cbb61e4))
   (via (at 134.584999 128.294824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp 2e7d52e7-c2ec-4f15-9bac-52065f8dce9e))
   (via (at 125.676999 109.264824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp 2fce63a4-c3ea-48cb-864b-64695d60e5e6))
-  (via (at 123.825 87.884) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp 3b3aa4d5-62b2-4569-8842-389c1fa9ebae))
   (via (at 125.676999 110.534824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp 3ef9306e-3515-4f97-8aa3-9dd9749f3219))
   (via (at 130.048 100.200813) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp 4135652e-7b8c-4b8b-8a6a-84d48fd69e2c))
   (via (at 121.412 104.013) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp 45d08c98-d789-4673-9330-a227041259c9))
@@ -5386,7 +5436,6 @@
   (via (at 120.015 106.553) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp 59260f84-12b9-4a54-9eef-8a8e362e944b))
   (via (at 149.7076 94.8436) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp 5d2524ab-3503-4bc6-a3a6-f1669a8bf121))
   (via (at 146.434999 109.044824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp 5edf0431-c384-4cc9-b783-d17fa83adb13))
-  (via (at 128.763715 127.384296) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp 5f94f979-a627-4a8e-8872-22852a1ce1da))
   (via (at 124.152999 107.740824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp 6194ed95-d398-4297-8ae7-196ab10bcbb1))
   (via (at 124.914999 103.930824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp 8aa1c50b-1e5e-4807-b550-1242313b61d9))
   (via (at 130.095999 103.899807) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp 8daa24e2-7b2c-47f7-a5d1-3221cdec7a7c))
@@ -5407,6 +5456,7 @@
   (via (at 124.914999 105.200824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp e1e9a0b0-9e0d-4885-b167-f84ce481b92b))
   (via (at 124.152999 109.264824) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 4) (tstamp e5384cd0-5d19-41e8-a794-5519e2281a82))
   (via (at 123.698 90.1055) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp e802ea1c-3c84-4912-8eaa-2e4a35db335f))
+  (via (at 136.4996 107.442) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 4) (tstamp ee85443c-fdcd-49d3-be20-47e484cb59a1))
   (segment (start 135.709334 78.755) (end 135.8001 78.664234) (width 0.25) (layer "F.Cu") (net 5) (tstamp 231d1d60-0fa3-4b14-b623-163de91d87e5))
   (segment (start 138.024999 92.619475) (end 138.943192 91.701282) (width 0.25) (layer "F.Cu") (net 5) (tstamp 8d49ac34-44b9-447b-b645-9bb526e3963a))
   (segment (start 138.024999 93.649824) (end 138.024999 92.619475) (width 0.25) (layer "F.Cu") (net 5) (tstamp 966fb941-502f-4c6f-9b0f-0c7b488134e8))
@@ -6473,6 +6523,10 @@
   (segment (start 134.384999 127.594824) (end 130.931475 127.594824) (width 0.25) (layer "B.Cu") (net 102) (tstamp a94be696-485b-4876-a674-5198a96dabcf))
   (segment (start 128.034988 121.811988) (end 127.508 121.285) (width 0.25) (layer "B.Cu") (net 102) (tstamp b98d969e-8795-49f4-ad70-14708f427134))
   (segment (start 127.508 121.285) (end 127.508 115.839132) (width 0.25) (layer "B.Cu") (net 102) (tstamp edfd22dc-c8c2-4b37-8165-86c37b339b3f))
+  (segment (start 128.754422 127.375003) (end 128.763715 127.384296) (width 0.25) (layer "F.Cu") (net 104) (tstamp 4c80f178-4d88-4c02-ba22-0fa00bd2ec36))
+  (segment (start 125.13982 127.375003) (end 128.754422 127.375003) (width 0.25) (layer "F.Cu") (net 104) (tstamp 4ebeb786-d6d1-4012-b4e2-90853367d032))
+  (segment (start 124.904999 127.609824) (end 125.13982 127.375003) (width 0.25) (layer "F.Cu") (net 104) (tstamp b4d576b2-fb6d-45a2-84d6-af2030a1b0da))
+  (via (at 128.763715 127.384296) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 104) (tstamp 5f94f979-a627-4a8e-8872-22852a1ce1da))
   (segment (start 148.02965 96.824824) (end 149.733 98.528174) (width 0.25) (layer "F.Cu") (net 108) (tstamp 1e53261d-7a4d-428b-9bf6-576c1f551b71))
   (segment (start 149.733 101.6762) (end 150.488489 102.431689) (width 0.25) (layer "F.Cu") (net 108) (tstamp 3adfc3fb-4cda-4381-9027-7881bcae3f8b))
   (segment (start 142.694529 123.763485) (end 142.694529 121.767197) (width 0.25) (layer "F.Cu") (net 108) (tstamp 99f061ba-9163-4239-92b9-5ac5aa2a140e))
@@ -6850,6 +6904,9 @@
   (segment (start 161.584999 67.799824) (end 159.784176 67.799824) (width 0.25) (layer "F.Cu") (net 143) (tstamp e4d78091-129d-4550-8c69-873f01a20033))
   (segment (start 158.8262 83.2358) (end 158.8399 83.2495) (width 0.25) (layer "F.Cu") (net 143) (tstamp ec18b377-0006-4e20-9d70-b8fc04204a80))
   (segment (start 153.784999 134.098601) (end 153.784999 120.803522) (width 0.25) (layer "F.Cu") (net 143) (tstamp f3304ae9-bf2b-45e4-bbbc-5f719327243d))
+  (segment (start 124.146 88.205) (end 123.825 87.884) (width 0.25) (layer "F.Cu") (net 146) (tstamp b0f21098-5c39-4955-be3a-c784900c22fb))
+  (segment (start 125.3225 88.205) (end 124.146 88.205) (width 0.25) (layer "F.Cu") (net 146) (tstamp d7eaeabe-0a0b-413d-a58f-bc7b709fc8ea))
+  (via (at 123.825 87.884) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 146) (tstamp 3b3aa4d5-62b2-4569-8842-389c1fa9ebae))
 
   (zone (net 4) (net_name "+3V3") (layer "F.Cu") (tstamp dcd0d6af-c2ef-4c0f-a7f2-fa35dd877e51) (hatch edge 0.508)
     (connect_pads (clearance 0.508))

+ 167 - 9
hw/BlackSASI-50-pin/BlackSASI.kicad_sch

@@ -3583,7 +3583,6 @@
   (no_connect (at 303.53 82.55) (uuid 0ff232e9-6aba-4c6d-a5f6-0b3d26257d35))
   (no_connect (at 111.125 139.065) (uuid 16865b94-78db-4460-9c8c-9d16fa36decd))
   (no_connect (at 65.405 151.765) (uuid 1dc37920-78ce-42dc-b8b2-d3c90b811d84))
-  (no_connect (at 111.125 144.145) (uuid 2189eed5-6bcc-4af3-a1dd-77ff92e6e29e))
   (no_connect (at 65.405 205.105) (uuid 2bfc3999-ae73-47fc-aff0-72f4d50d19e8))
   (no_connect (at 65.405 255.905) (uuid 422ce139-0e0e-40b1-b064-2ca2d20ff386))
   (no_connect (at 65.405 250.825) (uuid 5e102930-72dd-435b-a54c-86fb25971139))
@@ -3591,14 +3590,12 @@
   (no_connect (at 65.405 194.945) (uuid 6d5f86fa-3f67-4c51-9cb1-d497c3f206cb))
   (no_connect (at 111.125 250.825) (uuid 6d9f6563-b395-49b4-90ea-ded5f84aeba3))
   (no_connect (at 65.405 215.265) (uuid 6e3a2635-1003-4575-bf5e-8caf80c668c0))
-  (no_connect (at 111.125 141.605) (uuid 7359f9d0-71f4-4bd6-bb0e-448f0632ca06))
   (no_connect (at 40.005 70.485) (uuid 79ef4bc5-551e-4449-8656-30000c51237b))
   (no_connect (at 111.125 235.585) (uuid 7dbb3959-ac86-4aa8-b7c5-c52b9d14f614))
   (no_connect (at 379.73 135.89) (uuid 8587fdad-ef15-4da2-87f0-0ca0c2a896d7))
   (no_connect (at 65.405 200.025) (uuid 86f8149d-10e3-4723-98b8-5f7829f6b611))
   (no_connect (at 65.405 197.485) (uuid 987647d8-d104-4d42-a0af-8c44a350066c))
   (no_connect (at 65.405 245.745) (uuid 992557e4-e8ca-4faf-89e3-c4933f7e724b))
-  (no_connect (at 111.125 154.305) (uuid 9ad67a99-e48b-4796-a89a-538f525ae647))
   (no_connect (at 65.405 243.205) (uuid 9ce49419-e81b-4a32-b834-cf7946d715b0))
   (no_connect (at 111.125 184.785) (uuid a32010b5-ad76-441e-91c4-e41e9f21be41))
   (no_connect (at 65.405 248.285) (uuid ac8c8244-b4ca-45d6-96c4-38d707f1b6fc))
@@ -3688,6 +3685,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 0643e8bb-397e-4cf2-9760-e466f8ed5e6f)
   )
+  (wire (pts (xy 111.125 141.605) (xy 114.3 141.605))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 06afcd14-9829-4976-9807-b8f8e2fd0bd6)
+  )
   (wire (pts (xy 46.99 40.64) (xy 50.8 40.64))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 080cf07c-3ae2-4839-88ac-7180e2d29ed4)
@@ -3918,6 +3919,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 1c2ea9fe-7994-4d54-8c25-e76362d5382e)
   )
+  (wire (pts (xy 111.125 144.145) (xy 114.3 144.145))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 1ce15c77-9268-4145-ab00-2e186578141b)
+  )
   (wire (pts (xy 184.785 236.855) (xy 187.96 236.855))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 1d1ad576-78b7-425f-8c7c-c37ed8dfae33)
@@ -3930,6 +3935,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 1e01dac7-81dc-469b-9775-21c240d8463a)
   )
+  (wire (pts (xy 324.485 81.915) (xy 328.295 81.915))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 1eaea42d-027a-41aa-b8c3-2be3c987f6fc)
+  )
   (wire (pts (xy 81.28 23.495) (xy 81.28 26.67))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 1ef92e9b-c657-4d5d-a786-74fb67e06a5c)
@@ -4335,6 +4344,11 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 4042f113-4dc4-4b00-8bca-e51cfe4fe265)
   )
+  (polyline (pts (xy 314.579 59.69) (xy 346.075 59.69))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 406858e2-5095-4324-b0ba-fbf45f33d41a)
+  )
+
   (wire (pts (xy 111.125 164.465) (xy 114.935 164.465))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 4072123f-a34a-48b6-9da9-975e9ae9083b)
@@ -4429,6 +4443,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 49b40a61-899f-42ae-bf2a-73313d7b8e53)
   )
+  (wire (pts (xy 324.485 74.295) (xy 328.295 74.295))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 4a9415fb-b105-4e94-b1bf-ee107e728f45)
+  )
   (wire (pts (xy 40.005 80.645) (xy 47.625 80.645))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 4ae11040-e206-4d65-93a2-99462b067581)
@@ -4937,6 +4955,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 76278897-7a42-4853-bb13-9e4eb2a1479b)
   )
+  (wire (pts (xy 326.39 76.835) (xy 328.295 76.835))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 76b5945f-3cff-41e9-8e53-0961da5bf1ee)
+  )
   (wire (pts (xy 170.18 227.965) (xy 172.72 227.965))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 772c325a-bd2f-42dc-900d-292d17e6063f)
@@ -4962,6 +4984,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 79097c73-d5f5-4029-82b6-68f7c771231c)
   )
+  (wire (pts (xy 111.125 154.305) (xy 129.413 154.305))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 79697d4d-98ac-41b4-b6e4-665c5d053212)
+  )
   (wire (pts (xy 290.195 235.585) (xy 290.195 233.68))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 796b78f9-e8c3-43db-ab90-39aa259934c8)
@@ -5218,6 +5244,15 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 96305798-f70e-497f-8e67-db5f376dd81d)
   )
+  (polyline (pts (xy 314.579 59.69) (xy 314.579 93.98))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 9727b85b-b090-4866-90bb-b353c117d263)
+  )
+
+  (wire (pts (xy 326.39 79.375) (xy 328.295 79.375))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 98712ae7-952b-4e6a-a62d-79e9de707219)
+  )
   (wire (pts (xy 170.815 186.055) (xy 170.815 187.96))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 9938030e-5bf1-48bb-8ed4-58c2b5afaf4b)
@@ -5242,6 +5277,11 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 9a80beb9-1fd4-4fbd-aab4-53a09a662232)
   )
+  (polyline (pts (xy 346.075 93.98) (xy 346.075 59.69))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 9b18c7b7-712e-4fb9-b7bb-93fa05ce4411)
+  )
+
   (wire (pts (xy 98.425 128.905) (xy 109.22 128.905))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 9b1cb482-b2db-4d30-977d-487858991cec)
@@ -5303,6 +5343,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 9e13d343-7e43-4136-b393-d8dae5aacb75)
   )
+  (wire (pts (xy 129.413 151.511) (xy 129.413 154.305))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 9e592107-90a4-4157-a46b-c4676e7bf761)
+  )
   (wire (pts (xy 44.45 191.135) (xy 38.735 191.135))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 9e5d782d-3fd7-4b80-a6c1-d7a7489ef047)
@@ -5692,6 +5736,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid be81610a-f812-4153-80bf-966fe54ba6e0)
   )
+  (wire (pts (xy 324.485 71.12) (xy 324.485 74.295))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid bf0bb562-c62c-4368-824d-8a0fb55583cd)
+  )
   (wire (pts (xy 362.585 140.97) (xy 362.585 143.51))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid bf4cd4e1-012f-42b7-8c27-76a7b81a4f28)
@@ -5757,6 +5805,11 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid c50b731d-f413-42d2-a8f6-0342c08e406f)
   )
+  (polyline (pts (xy 314.579 93.98) (xy 346.075 93.98))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid c5457a4e-c991-465a-89d6-9ba859318ad6)
+  )
+
   (wire (pts (xy 53.34 149.225) (xy 65.405 149.225))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid c54cc5f5-c1e2-4321-a84b-76cc03902979)
@@ -5947,6 +6000,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid d3cf5932-605a-47f3-b055-c4449f35d9e5)
   )
+  (wire (pts (xy 324.485 84.455) (xy 324.485 81.915))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid d427441f-d205-4bcd-acff-78ded9ef400d)
+  )
   (wire (pts (xy 274.955 235.585) (xy 277.495 235.585))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid d61d59b4-fb75-479a-8347-b5732b42cbac)
@@ -6512,6 +6569,10 @@
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid 5fe3cdd5-0605-47a1-82da-e8e0ce903bab)
   )
+  (text "UART Interface" (at 315.595 62.865 0)
+    (effects (font (size 1.27 1.27)) (justify left bottom))
+    (uuid 8717a098-8ab4-4188-8ae0-026041b3d60a)
+  )
   (text "Termination" (at 225.425 176.53 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid 94a0fcf5-5648-45a5-8905-e54d752120cc)
@@ -6642,6 +6703,10 @@
     (effects (font (size 1.27 1.27)) (justify right bottom))
     (uuid 2411ebac-1e3c-406c-b912-f5091b0be214)
   )
+  (label "UART_RX" (at 114.3 144.145 0)
+    (effects (font (size 1.27 1.27)) (justify left bottom))
+    (uuid 243a0039-5ad3-4263-a083-b6b463fccbaf)
+  )
   (label "TERM_PWR" (at 136.525 240.665 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid 26cd108c-f946-443f-b78d-f2e7823b5e9e)
@@ -6938,6 +7003,10 @@
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid 872f5fbc-c003-40e8-8433-33531beae166)
   )
+  (label "UART_RX" (at 326.39 76.835 180)
+    (effects (font (size 1.27 1.27)) (justify right bottom))
+    (uuid 897e35fa-5f7e-4dcb-b494-171b19cad8f8)
+  )
   (label "SWDIO" (at 304.8 77.47 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid 8ac5d60f-1550-4426-ba5f-03c73ef52228)
@@ -7058,6 +7127,10 @@
     (effects (font (size 1.27 1.27)) (justify right bottom))
     (uuid c56b6365-3459-4cbe-b0bc-a0398a1e14b2)
   )
+  (label "UART_TX" (at 326.39 79.375 180)
+    (effects (font (size 1.27 1.27)) (justify right bottom))
+    (uuid ca6bc19b-a58f-4a09-923d-f8fdece43d9f)
+  )
   (label "HIGH_TERM" (at 243.84 133.985 180)
     (effects (font (size 1.27 1.27)) (justify right bottom))
     (uuid cbfdfd2e-c6bd-459a-b7b7-1ef6c8d5c51f)
@@ -7154,6 +7227,10 @@
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid ed9a2e94-ad45-4666-bfed-de155959559f)
   )
+  (label "UART_TX" (at 114.3 141.605 0)
+    (effects (font (size 1.27 1.27)) (justify left bottom))
+    (uuid f0919976-fb8f-458f-943d-db19f35f490e)
+  )
   (label "SD_DAT1" (at 114.935 205.105 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid f0fe1e0e-ffec-4ae3-9fa5-0d6f42227bc3)
@@ -7673,6 +7750,22 @@
     (pin "1" (uuid 60e81072-1f24-49ac-8916-0725ddc35437))
   )
 
+  (symbol (lib_id "power:GND") (at 324.485 84.455 0) (unit 1)
+    (in_bom yes) (on_board yes) (fields_autoplaced)
+    (uuid 09647739-071b-4c77-af30-fb06b1221f12)
+    (property "Reference" "#PWR0140" (id 0) (at 324.485 90.805 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Value" "" (id 1) (at 324.485 89.535 0))
+    (property "Footprint" "" (id 2) (at 324.485 84.455 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Datasheet" "" (id 3) (at 324.485 84.455 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (pin "1" (uuid 018f39b6-c0e8-4570-84e7-1d0d609990ff))
+  )
+
   (symbol (lib_id "Device:C_Small") (at 233.68 34.925 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid 0a017a0d-1c18-47fe-bbf5-926d22419e04)
@@ -7696,12 +7789,12 @@
   )
 
   (symbol (lib_id "Device:C_Small") (at 327.025 187.325 0) (unit 1)
-    (in_bom yes) (on_board yes) (fields_autoplaced)
+    (in_bom yes) (on_board yes)
     (uuid 0a714ada-837a-46e2-8df4-6eadc9598977)
-    (property "Reference" "C7" (id 0) (at 329.565 186.0612 0)
+    (property "Reference" "C7" (id 0) (at 328.422 185.293 0)
       (effects (font (size 1.27 1.27)) (justify left))
     )
-    (property "Value" "4.7uF" (id 1) (at 329.565 188.6012 0)
+    (property "Value" "4.7uF" (id 1) (at 327.914 189.738 0)
       (effects (font (size 1.27 1.27)) (justify left))
     )
     (property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (id 2) (at 327.025 187.325 0)
@@ -8273,6 +8366,22 @@
     (pin "1" (uuid f861bc22-0e8a-4a7c-bfbf-6ffe8ca7b35f))
   )
 
+  (symbol (lib_id "power:+3V3") (at 129.413 151.511 0) (unit 1)
+    (in_bom yes) (on_board yes) (fields_autoplaced)
+    (uuid 3699ed52-3eb0-4748-bba1-bebcbdc7d054)
+    (property "Reference" "#PWR0137" (id 0) (at 129.413 155.321 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Value" "" (id 1) (at 129.413 146.05 0))
+    (property "Footprint" "" (id 2) (at 129.413 151.511 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Datasheet" "" (id 3) (at 129.413 151.511 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (pin "1" (uuid b771ffe0-6fa6-4d2c-b362-7448d06fb8a8))
+  )
+
   (symbol (lib_id "power:PWR_FLAG") (at 318.135 31.115 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid 3a7feb34-0662-45f1-97e1-322077e07f95)
@@ -9082,6 +9191,22 @@
     (pin "1" (uuid e8914940-84de-4a52-887e-d1dfb223be76))
   )
 
+  (symbol (lib_id "power:+3V3") (at 324.485 71.12 0) (unit 1)
+    (in_bom yes) (on_board yes) (fields_autoplaced)
+    (uuid 75cd5efb-f3a0-4014-bcff-419850831502)
+    (property "Reference" "#PWR0138" (id 0) (at 324.485 74.93 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Value" "" (id 1) (at 324.485 65.405 0))
+    (property "Footprint" "" (id 2) (at 324.485 71.12 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Datasheet" "" (id 3) (at 324.485 71.12 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (pin "1" (uuid ab8a0285-27e1-42a2-b42f-ae62f062498e))
+  )
+
   (symbol (lib_id "power:+5VP") (at 321.31 184.15 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid 779b3555-e911-453d-8c7e-f4ef844ff0b5)
@@ -9321,6 +9446,27 @@
     (pin "1" (uuid 3482d78e-5e2a-4362-95ae-579ab77face6))
   )
 
+  (symbol (lib_id "Connector:Conn_01x04_Male") (at 333.375 76.835 0) (mirror y) (unit 1)
+    (in_bom yes) (on_board yes)
+    (uuid 89162790-3651-42a8-bce0-99e7e611c56b)
+    (property "Reference" "J8" (id 0) (at 335.28 76.8349 0)
+      (effects (font (size 1.27 1.27)) (justify right))
+    )
+    (property "Value" "" (id 1) (at 328.422 85.852 0)
+      (effects (font (size 1.27 1.27)) (justify right))
+    )
+    (property "Footprint" "" (id 2) (at 333.375 76.835 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Datasheet" "~" (id 3) (at 333.375 76.835 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (pin "1" (uuid 36658c9b-c292-49c9-a1d8-94d21aebadb6))
+    (pin "2" (uuid f0cb63ab-3276-4759-a058-91e14e4c071a))
+    (pin "3" (uuid 74c20067-0e4e-40f0-be94-61aead630d77))
+    (pin "4" (uuid 034de6b2-6921-4928-9398-777064bae273))
+  )
+
   (symbol (lib_id "power:GND") (at 160.655 50.8 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid 8b760edd-abc6-4617-a1ce-1d0bbacea7f1)
@@ -9943,12 +10089,12 @@
   )
 
   (symbol (lib_id "Device:C_Small") (at 259.715 186.69 0) (unit 1)
-    (in_bom yes) (on_board yes) (fields_autoplaced)
+    (in_bom yes) (on_board yes)
     (uuid c2892bdd-f368-4b8e-a9dd-e62241b06278)
-    (property "Reference" "C5" (id 0) (at 262.255 185.4262 0)
+    (property "Reference" "C5" (id 0) (at 260.985 184.658 0)
       (effects (font (size 1.27 1.27)) (justify left))
     )
-    (property "Value" "4.7uF" (id 1) (at 262.255 187.9662 0)
+    (property "Value" "4.7uF" (id 1) (at 261.112 189.23 0)
       (effects (font (size 1.27 1.27)) (justify left))
     )
     (property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (id 2) (at 259.715 186.69 0)
@@ -10970,9 +11116,18 @@
     (path "/d2f6f1a2-e4e2-4690-9d5d-63d139696f68"
       (reference "#PWR0136") (unit 1) (value "+3V3") (footprint "")
     )
+    (path "/3699ed52-3eb0-4748-bba1-bebcbdc7d054"
+      (reference "#PWR0137") (unit 1) (value "+3V3") (footprint "")
+    )
+    (path "/75cd5efb-f3a0-4014-bcff-419850831502"
+      (reference "#PWR0138") (unit 1) (value "+3V3") (footprint "")
+    )
     (path "/df1a2722-3ab0-4d50-9f83-eac7bf82eea6"
       (reference "#PWR0139") (unit 1) (value "GND") (footprint "")
     )
+    (path "/09647739-071b-4c77-af30-fb06b1221f12"
+      (reference "#PWR0140") (unit 1) (value "GND") (footprint "")
+    )
     (path "/64870d3f-8510-45ec-9af4-2f706ff81cec"
       (reference "#PWR0142") (unit 1) (value "GND") (footprint "")
     )
@@ -11246,6 +11401,9 @@
     (path "/0f969d51-4c07-44b6-9638-97a79eacc80d"
       (reference "J7") (unit 1) (value "Conn_02x03_Odd_Even") (footprint "Connector:Tag-Connect_TC2030-IDC-FP_2x03_P1.27mm_Vertical")
     )
+    (path "/89162790-3651-42a8-bce0-99e7e611c56b"
+      (reference "J8") (unit 1) (value "Conn_01x04_Male") (footprint "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical")
+    )
     (path "/dfd484a0-d916-4f27-9a25-dd2937bb22fb"
       (reference "JP1") (unit 1) (value "SolderJumper_2_Bridged") (footprint "Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm")
     )

+ 3 - 3
sw/src/main.cpp

@@ -542,7 +542,7 @@ void writeDataPhase(int len, const byte* p)
 void writeDataPhaseSD(uint32_t adds, uint32_t len)
 {
   LOGN("DATAIN PHASE(SD)");
-  uint32_t pos = adds * m_img->m_blocksize;
+  uint64_t pos = adds * m_img->m_blocksize;
   m_img->m_file.seek(pos);
 
   SCSI_OUT(vMSG,inactive) //  gpio_write(MSG, low);
@@ -675,8 +675,8 @@ void readDataPhase(int len, byte* p)
 void readDataPhaseSD(uint32_t adds, uint32_t len)
 {
   LOGN("DATAOUT PHASE(SD)");
-  uint32_t pos = adds * m_img->m_blocksize;
-  m_img->m_file.seek(pos);
+  uint64_t pos = adds * m_img->m_blocksize;
+  m_img->m_file.seekSet(pos);
   SCSI_OUT(vMSG,inactive) //  gpio_write(MSG, low);
   SCSI_OUT(vCD ,inactive) //  gpio_write(CD, low);
   SCSI_OUT(vIO ,inactive) //  gpio_write(IO, low);