Necessary steps for ARM learning for beginners of embedded development

Publisher:SHow111timeLatest update time:2015-10-08 Source: eefocusKeywords:Embedded Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
  Provides the basic knowledge of ARM embedded development and the necessary steps for beginners in embedded development:

  1. Make a minimum system board: If you have never done ARM embedded development , it is recommended that you do not try to do all the applications well at the beginning, because the startup method of ARM is different from that of DSP or MCU, and you will often encounter various problems. Therefore, it is recommended to first build a small system board with only Flash, SRAM or SDRAM, CPU, JTAG, and reset signal, leaving an expansion interface. If the minimum system can run normally, your task is half done. Fortunately, the peripheral interfaces of ARM are basically standard interfaces. If you have experience in wiring these hardware, it is a very easy thing for you.

  2. Write the startup code. According to the hardware address, write a small code that can be started, including the following parts:

Initialize the port, shield the interrupt, copy the program to SRAM; complete the code remapping; configure the interrupt handle and connect it to the C language entry. You may see that the bootloader has a lot of things in some sample programs given to you, but don't be bothered by these complicated programs, because you are not making a development board, your task is to make a small program to make your application run.

 

  3. Carefully study the information of the chip you are using. Although ARM is compatible in terms of core, each chip has its own characteristics, and these issues must be considered when writing programs. Especially for girls, don't be dependent here. You always want to modify other people's sample programs, but the more you modify them, the more messy they become.

 

  4. Read more operating system programs. There are many open source programs in ARM embedded development. If you want to improve yourself, you should read more programs of others. Linux, uc/os-II, etc. These are all very good original codes.

 

  5. If you are working on hardware, each manufacturer basically has a DEMO board schematic for the chip. Digest the schematic first. This way, when you design in the future, you will have a clear idea of ​​how to allocate resources. You must digest the device's DATSHEET.

 

  6. If you are doing software, it is best to have some understanding of the operating system mechanism. Of course, this is a piece of cake for software engineers. But if you are a hardware engineer who wants to do ARM embedded development, it will be a bit difficult.

Keywords:Embedded Reference address:Necessary steps for ARM learning for beginners of embedded development

Previous article:Detailed explanation of Bootloader under Linux system
Next article:How to choose a development system for ARM beginners

Recommended ReadingLatest update time:2024-11-23 10:40

ARM Linux analysis of zImage image file generation
At the beginning, let's make a convention: the root directory of the Linux code is called linux_src, and the code is analyzed using linux-3.0.46. For the arm system, $(SRCARCH) = ARM. You may wonder how Linux compiles and generates its compressed kernel image zImage? Haha, let's do an analysis below. When we enter t
[Microcontroller]
ARM Linux analysis of zImage image file generation
Detailed explanation of the startup.s file of ARM Cortex-M3
Take LM3S9B90 as an example. Startup.s file is the system startup file, which mainly includes the initialization configuration of the heap and stack, the configuration of the interrupt vector table, and guiding the program to the main() function. Startup.s mainly completes three tasks: initializing the stack and heap,
[Microcontroller]
Detailed explanation of the startup.s file of ARM Cortex-M3
Design of matrix keyboard based on ARM and its linux driver implementation
      1. Introduction   ARM microprocessors have been widely used in industrial control , consumer electronics, communication systems and other fields. Matrix keyboard is a commonly used keyboard form, which designs the keys into M rows and N columns, so that a total of M+N signal lines are required, but M×N keys c
[Power Management]
Design of matrix keyboard based on ARM and its linux driver implementation
ARM-I/Dcache, MMU relationship
The configuration relationship between the three: ICache | DCache | MMU | Allowed? ================================= Off | Off | Off | Yes On | Off | Off | Yes Off | On | Off | No Off | Off | On | Yes On | On | Off | No Off | On | On | Yes On | Off | On | Yes On | On | On | Yes Illegal configuration has only DCache e
[Microcontroller]
Program online update based on ARM7 chip LPC2132 with IAP function
  The ARM processor is a high-performance, low-cost, low-power RISC microprocessor and is one of the most popular microprocessors currently. As a member of the ARM microprocessor series, ARM7 is widely used in industrial control, network applications, consumer electronics and security products. In practical applicatio
[Microcontroller]
Program online update based on ARM7 chip LPC2132 with IAP function
ARM+FPGA development board network video playback terminal based on FFMPEG - MilNXP I.MX 8M
ARM+FPGA development board network video playback terminal based on FFMPEG - Mil NXP I.MX 8M MINI+ARTIX-7 processor development board This review is provided by the excellent reviewer "qinyunti". 01. Introduction Mir's ARM+fpga development board has high-performance ARM MPU
[Embedded]
arm assembly: ldr,str,ldm,stm,pseudo-instruction ldr
The naming rules of ldr,str,ldm,stm are: The names of these instructions may seem difficult to remember, so let’s find the pattern. instruction sample Effect Summary of name explanation ldr Rd,addressing ldr r1, addressing to Rd load to register str Rd,addressing str r1, Rd ro addr
[Microcontroller]
Learn ARM development (6)
Last time, I talked about learning ARM assembly. OK, let's start now. My boot program is modified from UBOOT1.1.2. You can download the source code of UBOOT. Maybe you will ask where to download it? I don't need to answer this question. Just use GOOGLE and search for u-boot. You can find it. Since this boo
[Microcontroller]
Latest Microcontroller Articles
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号