1. When booting from NANDFLASH, when ARM is powered on, ARM will automatically copy the first 4K of NANDFLASH to the S3C2440 internal SRAM, and map the address of SRAM to 0X00000000. After ARM is powered on, it will start running from SRAM.
2. When booting from NOR FLASH, because NORFLASH is connected to bank0, the address mapping is 0X00000000. So after ARM is powered on, it directly runs the program in NORFLASH. At this time, the internal SRAM address of S3C2440 is 0X40000000.
3. ARM starts from 0X00000000 when powered on. However, for the reset program entry, the value of ResetEntry is 0X00000000 when ARM is powered on, and 0X30000000 in JTAG simulation. This value is critical and will be used when copying the program.
The hardware determines whether to boot from nand flash or nor flash when booting. The specific configuration is as follows
Then, the corresponding memory mapping is as follows
SROM means ROM or SRAM type memory
Regarding Figure 6-5, the following explanations are required:
1. On the jz2440 development board, SDRAM is connected to BANK6, and its starting address is always 0x30000000.
2. The column diagram shown in the figure is the memory that the chip considers. That is, it can be considered as the memory inside the chip.
3. For booting from nand flash with OM[1:0]=00, nand flash cannot unify the address to memory. After power-on, the chip automatically copies the first 4k of nand flash to the first 4k of memory in the chip, and then the chip starts to run from 0x00000000. The 4k memory content copied from 0x00000000 is responsible for copying the bootloader in nand flash to the chip address 0x30000000. When continuing to execute, BANK1, BANK2,, are not connected to SROM, so the code at 0x30000000 will be executed immediately. The whole process can be said that the 4K code copied to the SRAM inside the chip copies the program in nand flash, including the bootloader, to the link address (the link address is the SDRAM address), and then executes sequentially.
4. For OM[1:0]=01, 10, it is started from the nor flash. The nor flash is connected to BANK0, which exists as the SROM here. Its starting address is 0x00000000, and the chip executes sequentially from address 0.
Previous article:Design of video acquisition driver for pet intelligent feeding system
Next article:Bootloader transplantation
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- Why does the RS232 serial port signal change?
- What is an inductive distance sensor?
- MSP430 series MCU-Timer_A realizes PWM
- [MSP430F5529 Review] 1. Unboxing and Environment Setup
- EEWORLD University ---- Microchip
- I want to switch from MCU to Linux, what suggestions do you have?
- Nengdian Electronics Capacitive Liquid Level Sensor D1CS-D54 Review
- Introduction to Linux Device Drivers
- Import OrCAD schematic and PCB files into AD14.3
- The Nichicon Technology Subsite is waiting for you!