13-01-2026
probe-rs doesn't seem to work with RISC-V core in the RP2350
It should have been apparent to me last night, however, seems like probe-rs is trying to connect the chip expecting an ARM core running.
WARN probe_rs::architecture::arm::memory::romtable: Component at 0x0: CIDR0 has invalid preamble (expected 0xd, got 0x0)
It doesn't seem like RISC-V cores in RP2350 is supported in probe-rs yet, however the ARM core debugging is supported fine. I found the documentation that describes RISC-V debugging, but I am too inexperienced to understand all of that. I guess next time I will try to use the Raspberry Pi's clone of OpenOCD for debugging. This seems to be the official way to debug the RP2350.
If that doesn't work, for now, I guess I will just try and use a ESP32-H2 chip that I have lying around in a box as a DevKit. I really want to use the RP235x because it is a really nice chip, and I am too much of a n00b to dig into tooling now. The ARM core would suffice too I guess.