How to use Keil-common functions (i)

Source: Internet
Author: User

, overview

Learning a software development, the development of tools can be said to be particularly important. Because the Keil integrated development tool supports the development of a variety of MCU platforms, it is more common on the market and is also a powerful IDE. So, for most people, choosing Keil is the perfect choice for a single-chip or embedded developer.

The next few days starting today summarize the use of Keil. The previous phase of the plan summarizes common functions, followed by a comprehensive summary of Keil functions.

Follow my friends should know, I have summed up in front of Keil download and installation and Keil new software engineering These two articles, today followed by the above article to summarize the common functions of Keil use method.

Use the latest version of Mdk-arm V5.20, based on the STM32 processor (which provides software engineering to facilitate learning) to summarize the use of the method.

based on the principle of free sharing, convenient for everyone to learn knowledge on mobile phones, sharing technical knowledge every day. If you feel that the content you share is useful to you and you want to learn more about it, please use the search "embedddeveloper" or scan the QR code below , There will be more exciting content waiting for you.

Ⅱ, download

Keil integrated development tools and support packages can be downloaded to the official website or to my 360 cloud disk. Now (2016.06.11) mdk-arm The latest version is 5.20, support package according to their own MCU model selection download, because I summarize is based on St chip, in the cloud disk only save ST's support package, I will regularly update in 360 cloud disk.

Keil:

Official website:http://www.keil.com/download/product

360 Cloud Disk:HTTPS://YUNPAN.CN/CPYAEY23RSSBB access password 9aba

Support Packages:

Official website:Http://www.keil.com/dd2/Pack

360 Cloud Disk:Https://yunpan.cn/cxWnPxniRXTMS access password 9a98

Summary of Software Engineering:

Https://yunpan.cn/cSnTMev59yXmU access password f9ff

Ⅲ,Keil related knowledge

Keil has 4 Products:mdk-arm,C51,C251,C166, These four tools in the use of methods have similarities, the market mdk-arm and C51 should be more commonly used two, the author also used the two software for many years, there are many similarities. I mainly use mdk-arm To summarize how it is used, and if you use several other software, there may be some differences in some places.

Mdk-arm meaning is based onARMMicrocontroller Development Tools (microcontroller Developer Kit), byKeilCompany Development,Mdk-armcontains industry-standardKeil Ccompiler, macro assembler, debugger, real-time kernel and other components. With the leading business lineARM/C + +compile toolchain, perfect supportcortex-m,CORTEX-R4,ARM7,ARM9and other series of devices, including the world's brand of chips. For example:ST,Atmel,Freescale,NXP,ADI,TIand so many large companies microcontroller chip.

Keil (mdk-arm) V5 release , said goodbye to the V4 era, adding a lot of new features, but also support based on V4 development of software engineering.

1), improve the development efficiency

Easy selection of software components: a variety of software components to choose our choice;

File system components: Make it easy for us to read and write the revision file in memory, memory card, RAM device;

Graphic components: Flexible human-computer interface;

Network components: Server network sockets, physical layer interaction to facilitate our development of network applications;

USB Components: Create USB devices to develop USB Standard-level apps.

2), easy access to document Resources

3), project maintenance is simple , Improve code reuse rate

The package includes device Update and version management , which makes our project maintenance easy;

Simplified replacement of equipment;

Open source can join third party components,MDK5 software packs is open source, you can also join your own components, or third-party components we all support.

Ⅳ, common functions

Open Software Engineering will see many of the default visible buttons (toolbar buttons), because these buttons are often used, so the default is open. View-Toolbars You can turn the display on or off. The toolbar contains two items:1, the file toolbar and 2, the compilation toolbar (such as 1,2).

Ⅴ, button description

The functions and default shortcuts for each button are described below (by ordinal):

1. File operation

New Folder Ctrl + N

Open file Ctrl + O

Save current file Ctrl + S

Save All files without

Cut Ctrl + X

Copy Ctrl + C

Paste Ctrl + V

2. Editing

Undo Edit Ctrl + Z

Redo Edit Ctrl + Y

Jump to the previous step Ctrl + -

Jump to next Ctrl + Shift + -

3. Bookmarks

Add Bookmark Ctrl + F2

Jump to previous bookmark Shift + F2

Jump to Next bookmark F2

Clear all bookmarks Ctrl + Shift + F2

4. Select Line Action

Insert indent (tab) tab

Cancel indent (Tab) Shift + Tab

Note Select row None

Uncomment none

5. Find text

Find all text Ctrl + Shift + F

Find text input Box None

Find single text Ctrl + F

Add Search Ctrl + I

6. About emulation

Turn Debug Ctrl + F5 on / off

Insert Breakpoint F9

Fail-able Single breakpoint Ctrl + F9

All breakpoints have no

Cancel all Breakpoints Ctrl + Shift + F9

7. About Windows

Select Project Window None

Configure None

8. About compiling

Compiling the current file ( single ) Ctrl + F7

Compile the target file ( modified ) F7

Compile all target files ( recompile ) None

Compiling multiple project Files ( Multi-engineering ) None

Stop compiling None

Download software F8

9. Project Options

Project Selection Box No

Project Target ( config ) options Alt + F7

10. Managing Projects

Single Project Management No

Multi-project management without

Manage run-time environments without

Select Package None

Install software support Package None

Ⅵ, description

The function of each tool needs to be practiced by itself, and long-term use can be used to achieve the point of flexible use, do not recommend rote memorization.

The above summary is for reference only, if has the wrong place, please understanding.

Ⅶ, last

Attention, reply to "more content", will get more content (such as:UCOS instances, etc., constantly updated in ...) )。

If you like what I share, and you want to know more about it, please follow the public number at the beginning of the article, the new content continues to be updated, and more exciting content will appear later.

Read the original

How to use Keil-common functions (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.