--- Quote Start ---
Hi frank2215,
Is your Nios processor using an MMU? If so, you will need to add the --mmu switch to your nios2-flash-programmer command line: nios2-flash-programmer --epcs --mmu --base=0x000021000 hw.flash --debug
If that doesn't work then are you sure that the Nios processor is even seeing the flash? Have you confirmed your base address is correct?
Just my two cents.
- Brad
--- Quote End ---
Brad,
No, I am not using MMU, just a C application. I tested the EPCS64 downloading in other project a POF configuration and all works fine. I did nit try to write/read operatios. But I guess that the EPCS transactions are made by the FPGA, not the NIOS running any program. The base address is set right (0x00021000). Inmediately I download the SOF file, the leds power on in random fashion. It seems like the configuration is not working, these happens when the reset vector is set to EPCS controller base address.