FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6031 Discussions

Trouble Programming Cyclone V GX starter kit

Altera_Forum
Honored Contributor II
1,414 Views

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 

 

Chris
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
585 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
585 Views

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)
0 Kudos
Altera_Forum
Honored Contributor II
585 Views

Thankyou for your help sstrell and Anand. 

 

Chris
0 Kudos
Reply