Use of keil: Create a new Project

Publisher:yunhaoLatest update time:2023-06-07 Source: elecfansKeywords:keil Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Create a new project--->New folder----->Put the new project in your own folder------>Select the development board------>Add the driver file of the development board- --->main function

 

The project grouping is basically as shown in the figure. S3C2440.S is the bare board driver of the 2440 board. It helps us initialize a lot of things. Without it, we cannot write programs in it.

Of course, you can also write the bare board driver yourself, but we’ll talk about that later.

Secondly, the program starts executing from the main function.

 

Some commonly encountered problems:

 

Error: L6218E: Undefined symbol Image$$ER_ROM1$$RO$$Length (referred from s3c2440.o).
 Error: L6218E: Undefined symbol Image$$RW_RAM1$$RW$$Length (referred from s3c2440.o).
This problem occurs: Fill in Options for targets----->Asm------>Define:
__EVAL



There is another problem, I forgot what it is. There will be 6 ERRORS first. The solution:
Options for targets------>Linkers------>Use Memory xxxxx is unchecked
Then clear the contents of the scatter file


Keywords:keil Reference address:Use of keil: Create a new Project

Previous article:[2440 bare metal] Interrupted
Next article:Basic configuration of tq2440 development board

Recommended ReadingLatest update time:2024-11-16 12:59

ARM9 (S3C2440) IO port -- LED water lamp
Overview       The S3C2440A contains 130 multi-function I/O pins and they are eight ports as shown below: – Port A (GPA): 25-bit output port – Port B (GPB): 11-bit input/output port – Port C (GPC): 16-bit input/output port – Port D (GPD): 16-bit input/output port – Port E (GPE): 16-bit input/output port – Port F
[Microcontroller]
linux-2.6.32 transplanted on mini2440 development board - transplanted Nand driver and modified partition information
Editor: The transplantation of NAND in Linux is not as complicated as imagined because it uses MTD technology. 1 Nand Flash types supported by Linux-2.6.32.2 kernel Linux2.6.32.2 has built-in most Nand Flash drivers. The supported Nand Flash types are defined in the linux-2.6.32.2/drivers/mtd/nand/nand_ids.
[Microcontroller]
Porting OpenCV2.0.0 to ARM9 (V) (JZ2440----S3c2440)
Linux system: Ubuntu9.10 Cross compiler: arm-linux-gcc-4.3.2 (already installed) Qt: qt-x11-opensource-src-4.5.3.tar.gz qt-embedded-linux-opensource-src-4.5.3.tar.gz 1. Install Qt Qt download address: https://www.qt.io/download-open-source/ The installation package downloaded here is: qt-embedded-linux-ope
[Microcontroller]
Porting OpenCV2.0.0 to ARM9 (V) (JZ2440----S3c2440)
Make Ultra Edit and Keil more closely integrated
Engineers who work on single-chip microcomputers generally like to use Ultra Edit editor, because it can highlight the programming language keywords in color and can also support Chinese well. Although Keil can also highlight the keywords in color, it does not support Chinese very well. In addition, Ultra Edit editor a
[Microcontroller]
s3c2440 address allocation explanation
(I) Explanation of s3c2440 address allocation (very difficult and confusing) How to assign the address of mini2440. How to assign the address of mini2440 processor. The physical address space that the S3C2440 processor can use is up to 4GB, of which the first 1GB of addresses (that is, 0x0000 0000--0x4
[Microcontroller]
s3c2440 address allocation explanation
Summary of methods for setting header file paths in keil4
Personal Records: I feel the relative path is more convenient. Keil looks for header files in the directory where the project file is located. The relative directory of the header files is relative to the .uvproj file. My current personal habit is Create: Doc, Listing, Output, Project, User folders Doc for doc
[Microcontroller]
Summary of methods for setting header file paths in keil4
S3C2440 bare metal learning [2] - LCD driver principle and code analysis [Part 2]
Let's take a look at the lcd.c file in 2440test static void PutPixel(U32 x,U32 y,U16 c) {     if(x SCR_XSIZE && y SCR_YSIZE)         LCD_BUFFER = c; } It is easy to find that the function of displaying a single pixel on the TFT LCD is actually very simple. It seems that only LCD_BUFFER = c is needed. Let's analy
[Microcontroller]
Key interrupt control LED based on mini2440 (bare metal code)
#define GLOBAL_CLK //equivalent to defining FCLK, HCLK, PCLK, UCLK   #include "def.h" #include "option.h" #include "mmu.h" #include "2440addr.h"   #define LED1_on  rGPBDAT = ((0xf 5)^(1 5))  //GPB5=0 #define LED2_on  rGPBDAT = ((0xf 5)^(1 6)) //GPB6=0 #define LED3_on  rGPBDAT = ((0xf 5)^(1 7))  //GPB7=0 #define LED4
[Microcontroller]
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号