About the configuration file Configuration Wizard of Keil MDK

Publisher:正在搬砖的河马71Latest update time:2016-09-26 Source: eefocusKeywords:keil  MDK  Wizard Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
One advantage of the startup code that comes with Keil MDK is the visual configuration option, which is the Configuration wizard option, which saves us from the problem of manually entering the configuration. For example, the following Configuration interface for Memory design:
About the configuration file Configuration Wizard of Keil MDK - ╄→The wind can't blow away - ╄→The wind can't blow away
 
 The configuration program in the startup code is:

// Watchdog Timer Setup
//   Watchdog Timer Control Register (WTCON)
//      Prescaler Value <0-255>
//          Watchdog Timer Enable
//       Clock Division Factor
//       <0=> 16   <1=> 32  <2=> 64  <3=> 128
//          Interrupt Generation Enable
//          Reset Enable
//  
//   Watchdog Timer Data Register (WTDAT)
//      Count Reload Value <0-65535>
//  
// Watchdog Timer Setup

As you can see, the graphical Configuration statement is placed in the program's comments. The specific syntax is as follows:

 

Item Text Description
yes Heading: the following options belong to a group.
yes Heading with Enable: the following options belong to a group, which can be enabled via a checkbox.
yes Heading with Enable: modifies a specific bit (bit 4, in this example).
or yes Heading or Enable end.
yes Tool-tip help for previous item.
yes Option for bit values which can be set via a checkbox.
yes Option with selection or number entry.
yes Modify a range of bits (example: bit 4 to 5).
yes modify a single bit (example: bit 4).
yes Option with ASCII string entry.
yes Option with ASCII string entry and a size limit of 10 characters.
Modifier   Description
<0-31> no Value range for option fields.
<0-100:10> no Value range for option fields with step 10.
<0x40-0x1000:0x10> no Value range in hex format and step 10.
<0=> yes Value and text for selection.
<#+1>   <#-1>
<#*8>   <#/3>
no value modification (add, sub, mul, div) before number is merged into field.

 

There is another important point: If you want to display the Configuration Wizard,

The following command must be included within the first 100 lines of the code text:


// <<< Use Configuration Wizard in Context Menu >>> 

There is also an optional command to indicate the end of the Configuration Wizard:


// <<< end of configuration section >>> 

 

Keywords:keil  MDK  Wizard Reference address:About the configuration file Configuration Wizard of Keil MDK

Previous article:How to configure the clock when changing the external crystal oscillator of stm32 and the use of HSI
Next article:STM32 configuration PC13-PC15

Recommended ReadingLatest update time:2024-11-16 16:23

How to solve the problem of "No target connected" when KEIL is displayed
When learning with STM32F051Disconvery, when configuring GPIOA, I accidentally configured both ports connected to the SWD bus as outputs. This is terrible. I can no longer use SWD to simulate or download programs. The solution is as follows:   1. First make sure the target board is powered on. 2. First, press and
[Microcontroller]
How to solve the problem of
mini2440---Building the debugging and downloading environment under keil for ARM
Off-topic: Recommended compilation environment selection For those who are new to ARM bare metal programming, I would like to remind you about the choice of compilation environment. Currently, there are three mainstream ones: ADS+AXD, KEIL FOR ARM, and IAR FOR ARM. I started using ADS+AXD for learning because it com
[Microcontroller]
A full range of solutions to the "Target not created" problem in KEIL5 compilation - Case 2
Preface When programming in KEIL5, you often encounter many "Target not created", that is, the target cannot be achieved. Therefore, this post is opened to help everyone solve these problems. The directory is as follows: 1. 2K byte limit error ERROR: RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT or ADDRESS SP
[Microcontroller]
A full range of solutions to the
Problems encountered and solutions for porting ucOS2 to 2440 MDK platform
These days, I want to transplant ucos2 to my own 2440 development board, but I have no information, so I look for information everywhere on the Internet. Finally, I debugged it tonight and share my problems and solutions with you: First, I suggest you download a simple ADS example from the Internet. There are many e
[Microcontroller]
KEIL project target option configuration
Two ways to open target options 1. Click the target option shortcut button, as shown below: 2. Open from the menu, Project - Options for Target, as shown below: 1.Device The first step in creating a new project is to select the device (device). One point to emphasize is that the device can be searched by
[Microcontroller]
KEIL project target option configuration
ads+jlink and keil+jlink debugging environment configuration
/***************************************************************************************************************************************************************************/ ads1.2 and jlinkv8 1. Install ads1.2 and jlink driver Setup_JLinkARM_V408i.exe When installing ads1.2, if it takes a long time to reach 100%, be
[Microcontroller]
STM32L series MDK5 debugging
It can be downloaded using Keil's compilation environment, but the entry address is shown in the yellow line below. If single-step execution (F11) or full-speed run (F5) is performed, the program always stays at the original position (0x1FFF4252). If the PC pointer value and SP value are forced to be changed to 0x8000
[Microcontroller]
STM32L series MDK5 debugging
RealView MDK+Jlink+TQ2440 debugging notes
Debugging environment Software: RealView MDK 4.03q Hardware: JLINK v7, TQ2440 development board When I first started learning ARM OS-free programming, I used Tianqian's TQ2440_Test project, which is an ads1.2 project. However, I used the Windows 7 operating system. Ads1.2 is relatively old and does not work well und
[Microcontroller]
RealView MDK+Jlink+TQ2440 debugging notes
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • 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)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号