My product is ready and I’m preparing for production programming.
The design is based on the
CH32V203. I’m looking to automate the following steps on assembled PCBs using
bash on Windows (e.g. Git Bash / WSL / scripts):
- Disable read protection
- Mass erase
- Program firmware
- Verify
- Re-enable read protection
- Reset and run the code
I'm using WCH-Link as debug adaptor
Any pointers to documentation, example scripts, or real-world experiences would be greatly appreciated.
Thanks!