免费注册 查看新帖 |

Chinaunix

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

AT91SAM9260EK开发板提供的两种烧写系统的批处理文件 [复制链接]

论坛徽章:
3
CU大牛徽章
日期:2013-03-14 14:14:08CU大牛徽章
日期:2013-03-14 14:14:26CU大牛徽章
日期:2013-03-14 14:14:29
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-08 20:57 |只看该作者 |倒序浏览
运行AT91SAM9260_demo_linux_DataFlash.bat可以正确烧写系统,运行
AT91SAM9260_demo_linux_NandFlash.bat时出错,有没有人用过此开发板。

出错的日志文件如下:
-I- Waiting ...
-I- TCL platform : Windows NT
-I- SAM-BA 2.9  on : windows
-I- Retrieved arguments from command line :
-I- argv 0 : \usb\ARM0
-I- argv 1 : AT91SAM9260-EK
-I- argv 2 : AT91SAM9260_demo_linux_NandFlash.tcl
-I- Connection : \usb\ARM0 (target(comType) = 0)
-I- Board : at91sam9260-ek
-I- Traces Level : 4
-I- target(handle) : 18252064
Read device Chip ID at 0xfffff240 --- get 0x019803a1
-I- Found processor : at91sam9260 (Chip ID : 0x019803a1)
-I- External RAM Settings :  extRamVdd=1, extRamType=0, extRamDataBusWidth=32, extDDRamModel=0
-I- Loading applet isp-extram-at91sam9260.bin at address 0x200000
-I- Memory Size : 0x4000000 bytes
-I- Buffer address : 0x2004A4
-I- Buffer size: 0x0 bytes
-I- Applet initialization done
-I- External RAM initialized
-I- Command line mode : Execute script file : AT91SAM9260_demo_linux_NandFlash.tcl
u-boot file: u-boot-env-nf.bin
diskSize: 0x00400000
-I- === Performs sanity checks===
-I- === Initialize the NAND access ===
-I- NANDFLASH::Init (trace level : 4)
-I- Loading applet isp-nandflash-at91sam9260.bin at address 0x20000000
-I- Memory Size : 0x10000000 bytes
-I- Buffer address : 0x20003AA0
-I- Buffer size: 0x20000 bytes
-I- Applet initialization done
-I- === Erase all the NAND flash blocs and test the erasing ===
-E- Script File AT91SAM9260_demo_linux_NandFlash.tcl returned error : invalid command name "NANDFLASH::EraseSectorTest" - invalid command name "NANDFLASH::EraseSectorTest"
    while executing
"NANDFLASH::EraseSectorTest"
    (file "AT91SAM9260_demo_linux_NandFlash.tcl" line 144)
    invoked from within
"source $scriptFile"
在调试串口打印的信息如下:
>RomBOOT
>-I- -- NandFlash ISP applet 2.9 --
-I- -- AT91SAM9260-EK
-I- -- Compiled: Jun 22 2009 15:00:27 --
-I- INIT command
-I- Nandflash ID is 0x9510DAEC
-I-     Nandflash driver initialized
-I-      pageSize : 0x800 blockSize : 0x20000 blockNb : 0x800 bus width : 8
-I-      bufferAddr : 0x20003aa0
-I-     End of applet (command : 0 --- status : 0)
RomBOOT
>RomBOOT
>-I- -- NandFlash ISP applet 2.9 --
-I- -- AT91SAM9260-EK
-I- -- Compiled: Jun 22 2009 15:00:27 --
-I- INIT command
-I- Nandflash ID is 0x9510DAEC
-I-     Nandflash driver initialized
-I-      pageSize : 0x800 blockSize : 0x20000 blockNb : 0x800 bus width : 8
-I-      bufferAddr : 0x20003aa0
-I-     End of applet (command : 0 --- status : 0)

请问这是什么地方出了问题??
另外,使用dataflash烧写的系统过一段时间后系统会丢失,而不是掉电后丢失,不知是何缘故???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP