Embedded development: ST-LINK V2.1 emulator, Type-C interface

ST-LINK V2.1 emulator, Type-C interface

Although the previous version was also V2.1, the interface used was USB Micro, which did not support reversible plugging and was not compatible with the current common mobile phone data cables. When traveling, you need to bring an extra one. Wire.
Now I finally changed the interface of my ST-LINK so that I can use the TYPE-C cable of my mobile phone. It is also easier to travel on business. Many small products on the desktop can share the TYPE-C cable. , the table is cleaner

As shown below
Please add image description
Please add image description
The following is a TYPE-C plug, used for output connection to the target board. If your target board has a matching TYPE-C socket (interface line sequence definition to be the same), you can plug it in and use it directly.
Please add image description
The picture below is a TYPE-C socket, connected to the computer through a TYPE-C data cable
Please add image description

It comes with the blessing of faith and the blessing of the gods.

The main chip is STM32F103CBT6, which is very easy to buy.

Full set of information download:https://download.csdn.net/download/13011803189/88521793

For specific debugging and usage, see my other previous article, which is very detailed. This time only the hardware interface has been updated, and nothing else has changed.

Reference article:Homemade ST-Link V2.1, with serial port, can automatically update the firmware, including a full set of data download

Interface Description:

Type-c plugs and sockets are both 24Pin plywood connectors.When making boards, you should pay attention to the board thickness of 0.8 or 1.0. Do not use conventional 1.6mm< /span> This emulator is compatible with ST-LINK 2.1, supports the emulator’s own serial port, and supports automatic firmware upgrade The yellow 3-pin pin is used to burn the initial firmware of this emulator. After burning, it is no longer needed, and the firmware can be upgraded in the future. Don't use it unless you burn out the firmware and need to re-initialize it, in which case it will be used, so this pin can be soldered or not. TYPE-C female socket: The plug of the mobile phone data cable is inserted here On the base, connect to the computer The black horn socket and the TYPE-C male plug next to each other achieve the same function, but with different interface forms. You can choose either one. It contains SWD debugging line, reset RESET line, serial port TX and RX lines, +5, +3, GND power line
Be careful not to mistake the TYPE-C plug and socket. The identification method is that the plug is clamped and fixed on one side, and the socket is clamped and fixed on both sides. , because the opening of this plywood connector is only 0.8 or 1.0, you need to make the board according to the specifications you bought.



Guess you like

Origin blog.csdn.net/13011803189/article/details/134333212