Forum Discussion
Altera_Forum
Honored Contributor
8 years agoTrouble Programming Cyclone V GX starter kit
Hi,
Very new to FPGAs. Have purchased the Terasic Cyclone V GX starter kit and am using Quartus II to program it. I am testing the board with some basic or gate code attached to the on-board buttons and LEDs. I can compile the code fine, create the .sof and use that to program the FPGA. Once programmed, the code/buttons/LEDs work as expected. The problem is that it seems to wipe the code every time I turn the dev board off and it goes back to the flashing LED demo. I am assuming I need to commit it to the flash memory somehow, but I have no idea how to do that, and cant seem to find anything to do with that in the user guide or online.https://alteraforum.com/forum/attachment.php?attachmentid=14498&stc=1 Any help will be appreciated Chris3 Replies
- Altera_Forum
Honored Contributor
FPGAs are based off of SRAM controlled switches, so yes, if you power cycle, you lose the design.
Using the quad SPI flash in active serial mode to program the FPGA at power up is described right in the manual: Configuring the EPCQ256 in AS Mode. - Altera_Forum
Honored Contributor
Hi,
Generate .pof or .jic for configuring EPCQ256. Refer manual for steps. https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/an/an370.pdf Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation) - Altera_Forum
Honored Contributor
Thankyou for your help sstrell and Anand.
Chris