Forum Discussion
Altera_Forum
Honored Contributor
19 years agoRunning from ex sram
Hi, my custom board is now working with the exception of the NIOS. I can run the prog from external 16bit sram via JTAG, no problem. But when I use the flash programmer the nios will not bo...
Altera_Forum
Honored Contributor
19 years agoThe reset address points to the base of the epcs controller.
I am using the flash programmer ide. 6.1. Getting desperate here, has to work tomorrow...... Here's the flash prog log: # !/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 Z:/Projects/Projects2006/DNP2006007-NorhtMarker/Logic/DNP2006007_2_0/software /PRIB3_NorthMarker_1_0/Release # Creating .flash file for the FPGA configuration "$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="Z:/Projects/Projects2006/DNP2006 007-NorhtMarker/Logic/DNP2006007_2_0/DNP2006007_2_0.sof" --output="DNP2006007_2_ 0.flash" Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=DNP200 6007_2_0.opt Z:/Projects/Projects2006/DNP2006007-NorhtMarker/Logic/DNP2006007_2_ 0/DNP2006007_2_0.sof DNP2006007_2_0.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 Jan 10 16:43:19 2007 Info: Elapsed time: 00:00:08 Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert DNP2006007_2_0.pof DNP2006007_2 _0.rpd Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Allocated 49 megabytes of memory during processing Info: Processing ended: Wed Jan 10 16:43:27 2007 Info: Elapsed time: 00:00:08 # Programming flash with the FPGA configuration "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00022800 --debug -- verify "DNP2006007_2_0.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Processor data bus width is 32 bits Looking for EPCS registers at address 0x00022800 (with 32bit alignment) Initial values: 0001703A 04C00074 9801483A 9CFFF804 983FFD1E 0000203A Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00022900 (with 32bit alignment) Initial values: 92400237 4A40100C 483FFD26 90000135 92400237 4A40200C Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00022A00 (with 32bit alignment) Initial values: 00000000 00000000 00000260 00000000 00000000 00000001 Valid registers found EPCS signature is 0x12 EPCS identifier is 0x202013 Using EPCS size information from section [EPCS-202013] Device size is 0MByte (4Mbit) Erase regions are: offset 0: 8 x 64K EPCS status is 0x00 Verifying 00000000 ( 0%) Verifying 00010000 (57%) Verified 112KB in 0.0s Leaving target processor paused # Creating .flash file for the project "$SOPC_KIT_NIOS2/bin/elf2flash" --epcs --after="DNP2006007_2_0.flash" --input="P RIB3_NorthMarker_1_0.elf" --output="epcs_controller.flash" # Programming flash with the project "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00022800 --debug -- verify "epcs_controller.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Processor data bus width is 32 bits Looking for EPCS registers at address 0x00022800 (with 32bit alignment) Initial values: 0001703A 04C00074 9801483A 9CFFF804 983FFD1E 0000203A Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00022900 (with 32bit alignment) Initial values: 92400237 4A40100C 483FFD26 90000135 92400237 4A40200C Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00022A00 (with 32bit alignment) Initial values: 00000000 00000000 00000260 00000000 00000000 00000001 Valid registers found EPCS signature is 0x12 EPCS identifier is 0x202013 Using EPCS size information from section [EPCS-202013] Device size is 0MByte (4Mbit) Erase regions are: offset 0: 8 x 64K EPCS status is 0x00 Verifying 0001BEF3 ( 0%) Verified 8KB in 0.0s Leaving target processor paused