Forum Discussion
Altera_Forum
Honored Contributor
16 years agoUnable to Download Nios2 code
I am using DE2 developmet board. I have written a program to simply control the LEDs in the DE2 board using switches using NIOS2. I stored the application program in the Flash. But while downloading ...
Altera_Forum
Honored Contributor
16 years agoI'm afraid you can't download code into flash memory. You must use flash-programmer or something similar. It seems that downloading code only does 'simple writing', and flash memories requires a cfi with especial rutines for writing. So the verifiy process fails.
After you write your code into flash, you can do 'Run as.. ' or 'debug as..'. Because code had be written before, downloading it doesn´t get error, and the verify process runs ok. (I'm using this to debug code in flash)