Skip to the content
2 layers18.1 × 11.5 mmRM2025-Tiny JLink, the printed circuit board in 3D

Cheap, Smallest JLink-OB

Size
18.1 × 11.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
40
Pads
117
Tracks, vias
205, 58
Pours
96
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
1 Aug 2025
Updated
1 Aug 2025

Overview

RM2025-Tiny JLink is an open-source printed circuit board by hkustenterprize, from the hkustenterprize/RM2025-Tiny-JLink repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 18.1 × 11.5 mm with 23 parts on 40 nets, routed with 205 tracks and 58 vias.

It is built around the STM32F103CBT6. Its parts include 11 capacitors, 4 resistors, 3 connectors, 2 ICs and 1 diode. It belongs with the STM32 boards of this library.

Main components

1

README

README.md

【RM2025-地表最小 JLink 开源】香港科技大学 ENTERPRIZE 战队

尺寸无敌, 地表最小 JLink-OB. 尺寸仅为 20x12x5mm. alt text

本赛季小批量做了一批, 使用体验不错, 非常优雅. 稳定性好, 固定在车上能较好地解决 JLink 断联的情况. alt text

关键参数

参数说明
尺寸20x12x5mm (约为两个 XT30 头)
支持固件JLink-OB, STLink V2, DAPLink
接口Type-C, 四线 SWD, 兼容战队开源 G 板, 官方 C 板等
成本批量 15 元

硬件选型

晶振采用村田 3215 晶振, 标称精度略低但小批量做的 50 个都能稳定进行 USB 通信. MCU 采用 APM32F103CBT6, 淘宝批量价格约 2.3 元/PCS. 可完美替代 STM32F103CBT6. 此外, 也可用 GD32F103CBT6 替代. LDO 采用对内常用 RS3236-3V3. 阻容使用 0402 封装.

焊接时需要将 Type-C 座子的塑料定位柱掰断, PCB 上删除了定位柱对应孔位. Type-C 座子底部焊盘请提前上锡, 增加机械强度.

原理图说明

与原版 JLink-OB 原理图相比, 调整了如下内容:

  • 删除了 USB re-enum 相关电路.
  • 删除了 3V3 电压检测电路
  • 删除了硬件版本辨识电阻

USB re-enum 相关电路参考: https://stm32world.com/wiki/STM32_USB_Device_Renumeration#google_vignette

此外, 为了进一步减小体积, 进行了一些激进的调整(不推荐):

  • 删除了 RST 的上拉电阻
  • Type-C Shell 与 GND 直接相连
  • 删除了 CC 下拉电阻 (不推荐)

实测, D+ 上拉电阻在 1K - 2K 内都可识别.

固件烧录

烧录口是正面 1.27mm-4P 焊盘, 引脚定义为: (从左到右) +3.3V, GND, SWCLK, SWDIO.

alt text

目前包含的固件有: STLink V2.1, JLink-OB

  1. 使用 JLinkCommander 刷入 ./Firmware/STLINKV21+VCP+MSD.bin
  2. 如果需要切换为 JLink, 使用 ./Firmware/STLinkReflash_190812_pached.exe 输入 a, a, 1 自动刷成 JLink
  3. 刷成 JLink 后也可通过 STLinkReflash_190812_pached.exe 重新切换回 STLink

STLink 固件来自 https://github.com/lyplcr/JSTLINK_SW STLinkReflash.exe 来自 https://www.segger.com/downloads/jlink/. 需将几处条件跳转指令替换为 NOP 指令绕过芯片 UID 检查. STLinkReflash_190812_pached.exe 是笔者修改好的 STLinkReflash.exe, 可直接使用.


如果需要小批量烧录, 建议购买淘宝 1.27mm 单排4P 烧录夹具. alt text

后续改进建议

如果用 C-C 线连电脑需要将 CC 电阻加回来. 可以替换晶振与 LDO 选型, 进一步降低成本. 如果感兴趣的人多, 可以考虑 拼好板 均摊 SMT 价格. 批量做成本约 15 元/个.

通讯信息

WeChat: baoqi-zhong Email: zzhongas@connect.ust.hk

Parts

23
QtyValueFootprintReferences
6100nFCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C9, C10, C12
34.7uFCapacitor_SMD:C_0402_1005MetricC6, C8, C11
21KResistor_SMD:R_0402_1005MetricR1, R2
233RResistor_SMD:R_0402_1005MetricR3, R4
110nFCapacitor_SMD:C_0402_1005MetricC7
110uFCapacitor_SMD:C_0805_2012MetricC5
11AFuse:Fuse_1206_3216MetricF1
18MHzCrystal:Resonator_SMD_Murata_CSTxExxV-3Pin_3.0x1.1mmY1
1JLINK_OUTConnector_Molex:Molex_PicoBlade_53261-0471_1x04-1MP_P1.25mm_HorizontalJ2
1JLink_UploadRM2024:1.25UploadJ1
1LEDLED_SMD:LED_0402_1005MetricD1
1RS3236Package_TO_SOT_SMD:SOT-23-5U2
1STM32F103CBT6Package_QFP:LQFP-48_7x7mm_P0.5mmU1
1USB_C_Receptacle_USB2.0RM2024:USB_C_Receptacle_HRO_TYPE-C-31-M-12_NO_HOLEJ3

Similar boards

  • 2 layers45 × 23 mmTiny, the printed circuit board in 3D

    Tiny

    pengshulin/mcush

    MCUSH application platform (personal toolkit: firmware platform, debugger, hardware, test and application framework)

    53 parts103
  • 2 layers82 × 134 mmPcb badge, the printed circuit board in 3D

    Pcb badge

    john0312/hitcon-pcb-badge

    execute fw/merge.py to merge STM32CubeIDE generated main.c with user code in main.cc into main.cc.

    258 parts47BSD-3-Clause
  • 2 layers128 × 47 mmStm32f1-nrf24l01-transmitter pcb, the printed circuit board in 3D

    Stm32f1-nrf24l01-transmitter pcb

    laneboysrc/rc-headless-transmitter

    DIY 2.4 GHz RC transmitter without display, configurable through smartphone or web browser

    79 parts33
  • 4 layers31 × 15 mmSt link, the printed circuit board in 3D

    St link

    lbthomsen/st-link

    ST-Link Research

    37 parts31
  • 4 layers39 × 40.5 mmWirelessJLink V3S, the printed circuit board in 3D

    WirelessJLink V3S

    hkustenterprize/RM2025-Wireless-JLink

    Wireless JLink-OB based on Allwinner V3S

    147 parts30GPL-3.0
  • 4 layers56 × 43.3 mmStepperServoCAN, the printed circuit board in 3D

    StepperServoCAN

    dzid26/StepperServo-hardware

    Stepper actuator controller

    155 parts29GPL-3.0
  • 2 layers25.4 × 50.8 mmStm32....c breakout, the printed circuit board in 3D

    Stm32....c breakout

    electroniceel/stm32....c-breakout

    A breakout module for STM32 microcontrollers in LQFP48 and UFQFPN48 footprint.

    59 parts20CC-BY-4.0
  • 2 layers149.5 × 43.8 mmUsb external monitor, the printed circuit board in 3D

    Usb external monitor

    dilshan/usb-external-display

    USB 10 digit seven segment display unit

    71 parts16MIT

Questions

How big is the RM2025-Tiny JLink PCB?

It measures 18.1 × 11.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RM2025-Tiny JLink use?

23 parts, built around the STM32F103CBT6. 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 RM2025-Tiny JLink KiCad files?

From the hkustenterprize/RM2025-Tiny-JLink repository on GitHub, at the commit this page was made from: the board is Hardware/RM2025-Tiny-JLink.kicad_pcb and its schematic Hardware/RM2025-Tiny-JLink.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RM2025-Tiny JLink design in my own project?

Its repository publishes it under the AGPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).