#! /bin/sh # # This file was automatically generated by the Nios II IDE Flash Programmer. # # It will be overwritten when the flash programmer options change. # cd G:/nios2_5_1/linux_nios_v2/build # Creating .flash file for the datafile $SOPC_KIT_NIOS2/bin/bin2flash --base=0x00000000 --location=0x0400000 --input=G:/ nios2_5_1/file_system/romfs.bin --output=romfs.flash # Programming flash with the datafile $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --devic e=1 --base=0x00000000 romfs.flash Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK : Checksumming existing contents 00400000 : Reading existing contents 00410000 : Reading existing contents 00420000 : Reading existing contents 00430000 : Reading existing contents 00440000 : Reading existing contents 00450000 : Reading existing contents 00460000 : Reading existing contents 00470000 : Reading existing contents 00480000 : Reading existing contents 00490000 : Reading existing contents Checksummed/read 12kB in 0.6s 00400000 ( 0%): Erasing 00410000 (10%): Erasing 00420000 (20%): Erasing 00430000 (30%): Erasing 00440000 (40%): Erasing 00450000 (50%): Erasing 00460000 (60%): Erasing 00470000 (70%): Erasing 00480000 (80%): Erasing 00490000 (90%): Erasing Erased 640kB in 5.9s (108.4kB/s) 00400000 ( 0%): Programming 00410000 (10%): Programming 00420000 (20%): Programming 00430000 (30%): Programming 00440000 (40%): Programming 00450000 (50%): Programming 00460000 (60%): Programming 00470000 (70%): Programming 00480000 (80%): Programming 00490000 (90%): Programming Programmed 628KB +12KB in 13.6s (47.0KB/s) Device contents checksummed OK Leaving target processor paused 这是文件系统上传的记录,我把bin目录下的文件删除了几个,上传之后还是有这几个文件。也许我的文件系统是真的上传失败了,我该怎么做,是我的flash有问题吗?怎样才能上传成功啊。 |