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

Boot from CFI Flash Memory

Altera_Forum
Honored Contributor II
1,281 Views

hi everybody, 

 

iam using a cyclone II developement board and iam trying to boot from the cfi flash memory.My design contain a NIOS II system. 

 

i set the reset adress to cfi flash, and i used the flash programmer to program the flash.the flash programming is successfuly done. But when i push the reset config button,the default program runs and not my program. is that normal? 

if anybody have an idea about that please answer me. 

 

THANKS,
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
619 Views

I think that it is because the reset program says the CPLD to reprogram the FPGA with the default configuration, not with the one you made. Have you written the flash memory the the POF, which contains the FPGA configuration?

0 Kudos
Altera_Forum
Honored Contributor II
619 Views

There are two reset config push buttons....factory and user. Which one are you pressing? Also, be sure that you program both the software and the hardware using the flash programmer.

0 Kudos
Altera_Forum
Honored Contributor II
619 Views

i fixed the problem, i didn't set the right offset in the flash programmer  

thanks
0 Kudos
Reply