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
CH32F103C8T6 China chips
-
- Posts: 358
- Joined: Thu Dec 19, 2019 1:23 am
Re: CH32F103C8T6 China chips
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!
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!
Re: CH32F103C8T6 China chips
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
Re: CH32F103C8T6 China chips
Those binary files available for download are for STM chips.
But this bootloader should work with with CH32GF103 after some changes in code.
But this bootloader should work with with CH32GF103 after some changes in code.
-
- Posts: 358
- Joined: Thu Dec 19, 2019 1:23 am
Re: CH32F103C8T6 China chips
I know no more than stated in the Hackaday areticle:
As I do not own this clone part, the link provided is the most assistance I can provide.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.
I have however used another clone successfully:
viewtopic.php?f=21&t=441
-
- Posts: 1
- Joined: Mon Nov 30, 2020 6:58 am
Re: CH32F103C8T6 China chips
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
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