check in
Completed

Multifunctional wireless downloader

PROMultifunctional wireless downloader

tag

212
0
0
0
Mode:Full

License

Public Domain

Creation time:2024-10-30 05:39:23Update time:2024-11-06 06:27:06

Description

Update Instructions

2023.10.23: Uploaded the test2 compressed package for unlimited download of the public beta stc51 microcontroller.

 

Question Requirements

Realize STC brand 51 microcontroller to download code, realize Arduino NANO to download code, realize STM32, CKS32, GD32 to download and debug the keil5 software.

B station demo video link:https://www.bilibili.com/video/BV1em4y1w73B/?spm_id_from=333.788&vd_source=dbc0eac6cacf8cb212bed2f4e771e112

B station welding production video tutorial link:https://www.bilibili.com/video/BV1v14y1j7r6/?spm_id_from=333.788&vd_source=dbc0eac6cacf8cb212bed2f4e771e112

 

Principle of Work

The USB on the sending end generates a CMSIS DAP device and a CDC serial port device. The CMSIS DAP device can be configured as a downloader in the keil software, and the CDC serial port device can be opened as a serial port device using the serial port debugging assistant.

Dio and clk at the receiving end are used as SW download ports (the negative pole of the power supply is best connected to Gnd at this time), Rx and Tx are used as wireless serial ports, and can also be downloaded to STC89C52RC and Arduino NANO (the negative pole of the power supply is best connected to NG at this time).

WiFi communication is established between the sender and the receiver through the TCP protocol. The sending end serves as the AP and the receiving end serves as the STA. Since the serial port and SW download share a channel, the speed will slow down or even cause errors when the serial port and SW are used at the same time.

 

Document Introduction

 

Production Process

For ESP01S, you must purchase the official version of Essence and burn it before soldering. It is inconvenient to burn after soldering. Optional burning software or arduino IDE burning, the specific burning configuration is as follows:

CH552 burning method: press and hold the button on the computer before connecting to the computer, then release the button and open the burning software WCHISPTool. The specific configuration is as follows:

The burning method of ESP12F on the microcontroller side: Fla from the pin header is connected to IO0 of ESP12F, so use the USB to TTL module to download, Tx and Rx are connected in reverse, Fla is connected to Gnd, first power on the USB to TTL module, and then use TypeC to When the microcontroller is powered on, you can choose burning software or Arduino IDE for burning. The specific burning configuration is as follows:

Acrylic housing purchase address:https://item.taobao.com/item.htm?spm=a1z09.2.0.0.6b752e8dQAsOIG&id=536932505082&_u=l2otn78942e7

The Arduino wiring diagram is as follows:

The STC51 wiring diagram is as follows:

The STM32 wiring diagram is as follows:

Announcements

1. The components are subject to the schematic diagram. If the tantalum capacitors in the components are replaced with ceramic capacitors, the communication distance will be shortened at best, downloading will be error-prone, and at worst it will become unusable.

2. The voltage regulator tube and SR05 in the circuit are used as protection components. They do not need to be soldered and will not affect normal functions. Note that they are ESP12F and the suffix is ​​F.

3. When downloading firmware, esp01s and esp12f firmware, the number in the suffix of the firmware file name represents the wifi name. Only by downloading the same number suffix can communication be established. When using multiple pairs, different suffix numbers need to be burned separately. Don’t forget to program esp01s. If you don’t program, the light will not be constant.

4. To download ESP12, I used USB to TTL to connect three wires, rx and tx were connected in reverse, Fla connected to USB to TTL GND, then plugged the USB to TTL into the computer first, and then plugged the typec power supply line into the computer. , the download baud rate is 115200, and it succeeds every time. If you want to download again, you need to unplug the typec and then plug it in. There is no need to unplug the USB to ttl.

5. When downloading sw, it is easy to make mistakes when using too long DuPont wire or poor quality DuPont wire. It is recommended to buy pure copper DuPont wire.

Design Drawing

Download File
The preview image was not generated, please save it again in the editor.

Attachments

OrderFile nameDownload times
1
CH552.zip
2060
2
TCP_WIFI_ESP8266V1.2.zip
2073
3
FLASH_DOWNLOAD_TOOLS_V3.6.3.zip
2324
4
CH552.hex
1231
5
ESP01SWiFiAccessPoint_0.bin
1207
6
WCHISPTool_Setup.exe
2159
7
esp8266V2.zip
4530
8
test2(51 full series of download test files, limited to 100 downloads, more stable than the previous version).rar
410
9
esp8266V2.ino.generic_0.bin
364
Add to Album
0
0
Share
Report

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation