ghaytweyhtoo

D1-ST-LINKV2

 
Overview

The project master is copied from engineer Chen Zhe (portal )

This ST-LINK uses TYPE-C port female input

 

The characteristic of this module is that the pin headers can be soldered to the in-line type to be installed on some modules. By reserving the corresponding header headers and their circuits on the board, the DuPont wire can be omitted.

Its 5V input, USB DM DP data, SWD CLK DIO virtual serial port RX TX, etc. can be directly connected through the vertical pin header and female connector to achieve operation.

This combination will be used on some self-made development boards in the future.

 

The functions are still the same, virtual serial port, debugging and development, etc.

For V2 firmware, use the suffix S4 (this version can burn F103C8T6, because the space of C8T6 is 64K)

For V2.1 firmware, use the suffix M18 (this version requires F103CBT6, which has a space of 128K)

A little bit of sorting out the resources required for firmware burning

 

 

(Updated on July 24, 2022) Use the new version of the file in the attachment, unzip it and click the corresponding bat file directly to burn. There is no need to configure environment variables!

 

Here I will briefly outline the method of burning using openocd. If you want to use STLINK to burn, you can go to Chenzhe's project (see the portal above)

According to different burning requirements, just execute different bat files.

But you need to add openocd to the environment variable before execution

 

 

Next open the openocd folder and enter the bin directory

 

 

If the operation is successful, press win+R and enter cmd to open the command line, enter openocd and press Enter as shown below:

Then the operation was successful

 

Return at this time

Just select the version you want to program (note that your debugger has been connected to the swd interface on the board)

Currently, it can be programmed through DAPLINK normally, and STLINK can be programmed in a simpler way (see the portal at the beginning of the project description)

If the final result is as shown in the picture above, congratulations you have completed the burning

After that, KEIL or other software will pop up to prompt you to upgrade the version. You can choose to upgrade. The firmware version of S7 is relatively old, but it can still be used. The upgrade at this time is that the software will directly help you upgrade through USB, and it can be completed with one click.

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 07:44:00

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号