免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2006 | 回复: 0
打印 上一主题 下一主题

Using Nand Flash for Boot [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-09 15:30 |只看该作者 |倒序浏览
近来,Nor Flash的价格居高不下,所以相对来说利用Nand Flash来存放代码和数据并执行boot code,利用SDRAM来运行用户的主程序成为一种比较经济适用的选择。本文对三星公司的S3C2440的启动位置进行了简要的总结。
1、Not Using Nand Flash for Boot
OM[1:0]=01,10
在这种情况下,boot code被放在Nor Flash空间,上电复位的时候,pc指向NorFlash空间,开始执行boot程序,然后跳转到存放用户主程序的Nand Flash空间取指。 三星2440内部有4KB的SRAM,此种模式下,其地址映射到0x40000000地址。
2、Using Nand Flash for Boot
OM[1:0]=00;
这种情况下,系统一般只有Nand Flash和SDRAM,boot code 存放在0x00000000的位置。上电复位时,Nand flash从0x0开始的4KB的空间被加载到内部4KB的SRAM并执行。
During reset, Nand flash controller will get information about the connected Nand flash through Pin status(NCON(Adv flash),GPG(Page size),GPG14(Address cycle),GPG15(Bus width)-refer to PIN CONFIGURATION).After power-on or system reset is occurred, the Nand flash controller load automatically the 4-KBytes boot loader codes. After loading the boot loader codes, the boot loader code in stepping(4KB internal SRAM)is executed.

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/74101/showart_1895471.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP