Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
Hi,
Does it is possible to download the elf file to the FPGA(configed with Nios core) by a mcu directly? Thanks a lot! - Altera_Forum
Honored Contributor
confused.
[In our design, we use the mcu to programming the fpga, and fpga has no flash connected to it.] Where does your configuration data locate? On PC or on your board? Do you download by using a cable? [Does it is possible to download the elf file to the FPGA(configed with Nios core) by a mcu directly?] Do you mean you want to download elf to on-chip memory? ELF shall be copied to SRAM or SDRAM for executing and shall not be downloaded to FPGA, I think. - Altera_Forum
Honored Contributor
Hi, Thank you for you reply!
MCU has flash which store the configration data. So after the fpga configed with the NIOSII core, Does it possible to upload the elf file to FPGA by the MCU? Thanks a lot! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif - Altera_Forum
Honored Contributor
hxdzjk,
Altera provides a detailed handbook how this could be done: ... see alteras: configuration handbook (http://www.altera.com/literature/lit-config.jsp) In Quartus 'Assignments->Device->Device & Pin Options...' you can configure to get a Raw-Binary-File which can be sent to FPGA in a serial manner (passive serial configuration) to configure your FPGA after power-on by a MCU. If you add internal ROM and RAM you can also write your own boot loader to receive then the firmware from your MCU and stores it in its System-RAM. Mike - Altera_Forum
Honored Contributor
Mike, Thank you very much! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif