求助高人!有关NIOS FLASH编程出错的问题
我用的FPGA是EP1C12Q240,FLASH是AM29LV160。我的问题是,在编译没有错误以后进行的Program Flash时出现了这样的提示:
# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x01200000 --end=0x13fffff --reset=0x1200
000 --input="hello_world_0.elf" --output="CFI.flash" --boot="D:/Altera/72/ip/nio
s2_ip/altera_nios2/boot_loader_cfi.srec"
# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x01200000 --cable='ByteBlas
terII [LPT1]' --sidp=0x014040e8 --id=1209338942 --timestamp=1235562094 --accept-
bad-sysid --instance=0 "CFI.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x014040E8: verified
: Checksumming existing contents
00000000 : Reading existing contents
Checksummed/read 11kB in 0.4s
00000000 ( 0%): Erasing
#!/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:/090225/hello_world_0/Debug
# Creating .flash file for the FPGA configuration
"$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="G:/090225/project.sof" --output=
"project.flash"
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=projec
t.opt G:/090225/project.sof project.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Allocated 54 megabytes of memory during processing
Info: Processing ended: Wed Feb 25 21:18:48 2009
Info: Elapsed time: 00:00:01
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert project.pof project.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Allocated 45 megabytes of memory during processing
Info: Processing ended: Wed Feb 25 21:18:50 2009
Info: Elapsed time: 00:00:01
# Programming flash with the FPGA configuration
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x01403800 --cable='B
yteBlasterII [LPT1]' --sidp=0x014040e8 --id=1209338942 --timestamp=1235562094 --
accept-bad-sysid --instance=0 "project.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x014040E8: verified
: Checksumming existing contents
00000000 : Verifying existing contents
00010000 : Verifying existing contents
00020000 : Verifying existing contents
00000000 : Reading existing contents
00010000 : Reading existing contents
00020000 : Reading existing contents
Checksummed/read 43kB in 1.7s
00000000 ( 0%): Erasing
00010000 (33%): Erasing
00020000 (66%): Erasing
Erased 192kB in 2.0s (96.0kB/s)
00000000 ( 0%): Programming
00010000 (33%): Programming
00020000 (66%): Programming
Programmed 150KB +42KB in 4.6s (41.7KB/s)
Did not attempt to verify device contents
Leaving target processor paused
# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x01200000 --end=0x13fffff --reset=0x1200
000 --input="hello_world_0.elf" --output="CFI.flash" --boot="D:/Altera/72/ip/nio
s2_ip/altera_nios2/boot_loader_cfi.srec"
# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x01200000 --cable='ByteBlas
terII [LPT1]' --sidp=0x014040e8 --id=1209338942 --timestamp=1235562094 --accept-
bad-sysid --instance=0 "CFI.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x014040E8: verified
: Checksumming existing contents
00000000 : Reading existing contents
Checksummed/read 11kB in 0.4s
00000000 ( 0%): Erasing
Erase failed at offset 0
Leaving target processor paused
我现在检查不出来出现:Erase failed 的原因
请各位高手帮我分析一下,非常感谢!!
# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x01200000 --end=0x13fffff --reset=0x1200
000 --input="hello_world_0.elf" --output="CFI.flash" --boot="D:/Altera/72/ip/nio
s2_ip/altera_nios2/boot_loader_cfi.srec"
# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x01200000 --cable='ByteBlas
terII [LPT1]' --sidp=0x014040e8 --id=1209338942 --timestamp=1235562094 --accept-
bad-sysid --instance=0 "CFI.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x014040E8: verified
: Checksumming existing contents
00000000 : Reading existing contents
Checksummed/read 11kB in 0.4s
00000000 ( 0%): Erasing
#!/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:/090225/hello_world_0/Debug
# Creating .flash file for the FPGA configuration
"$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="G:/090225/project.sof" --output=
"project.flash"
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=projec
t.opt G:/090225/project.sof project.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Allocated 54 megabytes of memory during processing
Info: Processing ended: Wed Feb 25 21:18:48 2009
Info: Elapsed time: 00:00:01
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert project.pof project.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Allocated 45 megabytes of memory during processing
Info: Processing ended: Wed Feb 25 21:18:50 2009
Info: Elapsed time: 00:00:01
# Programming flash with the FPGA configuration
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x01403800 --cable='B
yteBlasterII [LPT1]' --sidp=0x014040e8 --id=1209338942 --timestamp=1235562094 --
accept-bad-sysid --instance=0 "project.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x014040E8: verified
: Checksumming existing contents
00000000 : Verifying existing contents
00010000 : Verifying existing contents
00020000 : Verifying existing contents
00000000 : Reading existing contents
00010000 : Reading existing contents
00020000 : Reading existing contents
Checksummed/read 43kB in 1.7s
00000000 ( 0%): Erasing
00010000 (33%): Erasing
00020000 (66%): Erasing
Erased 192kB in 2.0s (96.0kB/s)
00000000 ( 0%): Programming
00010000 (33%): Programming
00020000 (66%): Programming
Programmed 150KB +42KB in 4.6s (41.7KB/s)
Did not attempt to verify device contents
Leaving target processor paused
# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x01200000 --end=0x13fffff --reset=0x1200
000 --input="hello_world_0.elf" --output="CFI.flash" --boot="D:/Altera/72/ip/nio
s2_ip/altera_nios2/boot_loader_cfi.srec"
# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x01200000 --cable='ByteBlas
terII [LPT1]' --sidp=0x014040e8 --id=1209338942 --timestamp=1235562094 --accept-
bad-sysid --instance=0 "CFI.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x014040E8: verified
: Checksumming existing contents
00000000 : Reading existing contents
Checksummed/read 11kB in 0.4s
00000000 ( 0%): Erasing
Erase failed at offset 0
Leaving target processor paused
我现在检查不出来出现:Erase failed 的原因
请各位高手帮我分析一下,非常感谢!!