changeset 82:541b55e6bf47

add UART rescue header
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 Dec 2021 05:00:50 +0000
parents fbe54d6cd082
children c27854430cb3
files venus/src/MCL venus/src/primitives venus/src/top/board.v
diffstat 3 files changed, 32 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/venus/src/MCL	Sun Dec 05 04:41:45 2021 +0000
+++ b/venus/src/MCL	Wed Dec 08 05:00:50 2021 +0000
@@ -714,6 +714,17 @@
  vendor_part_number=WM12812-ND
  npins=2
 
+# UART interface "rescue" header
+J301:
+ hier=uart_header
+ footprint=HEADER10_2
+ description=Header, 0.100", dual row, 10 posts
+ manufacturer=Molex
+ manufacturer_part_number=0901310125
+ vendor=Digi-Key
+ vendor_part_number=WM50035-10-ND
+ npins=10
+
 J302:
  hier=mob.sim.socket.socket
  description=SIM socket, full size, with latch
--- a/venus/src/primitives	Sun Dec 05 04:41:45 2021 +0000
+++ b/venus/src/primitives	Wed Dec 08 05:00:50 2021 +0000
@@ -60,11 +60,15 @@
 
 chip_attenuator	mapped_pins (In, Out, GND1, GND2);
 
-/* connectors */
+/* headers */
 header_2pin		numpins 2;
+header_3pin		numpins 3;
+header_5pin		numpins 5;
+header_10pin		numpins 10;
+header_14pin		numpins 14;
+
+/* other connectors */
 conn_3pin		numpins 3;
-header_5pin		numpins 5;
-header_14pin		numpins 14;
 pkg_SMA_F		numpins 5;
 pkg_TRRS_jack		numpins 6;
 conn_miniUSB_plus4	numpins 9;
--- a/venus/src/top/board.v	Sun Dec 05 04:41:45 2021 +0000
+++ b/venus/src/top/board.v	Wed Dec 08 05:00:50 2021 +0000
@@ -53,4 +53,18 @@
 resistor VBUS_pulldown (VBUS, GND);
 resistor VCHG_pulldown (VCHG, GND);
 
+/* UART interface "rescue" header */
+
+header_10pin uart_header (.pin_1(GND),
+			  .pin_2(GND),
+			  .pin_3(Host_RxD2),
+			  .pin_4(Host_RxD),
+			  .pin_5(Host_TxD2),
+			  .pin_6(Host_TxD),
+			  .pin_7(Host_DCD),
+			  .pin_8(Host_CTS),
+			  .pin_9(Host_DTR),
+			  .pin_10(Host_RTS)
+	);
+
 endmodule