Keil MDK integration
In order to use J-Link with Keil µvision, install the SEGGER software & documentation pack first. Please verify that your J-Link software is up to date.
After that, start Keil µvision and open your project file as shown below:
| Used components | |||||
|---|---|---|---|---|---|
| IDE | Keil MDK V4.23 | ||||
| Emulator | J-Link | ||||
| J-Link SW Version | V4.40c | ||||
| Evalboard | STM32F103VB | ||||
- Select Project | Open Project... from the main menu
- Select example project "Blinky.uvproj" from %InstallationDirection%\ARM\Boards\ST\STM32F10X_EVAL\
- Select Project | Options for Target ... from the main menu
- Click the "Device" tab in order to select your target device:
- Click on the Debug tab and select Cortex-M/R J-LINK / J-Trace
- In order to modify J-Link specific settings click the Settings button in the debug menu and a new dialog will show up:
- Click the Build button
- In order to start a debug session, click the Debug button from the Toolbar




Now you are ready to go
Now you can start debugging and use J-Link. Please note that some ARM cores require an init file to be executed before debugging can start; this init file typically initializes certain parts of the ARM chip (memory access) that are required for the RAM to function.

Keil MDK
