💾
EC
  • Introduction
  • EC Course
    • Syllabus
    • Preparation for EC
    • Tutorial
      • Tutorial: arduino-stm32
        • Tutorial: arduino-stm32 Installation
        • Tutorial: arduino-stm32 Part1
        • Tutorial: arduino-stm32 Part2
      • Tutorial: MDK uVision
        • Tutorial: Installing MDK uVision
        • Tutorial: Create a Project with uVision
        • Tutorial: Adding library header in uVision
        • Tutorial: Re-using Project Configuration
        • Debugging in uVision
      • Tutorial: PlatformIO in CLion
      • Tutorial: PlatformIO in VSCode
      • Tutorial: Repository Management
      • Tutorial: Managing library header files
      • Tutorial: PinName Configuration
      • Tutorial: Bitwise Macro
      • Tutorial: Custom initialization
      • Tutorial: Documentation
      • Tutorial: Creating Application API
      • Tutorial: 7-Segment Display
      • Tutorial: DC motor driver connection
      • Tutorial: USART with TeraTerm
      • Tutorial: Finite State Machine programming
      • Tutorial: Bluetooth
      • Tutorial: Zigbee with Nucleo board
    • LAB
      • LAB Report Template
      • LAB: Smart mini-fan with STM32-duino
      • LAB: Portable Fan with mbed
      • LAB: GPIO Digital InOut
      • LAB: GPIO Digital InOut 7-segment
      • LAB: EXTI & SysTick
      • LAB: Timer & PWM
      • LAB: Stepper Motor
      • LAB: Input Capture - Ultrasonic
      • LAB: USART - LED, Bluetooth
      • LAB: ADC - IR reflective sensor
      • LAB: Line Tracing RC Car
    • Sample code
      • Code Templates
    • Hardware
      • Nucleo-F411RE
      • LAB Hardware
        • Electronic Chips
        • HUINS Embedded Kit
    • Projects
      • Line Tracing Car Project
      • Design Project
        • Past Projects
      • Project Grading Criteria
    • Study Resource for MCU
      • Hexa-Decimal Table
      • Bitwise Op for Register
      • System Clock
      • Timer
      • USART
      • ADC
  • STM32 M4 Programming
    • Documentation
      • C++ API Docs
    • Firmware Library
      • PinName Configuration
      • GPIO Digital
      • RCC
      • EXTI_SysTick
      • TIMER
      • USART
    • Troubleshooting
    • mbed for STM32
      • Tutorial: mbed-Part 1
      • Tutorial: mbed - Part 2
      • Tutorial: mbed - Part 3
      • Using mbed API on uVision
    • mbed OS
  • Other Programming
    • Arduino
    • Socket Programming
      • Window Socket Programming
      • Arduino WiFi
    • Cube-MX
    • Github
    • Markdown
      • Example: API documentation
    • MATLAB
  • C Programming
    • C-Programming Lessons
      • Installing Visual Studio Community
        • Visual Studio Community 2022
      • Installing VS Code(Mac/Linux)
      • Creating Header Lib
      • Pointer
      • Array
      • 2D Array
      • Structure
      • Dynamic Alloc
      • Bitwise Operation
  • Numerical Programming
    • Syllabus
    • Preparation for NP
    • Math Review
    • Tutorial
      • TA Session Video
      • Tutorial: NP Library Header Files
      • Tutorial - Sine Taylor
      • Tutorial: Passing a Function, Function callback
      • Tutorial: Nonlinear solver
      • Tutorial: Differentiation
      • Tutorial: Integration
      • Tutorial: Matrix Structure
      • Tutorial: Eigenvalue problem
      • Tutorial: ODE-IVP
      • Tutorial: Curve Fitting
      • Tutorial: Create Github Repos of NP lib
      • Tutorial: Version Control in Github
      • Tutorial: Documentation with Markdown
      • Exercise: Version Control and Documentation
    • Example: MATLAB
    • Example: NP Library
    • Assignment
      • Assignment Factorial and Power
      • Assignment: Version Control and Documentation
    • Problem Bank
Powered by GitBook
On this page
  • Installation
  • Download
  • Install uVision
  • Install Packs
  • Install ST-Link Driver
  • Update Install ST-Link Driver

Was this helpful?

  1. EC Course
  2. Tutorial
  3. Tutorial: MDK uVision

Tutorial: Installing MDK uVision

PreviousTutorial: MDK uVisionNextTutorial: Create a Project with uVision

Last updated 9 months ago

Was this helpful?

Installation

윈도10 User(계정) 이름이 한글이면 설치 후 동작이 안 될 수 있음!!!

무조건 영문 계정에서 설치해야 함!!!!

Download

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 선택

uVision이 업데이트 설치 완료 될때까지 Packs>Action:install이 비활성화 됨

On Right Window Pane: Packs tab: Keil::STM32F4xxFxx_DFP Install

Install ST-Link Driver

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

  1. Connect MCU to PC

  2. 윈도우 장치 관리자 > 범용직렬버스장치> ST-Link Debug >드라이버 업데이트> Select en-stsw-link009 unzipped folder

MCU board (STM32F411) must be connected to your PC to install the USB driver

Update Install ST-Link Driver

Go to keil.com and Download MDK-Lite (MDK-Core) :

What is ST Link utiliy?

Download the file and copy it to the subfolder of your MDK installation directory, such as C:\Keil_v5\ARM\STLink\

click here
Download driver (STSW-LINK009) here
https://m.blog.naver.com/ansdbtls4067/221510252896
When uVision crashes when compiling
ST-Link driver STLinkUSBDriver.dll