No, this is not what I want!
I want to use the wlink integrated in the dev board to flash & debug.
Buy very cheap wch-link on aliexpress and resolder CH549 to your board.
https://aliexpress.com/item/1005003346413532.html
well, I would do that if I had time and I was sure that the one is flashed with a recent firmware!
But I finally (after a good day of hating WCH!), I got it to work.
The tool, that helped me is the CH552tool (
https://github.com/MarsTechHAN/ch552tool/tree/master).
I first erased everything as suggested by the WCH-LinkUserManual (that pdf linked at the beginnin of this thread).
this can be done with
$ python3 ch55xtool.py -e -c
now flash the firmware and let it reset (I guess, the "-R" is optional if you power-cycle afterwards).
$ python3 ch55xtool.py -f /opt/wch/mounriver-studio-community/update/Firmware_Link/WCH-Link_APP_IAP_RV.bin -r
if you have the "-r" option, it would fail since the programmer resets after programming. Not nice, but it now shows up as a WLink instead of the bootloader.
Without "-r" it would finish correctly and you have to power-cycle manually.
Hope that helps some people out there!
I tried a good bunch of other programming tools and it seems none of them allow you to erase the flash/data memories...
I also tried basically every programming tool from the WCH website... non of them recognized the ISP bootloader (or I was simply too stupid getting them to work).
Virtualbox also "crashed"/has frozen several times when connecting/disconnection/reconnecting the programmer.
This may result from some bugs in the bootloader, that are mentioned somewhere on the web.
My best guess is, that these made the update fail in the VM...
However, my programmer now works
Regards