본문으로 바로가기

STM32F103C8T6(Blue Pill, Black Pill)를 ST-Link V2로 만들기


참조 사이트

https://microcontrollerelectronics.com/turn-an-stm32f103c8t6-blueplll-into-an-stlink-programmer/

http://slemi.info/2018/08/14/making-your-own-st-link-v2/


STM32F103C8T6에 USB-UART를 연결하고 (Vcc, GND, Rx,Tx) st.com의 Flash Downloader에서

아래 첨부파일을 STM32F103C8T6에 업로드 해 준다.


STLinkV2.J16.S4.bin


PC의 USB를 STM32F103C8T6에 연결 해주고, ST-Link 윈도우 드라이버를 깔아주면 정상적으로 인식한다.


이후, ST-Link Utility에서 ST-Link Firmware Update를 해주면 된다.


사용은 아래와 같이 하면 된다(오른쪽이 ST-Link로 사용하는 STM32F103C8T6)


중요:

1) 저항 : 220Ohm 2ea

2) PB12와 PB14를 점퍼 해줘야 한다.