Altera_Forum
Honored Contributor
20 years agoproblem of download
hi,
every one! The board I used is made by myself,so I make a board of "sram_board" to write my flash epcs4, I set the address of epcs4 as the reset address ,and sram as the exception address,when I write flash,I got the message below,and the program can't run.(The program I have tested on sram) # ! /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 E:/altera/nios_epcs/software/epcs/Debug # Creating .flash file for the FPGA configuration $SOPC_KIT_NIOS2/bin/sof2flash --flash=U1 --offset=0x00000000 --epcs --input=E:/a ltera/nios_epcs/niosII.sof --output=niosII.flash Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=niosII .opt E:/altera/nios_epcs/niosII.sof niosII.pof Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Processing ended: Mon Jan 23 19:34:23 2006 Info: Elapsed time: 00:00:02 Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert niosII.pof niosII.rpd Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Processing ended: Mon Jan 23 19:34:29 2006 Info: Elapsed time: 00:00:05 WARNING: Default charset GBK not supported, using ISO-8859-1 instead # Programming flash with the FPGA configuration $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=niosII.flash --sof=e:/altera/ dev_board/sram_board/system/sram_board.sof --epcs Jan 23, 2006 7:34:30 PM - (??) nios2-flash-programmer: Launching Quartus Program mer to download: e:/altera/dev_board/sram_board/system/sram_board.sof Pre-Reading 74KBytes of data from U1: |----.----+----.----| ********************* (49.718 sec). Erasing 2 Sectors: |----.----+----.----| ********************* (2.782 sec). Writing 128KBytes : |----.----+----.----| ********************* (30.64 sec). Verifying 128KBytes of data: |----.----+----.----| ********************* (33.422 sec). Jan 23, 2006 7:36:41 PM - (??) nios2-flash-programmer: Success. Verified 128Kbyt es written to U1. Jan 23, 2006 7:36:41 PM - (??) nios2-flash-programmer: Flash programming complet e WARNING: Default charset GBK not supported, using ISO-8859-1 instead # Creating .flash file for the project $SOPC_KIT_NIOS2/bin/elf2flash --flash=U1 --epcs --base=0x0 --end=0x7fffffff --in put=epcs.elf --output=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/components/al tera_nios2/boot_loader_epcs.srec WARNING: Default charset GBK not supported, using ISO-8859-1 instead # Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=epcs_controller.flash --sof=_ _NO_SOF_PLEASE__ --epcs Jan 23, 2006 7:36:42 PM - (??) nios2-flash-programmer: SOF-download skipped. Pre-Reading 16KBytes of data from U1: |----.----+----.----| ********************* (17.359 sec). Writing 64KBytes : |----.----+----.----| ********************* (15.016 sec). Verifying 64KBytes of data: |----.----+----.----| ********************* (16.672 sec). Jan 23, 2006 7:37:39 PM - (??) nios2-flash-programmer: Success. Verified 64Kbyte s written to U1. Jan 23, 2006 7:37:39 PM - (??) nios2-flash-programmer: Flash programming complet e WARNING: Default charset GBK not supported, using ISO-8859-1 instead