tscircuit/standard-jst-programmer
26 × 42 mm USB-C RP2040 programmer with JST and TC2030 IDC SWD, NRST, selectable sensed 5 V / 3.3 V power, RGB status, and importable JST SH/Tag-Connect targets. Top-side assembly.
- Version
- 0.8.0
- License
- unset
- Stars
- 0
circuits/side.circuit.tsx
PCB
Schematic
import { StandardTagConnectSwd } from "../tag-connect";
import type { BoardProps } from "@tscircuit/props";
import {
StandardJstUartSide,
StandardJstSwdSide,
StandardJstPowerSide,
StandardJstSwdResetSide,
} from "../connectors";
export default (props: BoardProps = {}) => (
<board {...props} width={20} height={48}>
<schematicsheet name="side-connectors" displayName="Side target connector footprints">
<schematicsection name="side-swd" displayName="3-pin SWD" sectionTitleFontSize={0.35} />
<schematicsection name="side-power" displayName="2-pin power" sectionTitleFontSize={0.35} />
<schematicsection name="side-reset" displayName="5-pin SWD with NRST" sectionTitleFontSize={0.35} />
<schematicsection name="side-uart" displayName="3-pin UART (target)" sectionTitleFontSize={0.35} />
<schematicsection name="side-tag" displayName="Tag-Connect target pads" sectionTitleFontSize={0.35} />
</schematicsheet>
<StandardJstSwdSide
name="J1" schX={-7} schY={3} schSheetName="side-connectors" schSectionName="side-swd"
pcbX={-4.5}
pcbY={9.0}
pcbStyle={{ silkscreenTextVisibility: "hidden" }}
/>
<StandardJstPowerSide
name="J2" schX={7} schY={3} schSheetName="side-connectors" schSectionName="side-power"
pcbX={4.5}
pcbY={9.0}
pcbStyle={{ silkscreenTextVisibility: "hidden" }}
/>
<silkscreentext text="SWD" pcbX={-4.5} pcbY={14.7} fontSize={0.8} />
<silkscreentext
text="1:CLK 2:GND 3:DIO"
pcbX={-4.5}
pcbY={13.5}
fontSize={0.55}
/>
<silkscreentext text="POWER" pcbX={4.5} pcbY={14.7} fontSize={0.8} />
<silkscreentext
text="1:VOUT 2:GND"
pcbX={4.5}
pcbY={13.5}
fontSize={0.55}
/>
<StandardJstSwdResetSide
name="J3" schX={-7} schY={-3} schSheetName="side-connectors" schSectionName="side-reset"
pcbX={0}
pcbY={-1.0}
pcbStyle={{ silkscreenTextVisibility: "hidden" }}
/>
<silkscreentext text="SWD+NRST" pcbX={0} pcbY={3.8} fontSize={0.8} />
<silkscreentext
text="1:VOUT 2:DIO 3:GND 4:CLK 5:NRST"
pcbX={0}
pcbY={2.5}
fontSize={0.65}
/>
<StandardJstUartSide name="J5" pcbX={0} pcbY={-10}
schX={-7} schY={-8} schSheetName="side-connectors" schSectionName="side-uart" />
<silkscreentext text="UART" pcbX={4.5} pcbY={-10} fontSize={0.7} />
<StandardTagConnectSwd name="J4" schX={7} schY={-3} schSheetName="side-connectors" schSectionName="side-tag" pcbX={0} pcbY={-18.5} />
</board>
);