

SD Swap
A development tool which swaps an sdcard between a usb3 card reader or a SBC.
- Size
- 47 × 27 mm
- Copper layers
- 4
- Thickness
- 0.83 mm
- Parts
- 44
- Nets
- 62
- Pads
- 260
- Tracks, vias
- 504, 157
- Pours
- 8
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 16 Dec 2022
- Updated
- 9 Jun 2025
Overview
SD Swap is an open-source printed circuit board by Mr-Bossman, from the Mr-Bossman/SD_Swap repository on GitHub. It is a 4-layer board of 47 × 27 mm with 44 parts on 62 nets, routed with 504 tracks and 157 vias.
It is built around the RTS5306E-GR, 74LVC2G14GW and TS3A27518ERTW, with the BAT54CW among its other parts. Its parts include 16 capacitors, 11 resistors, 7 ICs, 4 diodes and 1 transistor.
Main components
4RTS5306E-GR
QFN-32QFN-32 USB Converters ROHSRealtek SemiconUSB Converters74LVC2G14GW
SC-70-6(SOT-363)-40℃~+125℃ 1.5V~3.6V 1.65V~5.5V 2 2 250mV~1.2V 32mA 32mA 4.7ns@5V,50pF 4uA 74LVC Schmitt trigger 电源关断保护、噪声抑制功能 SC-70-6(SOT-363) Inverters ROHSNexperiaInvertersTS3A27518ERTW
WQFN-24-EP(4x4)-40℃~+85℃ 1.65V~3.6V 18.1ns 21.5pF 240MHz 25.4ns 2:1 4.4Ω 6 WQFN-24-EP(4x4) Analog Switches, Multiplexers ROHSTexas InstrumentsAnalog Switches, MultiplexersBAT54CW
SOT-323-3-65℃~+125℃ 1 Pair Common Cathode 1V@100mA 200mA 2uA@25V 30V 600mA SOT-323-3 Schottky Diodes ROHSDiodes IncorporatedSchottky Diodes
README
README.mdSD_Swap
A development tool which swaps an SD card between a USB3 card reader and a SBC.
About
SD_Swap allows reflashing of an SD card connected to the DUT (Device Under Test), without physical contact with the device. The board is designed in such way that it fits into micro SD card slots. Thanks to this, there is no need for special cables with a micro SD adapter, though it may be beneficial to add an extention to avoid accidentally breaking your boards SD connector if someone yanks the cable.
This project was inspired by the SDWire project. The major improvements are:
- USB-C
- USB3.0 read/write speeds
- Simplified design/control
- Solder jumpers to disconnect LEDs
- Dim LEDs so you wont get blinded
I have got SD write speeds up to 65MiB/s so 520Mbit/s
IMPORTANT
Faster SD cards may not work on some single board computers as the timing and capacitance on the SBC side is not right.
Rational
After seeing the SDWire project I was disappointed by the complexity as well as the lack of USB3. So this project is uses the REALTEK RTS5306E controller which many USB3 to SD adapters use. The chip has power suspend functionality which we can use as a GPIO for switching hosts. The suspend option will shut off the SD cards power but not the controllers; it also has build-in RW protection as to finish writes before switching to the SBC
The SDWire project uses a USB to GPIO chip for this, but they have two power controlled USB ports on the board as well as the above mentioned method.
Software
To swap the SD card between the host PC and the SBC you run
sdswap -t or sdswap -c.
-c is the host PC while -t is the SBC. You can also chose which device to use if you have multiple attached. To do this run lsusb to show available the devices and type sdswap -a 1-4 -c in the format of busNumber-deviceNumber. I have future plans to write this script for Windows.
$ sdswap -h
Usage: sdswap [-h] [-p] [-c | -t] [-l location] [-a address] [-s serial] [-i VID:PID]
-h, --help Show this help message.
-p, --print Prints the block device
-c, --controller Switches to PC.
-t, --target Switchest to target.
-l, --location Set location.
-a, --address Set address.
-s, --serial Serial number.
-i, --id Set the PID and VID.
-e, --exact Use exact location.
If no options are given, the script will print the current status of the SDswap device.
If --print and --controller are given at the same time, the script will wait for the
SDswap device to be attached to the PC and then print the block device path.
Examples:
# sdswap
SDswap is attached to PC.
# sdswap -p
/dev/sda
# sdswap 0
Multiple devices found.To manually controll the port use:
export YOUR_USB_NUM="1-4" #hub1 port4
echo 0 | sudo tee /sys/bus/usb/devices/${YOUR_USB_NUM}/power/autosuspend_delay_ms
echo auto | sudo tee /sys/bus/usb/devices/${YOUR_USB_NUM}/power/control
echo SBC
echo ${YOUR_USB_NUM} | sudo tee /sys/bus/usb/drivers/usb/unbind
echo PC
echo ${YOUR_USB_NUM} | sudo tee /sys/bus/usb/drivers/usb/bindHardware
LEDs
- D2 is the red/blue status LED it will be blue when the in passthrough mode, and red when the USB3 controller is reading/writing to it.
- D1 is the yellow activity LED and blinks when the USB3 controller is reading/writing.
- D3 is the red power LED and is active when the USB3 controller has power.
NOTE: The red power LED will not be on if the USB cable isn't 5V providing power.

