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

Support wchisp uploder #14

Closed
maxgerhardt opened this issue Feb 19, 2023 · 4 comments
Closed

Support wchisp uploder #14

maxgerhardt opened this issue Feb 19, 2023 · 4 comments

Comments

@maxgerhardt
Copy link
Member

When the chip is in DFU bootloader mode (BOOT0:VCC, BOOT1:GND), all but CH32V00x chips expose a USB device that can be used for uploading, and all chips also feature a UART bootlaoder (running in parallel).

A tool that could support uploading to these chips is https://github.com/ch32-rs/wchisp.

@maxgerhardt
Copy link
Member Author

We are currently blocked to use this tool per ch32-rs/wchisp#22 and ch32-rs/wchisp#24.

@maxgerhardt
Copy link
Member Author

We are also blocked through ch32-rs/wchisp#26 since flashing isn't actually working although it works with WCH tools and the chip is unlocked.

@maxgerhardt
Copy link
Member Author

maxgerhardt commented Mar 12, 2023

Integration happened in 945c679, now

upload_protocol = isp

is available in the platformio.ini for using WCHISP.

Updated project tasks as well with what WCHISP can do

grafik

upload_protocol = wch-link (default) will still use WCH-Link.

All binary packages are pending in the PIO registry.

@maxgerhardt
Copy link
Member Author

Registry packages were approved and switched to in 1edc2f8.

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

No branches or pull requests

1 participant