# Introduction
* **Original project portal**
>> Original A-port version: [Homemade ST-LINK V2-1 (available for personal testing) - Jialichuang EDA open source hardware platform (oshwhub.com)](https:// oshwhub.com/CYIIOT/ST_LINK-V2_1#P4)
>> Improved C port version: [Type-C_ST-LINK V2-1 - Jialichuang EDA open source hardware platform (oshwhub.com)](https://oshwhub.com /CYIIOT/LOw6HH804VYwwzjE7fS1yQllzyMIY3B7)
## 1. Features
are based on [Improved C-port version] for device modification and re-layout
## 2. Firmware burning
uses JLink for burning
## 3. EDA tool
uses Lichuang EDA Professional Edition for drawing
## 4. LDO modification
Since I have an LDO [LP2992IM5-3.3/NOPB] on hand, I replaced the original RT9013-33GB with LP2992IM5-3.3/NOPB.
The two LDO packages are the same. RT9013 is cheaper, so just choose RT9013
! [image.png]

So when using RT9013-3.3, C5 in the picture below can be soldered empty
! [image.png]

## 5. Crystal oscillator Modify
the original crystal oscillator [material number] C111120 and replace it with the existing crystal oscillator on hand [material number] 】C252310, the existing crystal oscillator on hand is too large, so the layout has been greatly changed
! [image.png]

## 6. Layout and routing.
The original routing is basically 5mil or 6mil. This project will widen the routing to 10mil
* Layout
![image.png]

**Original trace**
![image.png]

* **Wide trace**
![image.png]

## 7. Firmware burning
* Firmware
>> V2.J28.M18 [https://oshwhub.com/attachments/2020/7/qnbaX4ArFPq1kC6rNr5PCqaKPr6XdvfX27ZRGpFn.zip?operation=downlo ad](https://oshwhub.com/attachments/2020/7/qnbaX4ArFPq1kC6rNr5PCqaKPr6XdvfX27ZRGpFn.zip?operation=down load)
* Firmware update tool
>> STLink Utility [https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html ](https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html)
* Steps
a) Burning firmware
>> JFlash burning tutorial [J-flash’s simple usage tutorial_boiling cabbage blog-CSDN blog](https://blog.csdn.net/weixin_50903661/article/details/124725521)
>> JFlash project: See the attachment, named JFlash-STM32F103CBT6.jflash.
Use the JFlash tool under JLink to open the attached project for burning. The completion of burning can be verified in keil
! [image.png]

**! ! ! ! ! ! ! ! Note: Do not use Kei to update firmware. I always get STLink Connection Error or No Target Connect after updating firmware with keil**
b) To upgrade the firmware
, find ST-LinkUpgrade under the STLink Utility tool after installation. This tool will Upgrade the firmware from V2.J28.M18 to V2.J37.M26. This version of the firmware has more functions
* Just upgrade according to the default options
![image.png]

## 8. Effect
file device
![image.png]

Serial port
![image.png]

Debug port
![image.png]

kei view
![image.png]