C: \ Keil \ C51 \ Inc \ cypress D: \ cypress suite USB 3.4.7 \ firmware \ Inc ?? 1. Found the suite3.4.7 folderFx2.hThe file matches the fx2.h file carried inside Keil (the same ). ?? 2. TwoFx2regs. hFile does not match. suite3.4.7 comes with a newer version than Keil U3. ?? 2.1. the name (long) of the automatic pointer 1 in the Suite version is different
Embedded Assembly in Keil C51 and mutual call between C51 and A51
Author [ycong_kuang] [youth]
There have been many posts on how to call an assembly function in Keil C51 (v6.21) [ycong_kuang] for the methods of calling the Assembly by the C51, but generally only focus on the points, I rarely describe the entire process in detail, but it is not enough for beginners. Here I will des
Keil 4.00.The firmware packages on the st official website are compiled correctly using the project in stm32f10x_stdperiph_lib_v3.4.0/project/stm32f10x_stdperiph_template. Two methods for creating a project failed:
1. Copy the routine in the firmware package and the corresponding cmsis and stdperiph_driver to the project, and change the C/C ++ include paths item in target options to ".. /;.. /src/APP ;.. /src/cmsis ;.. /src/lib. The compiling error "D
Data Type Definition of the Keil MDK compiler.
1 # include "usart. h "2 int main () 3 {4 usartmediaconfig (); // serial port initialization, the following information is printed through the serial port 5 printf (" char: % d \ r \ n ", sizeof (char); 6 printf ("unsigned char: % d \ r \ n", sizeof (unsigned char); 7 printf ("short: % d \ r \ n ", sizeof (short); 8 printf (" unsigned short: % d \ r \ n ", sizeof (unsigned short )); 9 printf ("int: % d \
[Original]
We are using Keil recently. I want to try it.Source codeManagement tools to facilitate the project teamCodeManagement.
(My Keil version is 3)
1. There is a menu SVCs in Keil
Open the configure version control... menu.
Configure the command of each source code management tool here (I have configured the command with content; if you have
Keil RTX is a royalty-free, deterministic real-time operating system for ARM and cortex-m devices. With this system, you can create programs that execute multiple functions at the same time, and create applications with better structure and easier maintenance.Highlights
Royalty-free and deterministic RTOS with source code
Flexible scheduling: loop, preemptive, and collaborative
High-speed real-time operations with low interrupt latency
Small spac
When you look at the functions in the MSC of EFM32, for example, when you look at the function MSC_ErasePage (), do you have to pay attention to a large part of the above explanation. The detailed English is as follows:
This function MUST be executed from RAM. failure to execute this portion of the code in RAM will result in a hardfault. for IAR, Rowley and Codesourcery this will be achieved automatically. for Keil uVision 4 you must define a section
1, the Tool.ini file in the installation directory of Keil is added on [ARM][C51]Path= "G:\Keil\C51\"Sn=k1dzp-5iush-a01ueversion=v9.01Book0=hlp\release_notes. HTM ("Release Notes", GEN)Book1=hlp\gs51. PDF ("UVision2 Getting Started", GEN)Book2=hlp\c51. PDF ("C51 User ' s Guide", GEN)Book3=hlp\c51lib. CHM ("C51 Library Functions", C)Book4=hlp\a51. PDF ("Assembler/utilities", GEN)Book5=hlp\tr51. CHM ("RTX51 T
Recently, I tried to download the latest version of Keil and add protues to create a virtual environment. The main cause is the economic problem. Electronic components cost money...
Today, I encountered some problems with using Keil uvision 4 and recorded them for later viewing :)
As for activation, there is no shortage in town. No more
Problem 1: No STC in Keil
Because many of the old Code is compiled by ads1.2, this problem is common to all users.
There are a lot of handouts on the Internet, so I will not talk about the principles ~~
However, pay attention to the following points during the transplantation process to completely transplant the project.
Environment: Simplified Chinese XP Professional + SP3 + ADS 1.2 + Keil 3.5
1. Create a New root directory such as "D:/
example:
SWI 0x02; this command calls the system routine of the operating system number 02.
In the Keil MDK, the keyword _ SVC can generate the hardware SWI command so that the processor can respond to the software interrupt. The keyword _ SVC, which is described in the Keil MDK help file as follows:
The _ SVC keyword declares that the Super User calls the (SVC) function. This function uses up to four par
1. Replace C: \ Keil \ ARM \ STLink with the STLink file in the resource. Remember to back up the original file,
2. Change C: \ Keil \ TOOLS. INI to the following
[UV2]ORGANIZATION="cs2c"NAME="jianzhong", "cui"EMAIL="cjzswust@gmail.com"ARMSEL=1BOOK0=UV4\RELEASE_NOTES.HTM("uVision Release Notes")[ARM]PATH="C:\Keil\ARM"VERSION=4.60PATH1="C:\Program Files\arm-none-
A few days ago into the hands of a J-LINK, because the H-JTAG after all on the MDK support is not too perfect, for example, with the Download button on the Keil MDK burning program, not directly can burn in, instead, the H-Flash software is popped up, and then the file is manually selected for installation. In addition, the single-step debugging with h_jtag is easy to run inexplicably. Fortunately, J-LINK is not too expensive (I mean domestic imitatio
Incorrect display of Chinese Punctuation Marks in keil 4
Select configuation in edit in keil and Change Encoding to Chinese GB2312 to solve the problem of copying Chinese characters!
Keil MDK 412 font problems Courier New font Chinese display is not normal, it is difficult to see which can solve the problem of extra points
Why are you doing this? How about set
Note Points for minimum system construction:1, will choose the relevant chip under the LIbrary to find2, the grounding symbol in the left terminal symbol below the search, self-modification VCC VDD3, the bus also on the left a row of blue symbol bus draw a small slash hold CTRL4, exclusion (Respack) usage is wrong, this is a problem, so we have to step by step with 470 resistor replacementJoint Commissioning: Specific steps1, need to download software Vdmagdi.exe software (for two software to co
Through the *.m51 file we can clearly see the use of SCM memory, as well as can see each variable including the location of local variables.Before encountering a problem, the same program, in small mode after compiling the operation is no problem, but in large mode can be compiled, but run an error. Finally look at the M51 file, found the problem, in a strict timing requirements of a place to declare a few local variables, some of the local variables are assigned to the data, some assigned to th
A few days ago into the hands of a J-LINK, because the H-JTAG after all for the MDK support is not too perfect, such as using the Download button on the Keil MDK burnProgramInstead of simply burning the file, the H-Flash software is popped up, and then the file is manually selected for burning. In addition, the single-step debugging with h_jtag is easy to run inexplicably. Fortunately, J-LINK is not too expensive (I mean domestic imitation), MDK can b
First step: Open the "Stc-isp" software.Second step: Click on the right hand side "Keil emulation Settings", then click "Add model and header file to Keil to add STC Emulator driver to Keil".Step three: In the "Browse for Folder" dialog box that pops up, locate the "C51" folder in your Keil software installation direct
In the past, analyticdb was used as an ARM development tool. Although compilation and debugging are divided into different programs, it is still quite stable in general, and the prompt information is useful when an error occurs.
Recently, because we need to use the lpc24 family of ARM7 chips, the ads driver has not yet appeared, so we can only use Keil for development. In general, Keil gave me a bad feelin
Keil MDK version: v4.03. For more information, see my other blog posts.
PC-Lint version: v8.0
There are many powerful functions of PC-lint on the Internet. I don't want to repeat them here. I just want to say: it can be tested by PC-lint.ProgramIt may not be a problem, but the quality improvement is self-evident when the PC-Lint test program is passed.
First, install the Keil MDK and PC-Lint sof
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.