Forum Discussion
Altera_Forum
Honored Contributor
13 years agoCould you access the EPCS from Nios? Try to write/read the EPCS with the alt_flash functions.
You could verify if the firmware was flashed correct to EPCS. The firmware follows immediately after the fpga design in the EPCS. To get the start address in EPCS look at the firmware.flash. Its similar a srec file where the first S1, S2 or S3 record contains the start address. Reading from EPCS: nios2-flash-programmer --cable='USB-Blaster [USB-0]' --epcs --base=0x21000 --read-bytes <start_address_firmware>+<size_of_nios_firmware> --read epcs.out Jens