-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any plans to add support for picorvd? #508
Comments
I'm not sure what you mean by fuses. Unlike the AVR chips, all parts of flash can be programmed without special methods. The user code can program the 'option bytes' which govern a few chip level properties. Please see the example program: https://github.com/cnlohr/ch32v003fun/blob/master/examples/flashtest/flashtest.c |
Oh, that helped. Yes, I was talking about the option bytes Thanks! |
I happen to have an ESP32 S2 Mini board, it turns out. so I etched myself a shield to use it as a
So I compiled the So thank you @dwillmore for the advice, and thank you the one who added this hint into minichlink tool of this project (likely @cnlohr). I wonder whether we could be able to configure it in less steps maybe. Just curious. |
You can set option bytes by writing the directly with minichlink: |
I would love to support picorvd, but, it's very squarely centered around just being a GDB backend. That said, it wouldn't be too hard to port the bitbang rvswdio library to support SWD and SWIO both, https://github.com/cnlohr/rv003usb/blob/master/testing/rvswdio_programmer/bitbang_rvswdio.h But, I am just not into the rp2040 myself. |
I'm currently using
picorvd
as my main and only programmer hardware for programming some CH32V003 boards.It is based on a Raspberry Pi Pico (RP2040) board and implements an SWD link. I can upload firmwares using GDB and this programmer, but it would probably be also nice to be able to config fuses, I guess.
What do you think?
The text was updated successfully, but these errors were encountered: