Debugging WCH RISC-V microcontrollers on Linux, with Bloom v2.0.0 and GDB - Page 1
Forum section: electronics / general

author: navnav
author_rank: Newbie
timestamp: February 27, 2025, 08:28:27 pm
content: Hey all,Hope you're well!I released Bloom v2.0.0 a few days ago. This release includes support for RISC-V targets, starting with the CH32V003 and CH32X035 from WCH. This means Linux users no longer have to resort to using the MounRiver IDE, or that broken openocd port, for debugging WCH RISC-V targets.Key points:- Requires a WCH-LinkE, in RISC-V mode. Minimum firmware version: 2.9- Supports hardware and software breakpoints (keep in mind some targets do not posses any hardware breakpoint resources)- Programming is supported - you can program the target via the 'load' command in GDB- Target peripherals and RISC-V CSRs are accessible via Bloom's register access GDB monitor commands (Seehttps://bloom.oscillate.io/docs/register-access-gdbfor more)- Supports debugging programs in the boot segment (custom bootloaders) - you just have to select the correct program memory segment when configuring the project (see the article linked below for more)- Also, as part of this release, I've introduced "headless builds". These are builds that exclude the Insight GUI, for running Bloom on resource constrained hardware, such as a Raspberry PiI've written an article covering the basics:https://bloom.oscillate.io/docs/debugging-wch-riscv.Download v2.0.0 athttps://bloom.oscillate.io/downloadFinally, you'll want to have a look at the target details pages for the individual targets that you work with:CH32V003:https://bloom.oscillate.io/docs/target/ch32v003CH32X035:https://bloom.oscillate.io/docs/target/ch32x035You can access the target details page of other targets, via the supported targets page:https://bloom.oscillate.io/docs/supported-targetsHere's a screenshot of the Insight GUI from v2.0.0:Happy debugging!

author: brucehoult
author_rank: Super Contributor
timestamp: February 28, 2025, 12:12:15 am
content: Can't reach your site.

author: HwAoRrDk
author_rank: Super Contributor
timestamp: February 28, 2025, 01:36:47 am
content: Bro... While I agree that there needs to be more advocacy and justice for the Palestinian people, what you're doing on your site isn't going to help getting anyone to use your software.I click through and at first I wasn't even sure I was at the right site, or perhaps that the site had been hacked and defaced. Two whole screens worth of that is too much.Edit:In case anyone is confused if it changes later, attached is a screenshot of what I see on the home page.

author: rhodges
author_rank: Frequent Contributor
timestamp: March 01, 2025, 01:41:51 am
content: Quote from: HwAoRrDk on February 28, 2025, 01:36:47 amI agree.Those who agree with the message don't need a wall of pain to get to the technical and download information. Those who do not agree will probably leave or skip past in distaste.Maybe... "If you find my work useful, I would ask that you consider looking at my political pages, where I show..."

author: netmonk
author_rank: Contributor
timestamp: July 29, 2025, 06:35:04 pm
content: Hello,Any binary release available for Fedora ?Just plain binary !