Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- elf2flash --epcs --after=firmware.flash --input=nios.elf --output=software.flash --- Quote End --- Hi laland. This program wants base adress and end adress specified. I can't find out what adresses are meant. Trying the ram and the epcs controller adress space does not work. I wonder what adresses are meant. The help of elf2flash says this are the adresses of the flash. But the epcs flash device is not mapped directly to the processor. The epcs controller is mapped from 0x21820 to 0x21fff. This is a adress space ok about 1,9kiB. My EPCS16 has 16Mbit ~ 1,9MiB of space. --- Quote Start --- Daixiwen: Are you sure that the EPCS is working properly? --- Quote End --- Meanwhile i wrote a little program that writes "hello world" to a space in the EPC device by using the HAL driver of the epcs controller. After repowering the fpga and configure it again i can read the hello world string from the EPCS device. At reading and writing i can trigger activitiy at the clock signal of the epcs device. So the connection / pin planning and the proper function of the epcs device is approved. (Using the flash programmer does still not work).