主题 : 为什么从nand flah启动要把4k的启动代码拷贝到sram里运行,而不是直接在nandflash里运行 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 1491
精华: 0
发帖: 16
金钱: 160 两
威望: 16 点
综合积分: 32 分
注册时间: 2008-09-03
最后登录: 2009-07-29
楼主  发表于: 2008-09-24 11:54

 为什么从nand flah启动要把4k的启动代码拷贝到sram里运行,而不是直接在nandflash里运行

首先,是否可以直接运行nand flash里的代码
其次,如果不可以,这和nand flash的bus width只能设定为8bit或者16bit有关系吗
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-09-24 12:28
NAND Flash和RAM,NOR Flash不同,不是随机存储的,不能直接用来跑代码。关于NAND Flash的特性, Linux MTD有很清楚解释 http://www.linux-mtd.infradead.org/doc/nand.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."