1.1__S3C2440 startup process analysis

Publisher:rockstar7Latest update time:2021-08-09 Source: eefocusKeywords:S3C2440 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The s3c2440 has 4KB of SRAM built in, and can choose NOR or NAND boot. Wei Dongshan's S3C2440 development board is connected to 256MB of Nand Flash and Nor Flash, which can be selected through the M0 and M1 pins, where M1 is fixed low.

insert image description here
insert image description here

Therefore, pull M0 low to select Nand startup, and pull M0 high to select Nor startup.


When Nand starts, the base address of the on-chip 4K RAM is 0, and the Nor Flash is inaccessible. The 2440 hardware will copy the internal control of the first 4K of Nand Flash to the on-chip RAM, and then the CPU will remove the first instruction from address 0 for execution.

insert image description here

When Nor starts, the base address of Nor Flash is 0, the starting address of on-chip RAM is 0x4000 0000, the CPU reads the first instruction (the first 4 bytes) on Nor, and the CPU continues to read other instructions for execution.

insert image description here

So the stack is set up like this:

insert image description here

Keywords:S3C2440 Reference address:1.1__S3C2440 startup process analysis

Previous article:1.2__S3C2440 Clock Introduction
Next article:1.3.1 Connection of devices with different bit widths

Recommended ReadingLatest update time:2024-11-16 14:39

About S3C2440 u-boot supports nand hw ecc
https://blog.csdn.net/hurry_liu/article/details/8741565 ---This article (article 1) explains it in detail. http://www.xuebuyuan.com/zh-hant/916448.html ----This article (Article 2) says something similar. The descriptions of Article 1 and Article 2 are the same, but the code content is different. At first, I saw arti
[Microcontroller]
About S3C2440 u-boot supports nand hw ecc
s3c2440 bare metal - resistive touch screen - 6 - touch screen calibration implementation - five-point calibration method
We have talked about the touch screen calibration principle before, which is to make the LCD correspond to the touch screen coordinates. 1. Five-point calibration implementation 1. We take five points A, B, C, D, and E. Then we need to match the coordinates of the touch screen and LCD at these five p
[Microcontroller]
s3c2440 bare metal - resistive touch screen - 6 - touch screen calibration implementation - five-point calibration method
ARM9_S3C2440 learning (V) norflash startup, nandflash startup, SDRAM summary
The first instruction read when S3C2440 starts is at 0x00, which is divided into starting on nand flash and nor flash.   NAND flash: suitable for large-capacity data storage, similar to hard disk; nor flash: suitable for storing small-capacity programs or data, similar to a small hard disk; sdram: Mainly used for prog
[Microcontroller]
Design of Ethernet interface circuit based on S3C2440 embedded system
    This paper mainly introduces an Ethernet interface circuit design scheme based on Samsung ARM9 chip S3C2440 embedded system, and successfully realizes the network data exchange of embedded system by using industrial Ethernet controller DM9000AEP. Based on the network interface circuit, the paper analyzes the drive
[Microcontroller]
Design of Ethernet interface circuit based on S3C2440 embedded system
S3C2440 camera interface features and driver under WinCE
S3C2440 is an embedded processor that is widely used and suitable for embedded systems. WinCE 5.0/6.0 is a real-time operating system developed by Microsoft for embedded systems. Its modular design allows developers to customize devices according to their needs. At present, most domestic OEMs provide driver support
[Microcontroller]
S3C2440 camera interface features and driver under WinCE
Introduction to the S3C2440 USB Host Driver based on the OHCI protocol (Part 4)
HCCA HCCA is a 256-byte memory structure that system software uses to send or receive special control and status information to or from HC. It is 256-byte aligned. The HcHCCA in the HC register points to HCCA. HccaInterruptTable is an array of head pointers of 32 periodic tables. HC accesses this table only once p
[Microcontroller]
Introduction to the S3C2440 USB Host Driver based on the OHCI protocol (Part 4)
A Design Scheme for Digital Voltage-stabilized Power Supply in Test System
introduction DC regulated power supply is a relatively common electronic device, which has been widely used in many fields such as electronic circuits, experimental teaching, scientific research, etc. In recent years, embedded technology has developed extremely rapidly, and highly integrated processors with s
[Power Management]
A Design Scheme for Digital Voltage-stabilized Power Supply in Test System
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
Guess you like

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号