top of page

Remote learning support

Public·37 members
John Young
John Young

Learn How to Use Keil Uvision 5 Keygen to Activate Your Software until 2032


Introduction




Keil Uvision 5 is a complete software development solution for Arm-based microcontrollers. It includes an integrated development environment (IDE), a compiler, a linker, a debugger, and various software components that enable you to create, build, and debug embedded applications for different devices and platforms. Keil Uvision 5 supports all Arm Cortex-M, Armv8-M, SecurCore, and legacy Arm microcontrollers.




Keil Uvision 5 Keygen



In this tutorial, we will see how to create a new project in Keil Uvision 5 for STM32F103C8 microcontroller, which is based on Arm Cortex-M3 core. We will use the CMSIS (Cortex Microcontroller Software Interface Standard) and SPL (Standard Peripheral Library) libraries to access the core and peripheral features of the device. We will write a simple program that blinks an LED on the STM32F103C8 board. We will also learn how to configure the project options, build the program, and debug it on the target device using the ULINK debug adapter.


This tutorial is intended for beginners who want to get started with Keil Uvision 5 and STM32 microcontrollers. It assumes that you have some basic knowledge of C programming and Arm architecture. You can also apply the same steps for other STM32 devices and libraries.


Prerequisites




To follow this tutorial, you will need:


  • A Windows PC with Keil Uvision 5 installed. You can download it from here.



  • An STM32F103C8 development board. You can use any board that has this microcontroller, such as Blue Pill or Nucleo-F103RB.



  • A ULINK debug adapter. You can use any ULINK family product, such as ULINK2 or ULINKplus. You can also use other debug adapters that are compatible with Keil Uvision 5, such as ST-LINK or J-Link.



  • A USB cable to connect the debug adapter to the PC.



  • A mini USB cable to power the STM32F103C8 board.



  • An LED and a resistor (optional). If your board does not have an onboard LED, you can connect an external LED with a resistor (220 ohms) to pin PC13 of the microcontroller.



Installing Keil Uvision 5




To install Keil Uvision 5 on your PC, follow these steps:


  • Go to the Keil Uvision 5 download page and click on the Download button.



  • Save the file MDK525.EXE to your PC and run it as administrator.



  • Follow the instructions of the setup wizard to install Keil Uvision 5 and its components. You can accept the default settings or customize them as per your preference.



  • When the installation is complete, launch Keil Uvision 5 from the Start menu or the desktop shortcut.



  • You will see the Keil Uvision 5 IDE with a welcome screen. You can close the welcome screen by clicking on the X button at the top right corner.



Congratulations, you have successfully installed Keil Uvision 5 on your PC!


Installing software packs




Keil Uvision 5 uses software packs to add support for different microcontroller families and devices. Software packs contain device-specific information, such as header files, startup code, flash algorithms, and peripheral drivers. You can use the pack installer to download and install software packs from various vendors.


To install software packs for STM32 microcontrollers, follow these steps:


  • In Keil Uvision 5, go to Project -> Manage -> Pack Installer. This will open the pack installer window.



  • In the pack installer window, go to the Devices tab and expand the STMicroelectronics node. You will see a list of STM32 microcontroller families, such as STM32F0, STM32F1, STM32F2, etc.



  • Select the STM32F1 family and click on the Install button at the top right corner. This will download and install the software pack for STM32F1 devices from STMicroelectronics.



  • Repeat the same process for any other STM32 family that you want to use in your projects.



  • When you are done, close the pack installer window.



You have now installed the software packs for STM32 microcontrollers. You can use them to create projects for various STM32 devices in Keil Uvision 5.


Creating a new project




To create a new project in Keil Uvision 5 for STM32F103C8 microcontroller, follow these steps:


  • In Keil Uvision 5, go to Project -> New uVision Project. This will open a dialog box to select a location and a name for your project.



  • Browse to a folder where you want to save your project and enter a name for your project, such as Blink_LED. Click on Save.



  • You will see a dialog box to select a device for your project. You can use the search box to find your device by typing its name or part number. Alternatively, you can use the device database to browse through different vendors and families of devices.



  • In this tutorial, we will use the device database to select our device. Expand the STMicroelectronics node and then expand the STM32F1 Series node. You will see a list of subfamilies of STM32F1 devices, such as STM32F100xx, STM32F101xx, STM32F103xx, etc.



  • Select the STM32F103xx subfamily and then select the STM32F103C8 device from the list. Click on OK.



  • You will see a dialog box asking if you want to copy the startup code to your project folder. Click on Yes. This will copy the startup code file (startup_stm32f103x8.s) to your project folder.



  • You will also see a dialog box asking if you want to add RTE (Run-Time Environment) components to your project. Click on No. We will add them later using the software components dialog.



  • You have now created a new project in Keil Uvision 5 for STM32F103C8 microcontroller. You will see an empty project window with some folders and files in it.



Configuring project options


dcd2dc6462


About

Welcome to the group! You can connect with other members, ge...

Members

bottom of page