Illustrated explanation of the basic usage of Keil uvison 4 for ARM

Publisher:SparklingBeautyLatest update time:2015-03-31 Source: 21icKeywords:Keil  uvison  ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
I remember that I spent a lot of time to build a Keil project a long time ago. Here I will write down the basic Keil project creation method to prevent myself from forgetting it in the future:
14.jpg

New Construction

13.jpg

Save the project

12.jpg

Select Device

11.jpg

Create a new folder here, and then add the program code to it. The functions of some of these files and folders can be found in my other reprinted article http://www.cnblogs.com/Silent-Higher/archive/2013/02/22/2922068.html.

The basic header files to be included in the code are as follows:

#include "stm32f10x.h" /* If you want to use ST's firmware library, you must include this file*/#include /* Because the printf function is used, this file must be included*/

15.jpg

Flash is a project environment option configured in the current project.

16.jpg

This is the icon for configuring project options. A project can have several option configurations. [page]

Next, I will post a few pictures of Option configuration. I really don’t know the reasons for some of the configuration methods, but the project can be compiled and downloaded normally...

10.jpg

Choose the right device

9.jpg

Here we mainly set the crystal oscillator, ROM and RAM to prevent stacking.

Overflow etc. Here is the setup for STM32F103ZET6.

7.jpg
8.jpg
6.jpg
5.jpg

Here is mainly the configuration contained in the Library folder, as well as warning

The following figure shows the settings of the include path. [page]

4.jpg
3.jpg
2.jpg
1.jpg
Keywords:Keil  uvison  ARM Reference address:Illustrated explanation of the basic usage of Keil uvison 4 for ARM

Previous article:Design of control system for vacuum cleaning robot
Next article:STM32's core Cortex-M3 processor

Latest Microcontroller Articles
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
    Since development under LINUX is still quite troublesome, is there a more convenient and simple development method under WINDOWS? The answer is yes. Of course, it is not a development tool like ADS, because it ...
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
  • Learn ARM development(18)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号