TODO
- Fix SBC side timeing
- Write program for Windows.
- Fix serial number not working
- Edit pick n' place csv
- Label stat leds
- Add use switching regulator
- Add E-Fuse
- Update readme
Parts
44| Qty | Value | Footprint | References |
|---|---|---|---|
| 15 | 0.1u | Capacitor_SMD:C_0201_0603Metric | C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C14, C15, C16 |
| 3 | 6.2K | Resistor_SMD:R_0201_0603Metric | R4, R5, R11 |
| 3 | 6.2K | Resistor_SMD:R_0603_1608Metric | R1, R2, R3 |
| 3 | nLED | Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP1, JP2, JP3 |
| 2 | 100 | Resistor_SMD:R_0201_0603Metric | R7, R8 |
| 2 | 5.1K | Resistor_SMD:R_0201_0603Metric | R9, R10 |
| 1 | 10K | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | 12MHz | SD_Swap:Resonator-3.2x1.3mm | Y1 |
| 1 | 1u | Capacitor_SMD:C_0402_1005Metric | C13 |
| 1 | 74LVC2G14 | Package_TO_SOT_SMD:SOT-363_SC-70-6 | U1 |
| 1 | 93AAxxAT | Package_TO_SOT_SMD:SOT-23-6 | U4 |
| 1 | ACTIVITY | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | AZ1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U7 |
| 1 | BAT54CW | Package_TO_SOT_SMD:SOT-323_SC-70 | D7 |
| 1 | PCB_SD | SD_Swap:PCB-SD | U3 |
| 1 | POWER | LED_SMD:LED_0603_1608Metric | D3 |
| 1 | PROG/PASS | LED_SMD:LED_RGB_1210 | D2 |
| 1 | Q_Dual_PNP_PNP_E1B1C2E2B2C1 | Package_TO_SOT_SMD:SOT-23-6 | Q1 |
| 1 | RTS5306E | Package_DFN_QFN:VQFN-32-1EP_5x5mm_P0.5mm_EP3.5x3.5mm | U2 |
| 1 | SD_SOCKET | SD_Swap:105162-0001 | U6 |
| 1 | TS3A27518ERTW | Package_DFN_QFN:WQFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mm | U5 |
| 1 | USB_C | USB-C:USB_C_Receptacle_Amphenol_10137061-00021LF | J1 |
Similar boards
- 4 layers190 × 110 mm

- 4 layers137 × 79.5 mm

- 2 layers75 × 82 mm

- 4 layers210.8 × 74.9 mm

Bkm-10rlternative
skumlos/bkm-10rlternative
Project aiming to replicate the BKM-10R/11R remote for Sony professional CRT monitors.
257 parts17 - 2 layers66 × 51.5 mm

WiFi Gate Controller
mikelawrence/WiFi-Gate-Controller
WiFi enabled Gate Controller Addon to US Automatic Gate Opener
91 parts8MIT - 2 layers80 × 90 mm

WiFi Septic Controller
mikelawrence/WiFi-Septic-Controller
WiFi enabled Septic Controller
104 parts8MIT - 6 layers83.5 × 99.4 mm

- 2 layers39 × 66.5 mm

Questions
How big is the SD Swap PCB?
It measures 47 × 27 mm and has 4 copper layers, 0.83 mm thick.
What parts does the SD Swap use?
44 parts, built around the RTS5306E-GR, 74LVC2G14GW, TS3A27518ERTW and BAT54CW. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the SD Swap KiCad files?
From the Mr-Bossman/SD_Swap repository on GitHub, at the commit this page was made from: the board is board/SD_Swap/SD_Swap.kicad_pcb and its schematic board/SD_Swap/SD_Swap.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the SD Swap design in my own project?
Its repository states no licence, so its author keeps all rights: ask Mr-Bossman before reusing the design.