Altera_Forum
Honored Contributor
11 years agoEPCS64 boot configuration
Hi, I working into the DE2-115 board. I want to save the Nios II program into the EPCS64 memory. (Save SOF content and ELF content into EPCS). I tried a lot of configuration that I have read in forums, etc. I am using Quartus II 64 bits web edition. The design is made in Qysys.
I have: cpu with reset vector to EPCS controller (offset 0, then reset vector = base address of epcs controller=0x00021000). cpu vector exception to onchip memory. I have the jtag debug module properly connected (reset and data bus) Nios CPU has a 50 Mhz ****, and the epcs controller has a clock of 20 Mhz (through altpll). When I follow these steps: https://www.altera.com/support/support-resources/knowledge-base/solutions/rd11192013_118.html but I got an error when I tried to communicate with the EPCS device. (nios2-flash-programmer --epcs --base=0x00021000 hw.flash --debug) I get this error: 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 0x00021000 (with 32bit alignment) Initial values: 00000000 00000000 6123D6C4 00000006 00000000 00000000 Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00021100 (with 32bit alignment) Initial values: 00000000 00000000 6123D6C4 00000006 00000000 00000000 Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00021200 (with 32bit alignment) Initial values: 00000000 00000000 6123D6C4 00000006 00000000 00000000 Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00021300 (with 32bit alignment) Initial values: 00000000 00000000 6123D6C4 00000006 00000000 00000000 Not here: reserved fields are non-zero Looking for EPCS registers at address 0x00021400 (with 32bit alignment) Initial values: 00000000 00000000 6123D6C4 00000006 00000000 00000000 Not here: reserved fields are non-zero No EPCS registers found: tried looking at addresses 0x00021000, 0x00021100, 0x00021200, 0x00021300 and 0x00021400 Leaving target processor paused What it can be wrong? I cant figure out. Thank!