CH32 not working in IDE

So just plugged my CH32 (STM32 alternative), and it doesn't show up on the IDE ports list.
I've tried updating drivers, but I don't really know where to start.
Here is the error I get:
image
And the IDE:
image

Does anyone know what is going on here and how to fix it?

One guess is that the boards has no bootstrap loaded.
How has it been used earlier?

It is brand new. Just arrived in the mail today.

Which TTL-to-USB chip is on the board? How does Windows see it in device manager; which group, which name/description?

Please explain what/how you tried?

I don't know.



2022-10-06 17 14 46

I tried to use this:
2022-10-06 17 18 42
But it wouldn't even install.

image
image
image

EDIT: I have now soldered the pins to the board. I have n idea how the jumpers should be positioned.

One thing to note is that this board already has the blink sketch on it from the factory. The user LED blinks, when reset it turns off, then starts back up soon thereafter.
It resets extremely fast.
Also, I want to use a USB to program it if I can.

this is probably exactly the problem I described here: How good is STM32? - #23 by b707

STM32 boards don't necessarily come with an Arduino-compatible USB bootloader, and you might have to load one via the Serial bootloader (which is built into STM32 cpus' ROM. (I'm not sure about CH32.)) And your "blue-pill-like" board doesn't have a USB/Serial chip, so you'll have to do that with an external USB/Serial connector.

I haven't actually done this myself, but it ought to be covered in STM32 tutorials.

1 Like

So why does it have a USB connector if it doesn't have a USB chip??

I'm trying to follow this:

And I've gotten a lot further!
But now I'm getting this error when I try to connect to the board in the flash software.

The stm32 directly supports usb on its internal hardware, iff it is running firmware that supports that usb hardware. The rom bootloader supports only serial on the smaller stm32f chips, but it can be used to load a usb-capable bootloader that lives in flash.

Ah, ok. That makes sense. I al trying to use my Uno as a USB-TTL converter so I can upload the righr bootloader. But I get the error as in post #9

Just a warning, the Uno is a 5V device and the CH32 more than likely 3.3V. In which case you should not connect the Uno's TX directly to the CH32's RX.

1 Like

It does have a pin labeled V5, I'm assuming that means 5 volts??
It's right below the V3 pin

No idea, not familiar with your board.

But having a 5V pin does not necessarily mean that the processor runs on 5V.

1 Like

There is a voltage regulator on board - DE-A10 by the looks of it.
I am quite surprised about this board - very few components!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.