CH32F103C8T6 China chips

Bootloader for STM32F103 and STM32F4xx micro-controllers
No special driver is required. Support for Windows, Linux and Mac Operating System
Post Reply
jenspogo
Posts: 29
Joined: Mon Feb 24, 2020 10:42 am

CH32F103C8T6 China chips

Post by jenspogo »

Hey guys,

I had some problems using the HID Bootloader. (using ST Link to programm works fine. Serial.println() as well) After flashing the HID Bootloader the board wont be recognized. Also with Boot1 pin HIGH.
What I found out is, that I got some Boards with a fake processor called CH32F103C8T6 from China Key System & Integrated.
Is it possible to use the HID Bootloader with that MCUs?

Greetings,
Jens
mrburnette
Posts: 409
Joined: Thu Dec 19, 2019 1:23 am
Answers: 1

Re: CH32F103C8T6 China chips

Post by mrburnette »

jenspogo
Posts: 29
Joined: Mon Feb 24, 2020 10:42 am

Re: CH32F103C8T6 China chips

Post by jenspogo »

hey,

thank you for your reply and the informations!
But there is still the question about the bootloader right? or do I have to interpret this as a "no"?

Greetings!
ag123
Posts: 702
Joined: Thu Dec 19, 2019 5:30 am
Answers: 3

Re: CH32F103C8T6 China chips

Post by ag123 »

if it works count yourself lucky, there are many that are simply duds. and worse on the web they advertise as stm32f103 blue pills, many get a whole batch of fakes. i'd guess we'd simply need to buy from more reliable ones, or make our own boards, we can use any of the whole range of mcus and need not be limited to stm32f103
GonzoG
Posts: 105
Joined: Wed Jan 15, 2020 11:30 am
Answers: 7

Re: CH32F103C8T6 China chips

Post by GonzoG »

Those binary files available for download are for STM chips.
But this bootloader should work with with CH32GF103 after some changes in code.
mrburnette
Posts: 409
Joined: Thu Dec 19, 2019 1:23 am
Answers: 1

Re: CH32F103C8T6 China chips

Post by mrburnette »

jenspogo wrote:
Tue Nov 24, 2020 7:17 am
...
But there is still the question about the bootloader right? or do I have to interpret this as a "no"?
I know no more than stated in the Hackaday areticle:
This CH32F103 MCU is produced by a Chinese company called WCH, with the (Chinese-only) datasheets and reference manual both provided for download. At a cursory glance, both the datasheet and manaul show a chip that’s practically identical to the STM32F103, with identical memory mapping and peripheral registers.

Hooking it up to an ST-Link/V2 dongle and connecting to it with OpenOCD results in the same CPUTAPID error as with the CS32F103 MCU when using the STM32F1xx profile file. After making the same change to the stm32f1xx.cfg file as suggested by others, I was able to flash the ‘Blinky’ example from my Nodate STM32 project onto the board without further issues.
As I do not own this clone part, the link provided is the most assistance I can provide.

I have however used another clone successfully:
viewtopic.php?f=21&t=441
blueskysea
Posts: 1
Joined: Mon Nov 30, 2020 6:58 am

Re: CH32F103C8T6 China chips

Post by blueskysea »

hello:
This chip is a new very cheap chip with arm core, it has not been on the market for a long time, so most people do not know it well. I introduce you to several download methods.
1.stlink or other xxlinks download
you needs to ready fot the keil IDE and download a device library----Keil.WCH32F1xx_DFP.1.0.1.pack. Then follow the general stm32 download method. Note that the flash download algorithm is different, and you must choose the one provided by the manufacturer;
You can refer to the picture description in a development board file:
http://www.wch.cn/downloads/file/299.ht ... nEpvPKJDbb


2. USB or serial port download directly
This requires downloading the official software: WCHISPTool
Address:
Note: boot1 jumps to high,this chip has two USB interfaces,if you use usb,then you should choise the PB6 & PB7 ,but not PA11 PA12
http://www.wch.cn/downloads/file/196.ht ... bKZsSI08DL
Post Reply

Return to “STM32 HID bootloader”