ST-Link with UART and SWD. TXD-RXD can be switched, CLK-DIO can be switched, with switching function recording, and can be restored after power outage. The commonly used 5P-2.54 pin header method is used to lead out.
Usage:
1.TRX is the serial port switching function, SWD is the Link switching function, and the two are exchanged within the group.
2. Use 5P pin header, personal preference is 4P (3V3-DIO-DIO-GND)
Function changes:
1. Select STM32F103CBT6 as the main control, the firmware of V2-1 is greater than 64K
2. Choose the SPDT chip by yourself, I use the stock BL1532 , Switches such as SGM7227 can also directly replace
the 0805 two-color LED used in 3.LED lights. In the past, the stock
4.RT9013 of a certain treasure was not available. Open the low legs of the board and short-circuit 1-2-3 to solder XC662- 3.3V is sufficient 5. The key signal exchange control microcontroller can be STC8G1K08 or STC8F1K08 series 6. Add key signal exchange control with power-off recovery function (stored in internal EEPROM) 7. Add key signal exchange control microcontroller double-button press download program Function (the light off indicates this state)
Note: It is a matter of time, too lazy to draw the schematic diagram (too simple)
The ST-Link firmware and control microcontroller firmware have been placed in the attachment.
Please update the firmware by yourself through STM32 ST-LINK Utility or ST-LinkUpgrade, etc. The tool update confirms that the MCU is programmed for the first time or the download cannot be detected after the program is erased. The MCU needs to be removed for programming or the BL1532 must be removed for programming. In the normal state, pressing the double button can update the control MCU program.
Since 3V3 does not have external isolation, access External devices cause restarts or instability, etc., and need to be powered on or simply isolated. 3V3
version changes:
1. This version is the first version, implemented by the official ST-link+DPDT Analog Switch
. 2. After using it for a while, I found that except for the restart problem when powering on, Everything else is normal
. 3. This version (first version) will stop maintenance and updates.
4. The next version will adopt the open source DAP-link or ST-link+MCU method
as appropriate, and add 3V3 output control and voltage and current adjustment monitoring functions
as appropriate. TVS protection will be added as appropriate. And 3V3 protection and 1.2~5.5V level matching issues,
the display screen will be added as appropriate.
September 7, 2022 18:54
The following are actual pictures, I am too lazy to record the video
