Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Unable 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 the code into hardware I am getting an error message as"VERIFY FAILED BETWEEN ADRESSES 0X1400000 AND 0X140458F LEAVING TARGET PROCESSOR PAUSED"

A screen shot of the error message and the project code has also been attached.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    even I am facing the same issue .. :confused: . I doubt can we use flash as exception vector. One more thing flash reset signal is not generated from the component editor. U have to maually add the pin at aa18...

    thanks
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'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)