How to build but actually works
After spending a solid five or six days banging my head against this repo, I finally managed to build it and make my RV debugger work.
So the trick is to use the Sipeed everything their toolchain, framework, and flash tool; the official riscv toolchain, bouffalo_sdk, and bouffalo_sdk flash tool will just cause you problems.
Here is what you need to do:
- clone this repo and initialize its submodules.
- install dependencies; you will need cmake v3.15 or above, and make.
- clone the toolchain listed in Sipeed SDK repo development-tools section it's already pre-built you just need to clone it and have the dependencies; riscv64-unknown-elf-gcc is not needed it's already included in the build tools do not install it.
- put the build tools in a known directory and add the bin directory inside to path.
and that's it you should be able to build by following the build-firmware section of this repo
make sure to use the flash tool included in the repo to flash your code the one in bouffalo_sdk did not make my RV debugger work even tho it flashed successfully
In case you still have build problems I added the out files that I built from the least commit (7f17747f98c1441e19410d41c9be37e6d126131b) at the time of this comment. out.zip Cheers.
Thanks for sharing the compiled binary, you saved me so much time.
Is there any chance to get this merged into the readme?
Thanks for the provided compiled binary. Any chance that out.zip also contains usb2dualuart? That would save a lot of efforts... Best regards.
Thanks for the provided compiled binary. Any chance that
out.zipalso containsusb2dualuart? That would save a lot of efforts... Best regards.
sure thing! here you go: out.zip
I didn't consider it because the .bin is available through sipeed download station and sipeed wiki here: https://dl.sipeed.com/shareURL/Accessories/RV-Debugger%20Plus
where I flipped the internet up and down to find usb2uartjtag ones and never did and I bought this as a jtag debugger form aliexpress
lol I didn't notice that it was for the RV-Debugger: I wanted to use it on my tang nano 20k... I had so many tabs open trying to find a solution to my problem, that I was not attentive enough. Thank you very much for this anyway.
Stéphane
Le 19 août 2025 à 15:44, Ahmed Soliman @.***> a écrit :
a7-github left a comment (sipeed/RV-Debugger-BL702#21) https://github.com/sipeed/RV-Debugger-BL702/issues/21#issuecomment-3200831161 Thanks for the provided compiled binary. Any chance that out.zip also contains usb2dualuart? That would save a lot of efforts... Best regards.
sure thing! here you go: out.zip https://github.com/user-attachments/files/21856532/out.zip I didn't consider it because the .bin is available through sipeed download station and sipeed wiki here: https://dl.sipeed.com/shareURL/Accessories/RV-Debugger%20Plus
where I flipped the internet up and down to find usb2uartjtag ones and never did and I bought this as a jtag debugger form aliexpress
— Reply to this email directly, view it on GitHub https://github.com/sipeed/RV-Debugger-BL702/issues/21#issuecomment-3200831161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA32R5JSFDDWX5Y6QTDXRQT3OMS4XAVCNFSM6AAAAABUXWVGIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMBQHAZTCMJWGE. You are receiving this because you commented.