Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHard lock with Nios 2 cyclone dev board
Hey guys, I'm trying to get to work developing on the nios development kit cyclone edition. The board has a Nios II chip version 1.1 and a Cyclone EP1C20F400C7 FPGA. I am running Quartus II 4.2...
Altera_Forum
Honored Contributor
21 years agosorry,
i have overlooked that you used the quartus programmer, but you don't have to use quartus to program the fpga with a .sof file, this only writes the .sof file into fpga ram and everything is lost after reset. you have to use the flash programmer from NIOS ide tools menue and flash your successfull generated program with the .sof file into the flash on the development board. (user image). so after step 9, goto ide -> tools -> flashprogrammer. flash your software file and hw user configuration after this, reset the board (user image should load succesfull) and try to start the debugger by menu -> run ->debug... in general: the quartus programmer programs the .sof file directly into the ram of the fpga (everything lost after reset). the nios ide flash programmer converts the .sof file into a .flash file and programs this file into the flash on the board. After reset the configuratin controller (epld on board) loads this hw description from the flash and writes it to the fpga ram.