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

Programming without LinkE? #134

Open
thor171 opened this issue Jul 5, 2024 · 2 comments
Open

Programming without LinkE? #134

thor171 opened this issue Jul 5, 2024 · 2 comments

Comments

@thor171
Copy link

thor171 commented Jul 5, 2024

Hi,
I'm new to the CH32x035. I made a pcb for testing purposes and I'm wondering, how to program it using it's USB interface. The datasheet says: "Built-in 3328B System memory (Bootloader) for storing the system bootloader (Factory-cured bootloader)." Does "Factory-cured" mean, there is already a bootloader flashed by default?
If that's the case, is it possible to flash the device without the need for a LinkE?
Anyways, a little bit more documentation on the programming process in general would be great, I couldn't find much.

@maxgerhardt
Copy link
Contributor

Exactly, the chip has a USB bootloader. Some good info can e.g. be found in https://github.com/wagiminator/CH32X035-USB-PD-Tester?tab=readme-ov-file#compiling-and-uploading-the-firmware-linux.

Specifically: Bootloader must be entered by pulling the "UDP" / PC17 HIGH at boot, then releasing it, plus the hardware connections you need for the USB plug, etc. The tool wchisp can flash it then. As can the official WCHISPTool.

@vimalb
Copy link

vimalb commented Jul 8, 2024

I think we're all anxious for another release to be cut - there are some awesome new features including tinyusb and wchisp integration:
#129

You can test them out main branch if you'd like - credit to @hathach for submitting relevant MRs

@maxint-rd maxint-rd mentioned this issue Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants