This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

烧写u-boot到nand的一些问题



开发板:evmdm8168

仿真器:seed xds560 plus

两种方法,一种是在已经存在的u-boot中利用tftp,nfs,sd等方式将u-boot烧进nand中,另外一种是利用ccs运行nflashwriter_nand.out 进行烧写

这两种方法我都失败了

第一种

sd开启动,进入u-boot,然后利用tftp传输

mw.b 0x81000000 0xff 0x260000

tftp 0x81000000 u-boot.noxip.bin

nand erase 0x0 0x260000

nandecc hw 2

nand write.i 0x81000000 0x0 0x260000(我换成最接近u-boot.noxip.bin(180.4kB)大小:0x40000(同时也是nand block的整数倍大小)也不行)

nandecc hw 0

我按键设置没有错10010 nand on

第二种

利用ccs烧写

运行nflashwriter_nand.out 

选择操作,1-->flash image into nand

然后输入路径d:\uboot.noxip.nand

输入偏移:0

选择ecc方法:1(bch 8)

然后就什么都没有了..........不动

试多几次

有时候会出现

芯片id等信息,接着也是不动

在选择操作的时候我选择擦除整个nand 也是只出现一些信息然后就一直不动,试多几次,有时信息少,有时信息多.....然后都不是不动

 

ps:还有一个问题,你们知道如何设置仿真器的时钟频率么,我在Linux下的ccs ide时不时连接不上,我怀疑...

 

以上纯记忆手打,难免有误

感谢各位回答