Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

System doesn't keep programming

Altera_Forum
Honored Contributor II
1,775 Views

I'm very new to using FPGA's and I'm having a small issue using the the Max10 Eval Board. I'm able to create a system and program the board fine but every time the board looses power (I unplug it and plug it back in) the programming seams to be lost. 

 

Is there something I need to do that I don't know about. I followed each lab (NIOS II hello world, MyFirstFPGA counter) and they work great but the program does not stick after a reset event. 

 

I've looked all over for something I may be missing but can't find anything.  

 

I would be very grateful for any help or suggestions. 

 

Thanks 

 

Joe.
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
362 Views

Are you use .SOF to program? or .POF ?

0 Kudos
Altera_Forum
Honored Contributor II
362 Views

I did what the directions stated and used the .SOF.

0 Kudos
Altera_Forum
Honored Contributor II
362 Views

It's has two MAX10 EVA BOARDs, one is 10M08S, the other one is 10M50. 

which EAV you program?  

 

if it's 10M08S, you can follow the doc start at page 3-4 "Generating a .pof File with ICB Settings" 

https://www.altera.com/en_us/pdfs/literature/ug/ug_max10_eval_10m80.pdf 

 

if your EAV board is 10M50. you can start at page 3-21 "Flash" as below doc 

https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/products/devkits/altera/documents/10m50_evaluation_board_userguide.pdf
0 Kudos
Altera_Forum
Honored Contributor II
362 Views

Programming FPGA by .SOF, than the code will lost after power lost. --> FPGA CAN'T remember any code when power lost. 

Please try .POF 

 

I saw the link address was be CUT.  

please key-in key word "Max10 Eval Board pdf" in google. 

then you will find the PDF
0 Kudos
Altera_Forum
Honored Contributor II
362 Views

Thanks much

0 Kudos
Altera_Forum
Honored Contributor II
362 Views

This is the whole idea behind FPGAs. The configuration is stored in SRAM cells when you program the device. That's why the programming information must be stored on a non-volatile memory (usually flash) so the device gets programmed at power-up. MAX 10 devices include onboard flash so you can store your device configuration in the part of it called the CFM (configuration flash memory). See the MAX 10 trainings here and associated documentation: 

 

https://www.altera.com/support/training/catalog.html?coursetype=online&language=english&keywords=max
0 Kudos
Reply