-
Notifications
You must be signed in to change notification settings - Fork 1
Installing
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)
Copy the correct uf2 file to your RP204/RP2350
USB Ids: 1D50:6050
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)
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
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
- SWDIO : PB8
- SWDCLK : PB9
- RESET : PB6
- Uart : PB10 (Tx), PB11 (RX)
- Voltage: PA0
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
- SWDIO : PB8
- SWDCLK : PB9
- RESET : PB6
- Uart : PB10 (Tx), PB11 (RX)
- Voltage: PA0