1794 views|3 replies

3

Posts

0

Resources
The OP
 

About using USB to RS232 to download programs to STM32 [Copy link]

Hey guys, I want to ask a question, how to use USB to convert RS232 to download the program to the STM32 development board [cover face

This post is from stm32/stm8

Latest reply

This is complicated. Generally, you have to write the communication protocol yourself and then use the serial port to download the program to the microcontroller.   Details Published on 2022-7-4 09:43
 

6547

Posts

0

Resources
2
 

This introduction contains a lot of information

The two pins of the stm32 chip are boot1 and boot0.

When downloading the program, boot1 is connected to ground and boot0 is connected to 3.3V high level.

After connecting, press the reset button, and then start downloading the program using the USB to serial port. After the download is completed, connect boot0 to ground, press the reset button, and the program starts running.

This post is from stm32/stm8
 
 

506

Posts

0

Resources
3
 

You can find the corresponding chip and there will be corresponding serial port ISP serial port download software

Boot0 uses rts control, and boot1 connected to 0 can automatically control the download, without the need to manually control the mode of these two signals.

This post is from stm32/stm8
 
 

6742

Posts

2

Resources
4
 

This is complicated. Generally, you have to write the communication protocol yourself and then use the serial port to download the program to the microcontroller.

This post is from stm32/stm8
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list