Forum Discussion

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

Downloading ELF file onto target NIOS processor Failed

Hello,

When I build and download my Hello World application using the 'Run Configurations' GUI menu in Eclipse, I get a 'verify failed' error. Anyone know what this indicates and how I can resolve this?

Below is the error I get when I try to run my application.

Thanks,

Nishanth

using cable “usb-blaster [usb-0]”, device 1, instance 0x00

processor is already paused

reading system id at address 0x00002080: verified

initializing cpu cache (if present)

ok

downloading 02000000 ( 0%)

downloading 08000000 ( 0%)

downloading 080111f0 (89%)

downloaded 69kb in 2.2s (31.3kb/s)

verifying 02000000 ( 0%)

verifying 08000000 ( 0%)

verify failed between address 0x8000000 and 0x800f653

leaving target processor paused

11 Replies

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

    --- Quote Start ---

    Hello there, I'm having the same problem here since I set my NIOS reset_vector to the external EPCS flash memory from the external SDRAM.

    But, if I make a JIC with my Sof and Elf files and then burn the flash, it works fine. Otherwise (with the reset vector at SDRAM) the software would not boot. Make sure your reset_vector is at SDRAM so it will not load the software image at flash upon your just downloaded elf at sdram.

    --- Quote End ---

    If the nios app is linking the application to execute from RAM (on-chip or external), the reset vector shouldn't matter. The Nios IDE should download the application to RAM and not try downloading/verify what's at the reset memory (flash).

    Otherwise, you'd need to have one qsys version that has the reset pointing to RAM, and another non-debug version that has it pointing to flash. Who does this?