Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
833 Views

Trouble 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 

 

Chris
0 Kudos
3 Replies
Highlighted
Valued Contributor III
4 Views

Re: Trouble Programming Cyclone V GX starter kit

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
Highlighted
Valued Contributor III
4 Views

Re: Trouble Programming Cyclone V GX starter kit

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
Highlighted
Valued Contributor III
4 Views

Re: Trouble Programming Cyclone V GX starter kit

Thankyou for your help sstrell and Anand. 

 

Chris
0 Kudos