Skip to content

Pinout and update

mean00 edited this page Jun 16, 2024 · 5 revisions

RP240

Pinout

  • SWDIO : GPIO12
  • SWDCLK : GPIO13
  • RESET : GPIO11
  • Uart : GPIO4 (Tx), GPIO5 (RX)
  • Voltage: GPIO26 (you can connect it to Reset / GPIO11)

/!\ There may be 2 different firmwares (zero and big) the only difference is the pin where the RGB led is connected to.

By default, the RGB led is connected to GPIO16 (pico zero)

Update

you can use a fake dfu command to reboot to mass storage mode

sudo dfu-util -d 1d50:6050,1d50:6031 -s 0x08002000:leave

Then copy the .uf2 file as usual

CH32/GD32

Pinout

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

Update

The GD32/CH32 version are using a bootloader to check fw integrity and perform update over USB. You can just flash the relevant bootloader and flash the main program through DFU (it is way faster anyway) NB: The CH32 DFU is a bit slow to appear, wait 5sec If the checksum fails, it will go to dfu automatically and the led will blink quickly. While running you can send the command one time, it will reboot to dfu. You may have a few seconds and redo it from there.

GD32

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

CH32

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

Clone this wiki locally