1. Download the Flash of stm32f103c8t6 Using ISP

I just do my friend a favor to write the software of DTU(Data Transfer Unit). The MCU is STM32f103c8t6, as known the most popular chip in the field of industrial control. I used this kind of mcu many years ago and now i would pick it up.
The stm32f103c8t6 has three kinds of starting mode:


qidong.png

BOOT1 = x , BOOT0 = 0 mcu starts from user flash, this is the normal working mode
BOOT1 = 0, BOOT0 = 1 mcu starts from system memory in which the bootloader is stored, usually this is also called ROM memory. This kind of mode is set by the factory.
BOOT1 = 1, BOOT0 = 1 mcu starts from SRAM, this kind of mode is being used for debugging.
Now I will use the ISP to download the flash. The BOOT0 will be pulled up to VDD(set by 1), BOOT0 will be pulled down to GND(set by 0), and the pin map of stm32f103c8t6 is shown as following:


stm32f103c8t6_LQFP48.jpg

The PA9 is TX of USART1 and PA10 is RX of USART1, when the two pins connects the USB-TLL com serial port , pls check the Tansfer is conjoint with Read.
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容