Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- You don't specifically say whether your hardware can successfully boot the FPGA from the EPCQ device. Can it? Forget Nios, just a simple rtl only project that, for example, flashes an LED. This implies the FPGA's isn't booting at all. So, I presume the only method you have of programming the FPGA is via JTAG. Is that right? What method are you using to program the EPCQ device? Is this custom hardware or a development kit? Let me know and I will see if I can help. Regards, Alex --- Quote End --- I can successfully configure the FPGA from the EPCQ device (no NIOS processor). I simply convert the SOF output file to a JIC and program the EPCQ flash using JTAG. The problem I am having is specifically related to NIOS. The processor will not begin executing code after configuration. My test setup: - After FPGA configuration, I output CONF_DONE to an LED (LED1) - I wrote HDL to blink an LED (LED2) after the FPGA configures - I wrote C code to blink another LED (LED3) in main() After programming the EPCQ device, LED1 turns on and stays on, LED2 blinks and LED3 never turns on. This indicates that NIOS is not executing code, but the FPGA has been properly configured. I used the NIOS flash loader from the NIOS command line to program the chip, in the order I gave in the original post. I think there is a possibility that the processor is never getting reset from SRAM after configuration. Thanks