1 hour ago · Tech · hide · 0 comments

Link to a snapshot of the CH32V003 aware version of swindle for the RP2040Gunzip the uf2 and do as usual to flash the rp2040 with the uf2.YOU ABSOLUTELY NEED A 1KOhm RESISTOR BETWEEN IO and 3.3v!Pinout :-CH32 IO pin : GPIO13 of RP2040 (+1K pullup to 3.3v!)-CH232 reset : GPIO10 of RP2040 (optional)- Ground!To use you need to setup gdb the following way (~ same thing with vscode)target extended-remote /dev/ttyACM0 (name of the CDC device)set remotetimeout 500000monitor sdi_scanset mem inaccessible-by-default offset confirm offattach 1loadcompare-sectionsIf you see "Detected CH32V003 chip with 16 k flash, 2 k ram", it works!.Nb: It does not work very well with CH32V006, looks okay for CH32V003

No comments yet. Log in to reply on the Fediverse. Comments will appear here.