|  | 
 
 发表于 2005-8-12 13:26:46
|
显示全部楼层 
| 测试结果: 发现程序会不断输出
 
 Cluster 0,Sector 0,Byte 455=ff
 Cluster 0,Sector 0,Byte 456=ff
 Cluster 0,Sector 0,Byte 457=ff
 Cluster 0,Sector 0,Byte 458=ff
 Cluster 0,Sector 0,Byte 459=ff
 Cluster 0,Sector 0,Byte 460=ff
 Cluster 0,Sector 0,Byte 461=ff
 Cluster 0,Sector 0,Byte 462=ff
 Cluster 0,Sector 0,Byte 463=ff
 Cluster 0,Sector 0,Byte
 
 到400多的地方就死掉了.  我把输出的语句注释掉,重新编译后执行结果如下:
 
 \>go
 go at address 0x8000
 REFEXTCON = ce2983fd
 Format Nand-flash Successfully!
 SectorsPerCluster=32
 BytePerSector=512
 FirstFATSector=1
 FATsectors=4
 FirstDirSector=9
 FirstDataSector=32
 RootDirCount=368
 RootDirSectors=23
 
 
 这个是正确的输出结果么?
 | 
 |