NOR and NAND Flash boot analysis

Publisher:MysticMoonLatest update time:2016-04-05 Source: eefocusKeywords:NOR  NAND  Flash Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. JZ2440 uses NOR Flash to start
When NOR starts, address 0 is located in NOR Flash, corresponding to BNAK0. The CPU runs the program directly from address 0 of NOR Flash. The code can be copied directly from NOR Flash to the link address of SDRAM. NOR Flash can be read like memory, so it can be copied directly, and then jump to the link address to run.
 
2. JZ2440 uses NAND Flash to boot
When JZ2440 uses NAND Flash to start, address 0 is located in the on-chip SRAM. After the system is powered on, the hardware will automatically copy the first 4K (8K for 6410) of NAND Flash to address 0 of the on-chip SRAM and start running from address 0.
  • If the program code is small, no external SDRAM is used and it can be run directly in the internal SRAM.
  • If the program uses off-chip SDRAM but the code size is not large, then we can turn off the watchdog, initialize the memory manager (SDRAM), copy the 4K content in SRAM to the off-chip SDRAM, and then jump to SDRAM to continue running;
  • If the code size is large, we can turn off the watchdog in the 4K content automatically copied to SRAM by the hardware, initialize the storage manager (SDRAM), copy all the NAND Flash code to the off-chip SDRAM at one time, and then jump to SDRAM to continue running.
 
Note: u-boot started by NOR flash can burn both NOR flash itself and NAND flash. However, if NAND flash is used for startup, NOR flash cannot be operated because when NAND flash is started, address 0 corresponds to on-chip memory and NOR flash cannot be accessed.
 
 

 
正文结束
Keywords:NOR  NAND  Flash Reference address:NOR and NAND Flash boot analysis

Previous article:What does bne 1b mean in arm assembly language
Next article:CuteFTP usage instructions and IP address settings

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号