在使用startix II开发板的时候出现如下问题: 前几天向flash中烧写程序是没有问题的,但是昨天我使用alt_write_flash()和alt_read_flash()对flash的0地址处进行读写后再烧写flash就不行了,出现如下提示: # Creating .flash file for the project $SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0xffffff --reset=0x0 --inp ut=button_irq.elf --output=ext_flash.flash --boot=e:/altera/61/ip/nios2_ip/alter a_nios2 2007-5-22 14:27:44 - (严重) elf2flash: Read error: File not found: e:/altera/61/ip /nios2_ip/altera_nios2 2007-5-22 14:27:44 - (严重) elf2flash: Error reading boot copier 2007-5-22 14:27:44 - (严重) elf2flash: Error generating Flash file, exiting # Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --sidp=0x02122938 --id=3407952662 --t imestamp=1179737972 --base=0x00000000 ext_flash.flash Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Reading System ID at address 0x02122938: verified : Checksumming existing contents Checksums took 0.0s Erase not required 00000000 ( 0%): Programming 00010000 (87%): Programming Programmed 74KB in 1.2s (61.6KB/s) Device contents checksummed OK Leaving target processor paused 请问这个该如何解决啊!我的nios核的reset address是设置在flash的0地址处,是不是和我将这个地址的内容改变了有关呢!!如果是该如何恢复之前设置呢!!急问!!请版主指点一下好吗?? |