Skip to content
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

Add documentation #12

Open
maxgerhardt opened this issue Feb 19, 2023 · 7 comments
Open

Add documentation #12

maxgerhardt opened this issue Feb 19, 2023 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@maxgerhardt
Copy link
Member

It should be documented what exact MCUs / eval / dev boards we support and what configuration options the framework each have.

Also how to get started with eval boards. Not setting the BOOT0/1 jumpers both to GND made me have some hickups in original bringup.

@maxgerhardt maxgerhardt added the documentation Improvements or additions to documentation label Feb 19, 2023
@gicking
Copy link

gicking commented Feb 27, 2023

just a note: AFAIK the CH32V00x devices don't have a built-in USB/UART bootloader, and have to be flashed via debugger.

Sorry, wrong information: the CH32V003 DS v1.2 states on p.1 that it does feature a bootloader. However, no further information is provided

@gicking
Copy link

gicking commented Feb 27, 2023

Question: do you know where I can find the bootloader protocol? Are you currently using the WCH tool? If yes, is that also available for Non-Win platforms?

@maxgerhardt
Copy link
Member Author

I'm trying to integrate the program wchisp (Open Source) for USB DFU uploads at #14, however it's not quite working for me yet. Not sure if also implements the UART upload.

Once that program has proven itself to at least work on my board, it'll be available cross-platform.

@maxgerhardt
Copy link
Member Author

I currently use the WCH-Link + OpenOCD combination to upload to my chip, which is already uploaded for most OS'es (#2), works great for upload and debugging.

@maxgerhardt
Copy link
Member Author

I've registered for a readthedocs.io website, now we have

https://pio-ch32v.readthedocs.io/en/latest/

being created from https://github.com/Community-PIO-CH32V/docs. No real docs were added yet though, but the page stands.

@maxgerhardt
Copy link
Member Author

Needs docs for "How to convert MounRiverStudio project to PlatformIO" desperately, see #53.

@FPGA-Computer
Copy link

Sorry, wrong information: the CH32V003 DS v1.2 states on p.1 that it does feature a bootloader. However, no further information is provided

The chip doesn't have a Boot pin to select Bootloader externally. Instead there is a non-volatile Mode bit that can be set to either jump to user code or bootload upon Reset. (16.3.4 OBKEY register)

See SystemReset_StartMode(uint32_t Mode) under /EXAM/SRC/Peripheral/src/ch32v00x_flash.c in the EVT application code example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants