Skip to content

Installing

mean00 edited this page Dec 22, 2025 · 15 revisions

Udev

On Linux, copy the content of the udev folder to '/etc/udev/rules.d' then

sudo udevadm control --reload-rules && sudo udevadm trigger

That way, links will be created automatically with fixed names

  • /dev/ttySwindleGdbX : Gdb interface
  • /dev/ttySwindleUartX : Uart or log or RTT
  • /dev/ttySwindleLogX: Log or RTT (RP2xx only)

RP2040/RP2350

Install

Copy the correct uf2 file to your RP204/RP2350

USB Ids: 1D50:6050

RP240/RP2350 Pinout

NB There is a small pcb in the kicad folder adding voltage translators, ARM connector and a nice JST connector.

  • SWDIO : GPIO13
  • SWDCLK : GPIO12
  • SWD_DIR : GPIO11
  • RESET : GPIO10
  • Uart : GPIO9 (RX)
  • Voltage: GPIO26 (you can connect it to Reset / GPIO10)

CH32V3xx

USB (V30x with 256 kbFlash/48kB ram)

Install

Install the bootloader using another swindle or the WCH debug tool, then reset the board. The Led will blink quickly to notify it entered DFU (or not depending to which pin the LED is connected) Then use dfu to upload the main firmware.

'sudo dfu-util -d 1d50:6030 -s 0x0004000:leave -D swindle_default_pinout_CH32V3x_144M_CLANG.elf.ck _bin'

USB Ids: 1D50:6030

CH32V307 - Ethernet (Eval board)

Install

There is not bootloader for that version. You have to directly flash the executable using a wch-link or another swindle The board will fetch it's ip address over DHCP and map the following ports :

  • 2000: Gdb port
  • 2001: RTT / Log port

CH32V3xx Pinout

  • SWDIO : PB8
  • SWDCLK : PB9
  • RESET : PB6
  • Uart : PB10 (Tx), PB11 (RX)
  • Voltage: PA0

GD32F303RCT6

Install

Install the bootloader using another swindle or another tool (openOcd, BMP, ...), then reset the board. The Led will blink quickly to notify it entered DFU (or not depending to which pin the LED is connected) Then use dfu to upload the main firmware.

'sudo dfu-util -d 1d50:6030,1d50:6031 -s 0x08002000:leave -D swindle_default_pinout_M4_96M_CLANG .elf.ck_bin'

USB Ids: 1D50:6030

Pinout

  • SWDIO : PB8
  • SWDCLK : PB9
  • RESET : PB6
  • Uart : PB10 (Tx), PB11 (RX)
  • Voltage: PA0

Clone this wiki locally