Tutorial: Installing MDK uVision
Installation

Download
Go to keil.com and Download MDK-Lite (MDK-Core) : click here
v5.35 @ 2021.8

Install uVision
Start installation.
This lecture uses mdk535.exe

Pack directory는 default로 설정 (경로에 한글이름 없게, 띄어쓰기 지양)

It will ask for Ulink driver installation. Proceed with installation
Keil Tools 범용 직렬버스 컨트롤러 설치(USB 연결 드라이브)

Install Packs
After the uVision IDE is installed, we need to install necessary software Packs.
We are going to use STM32F411RE board for the lab, and we will install additional software packs specific for this board.
If you use STM32F401RE, then search for this model
On Left Window Pane: Devices tab: STMicroelectronics > STM32F4 Series> STM32F411RE> STM32F411RETx 선택
On Right Window Pane: Packs tab: Keil::STM32F4xxFxx_DFP Install

Install ST-Link Driver
Download driver (STSW-LINK009) here
ST-LINK, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 USB driver signed for Windows10. This USB driver (STSW-LINK009) is for ST-LINK/V2, ST-LINK/V2-1 and STLINK-V3 boards(STM8/STM32 discovery boards, STM8/STM32 evaluation boards and STM32 Nucleo boards).
It declares to the system the USB interfaces possibly provided by the ST-LINK: ST Debug, Virtual COM port and ST Bridge interfaces. The driver must be installed prior to connecting the device, in order to have a successful enumeration.
After you download "en.stsw-link009_v2.0.2.zip", unzip the file.
Update the driver by
Connect MCU to PC
윈도우 장치 관리자 > 범용직렬버스장치> ST-Link Debug >드라이버 업데이트> Select en-stsw-link009 unzipped folder

What is ST Link utiliy? https://m.blog.naver.com/ansdbtls4067/221510252896
Update Install ST-Link Driver
When uVision crashes when compiling Download the ST-Link driver STLinkUSBDriver.dll file and copy it to the subfolder of your MDK installation directory, such as C:\Keil_v5\ARM\STLink\
Last updated
Was this helpful?