Forum Discussion

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

Nios 2 IDE download verification error

Downloading 00800020 ( 0%)

Downloading 00810000 (85%)

Downloaded 75KB in 1.6s (46.8KB/s)

Verifying 00800020 ( 0%)

Verify failed

Leaving target processor paused

This message appears when I try to start a simple hello world programme , using the standard SPOC, It worked using the previous version of Nios.

25 Replies

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

    A few more observations on this subject:

    - switching from 5.0 to 5.1 improved the situation in my system quite a bit

    - if the download fails in the NIOS2 IDE, the nios2-debug script always seems to work, but the nios2-download script still always fails.

    - problem seems to be very dependent on a data pattern. Changing the code causes the problem to go away or re-appear.

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

    More on this long thread.

    In my switch over from 5.0 to 5.1, my apps work only half the time without the

    -no verify option annotated in the nios2-download script.

    With the -noverify option used I get the app working about 10/11 times. Of course this is still no good, but it makes me wonder what the difference is. As far as I know the verify option is a simple write/read to memory.

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

    --- Quote Start ---

    originally posted by wombat@May 26 2005, 10:57 PM

    this thread may be long dead, but if you want to disable verification you can hack your nios2-download script to add the argument --no-verify when it calls nios2-gdb-server to actually do the work.

    of course this is not recommended since as jesse said, if there is a verify failure then that probably means you got something wrong.

    if you really are doing exceedingly clever stuff (for example with tightly coupled memories which aren't connected to the data master but are initialised from quartus ii) then you could use nios2-elf-objcopy to copy one elf file to another while removing the stuff you don't want to download. then download the elf file with the unverifiable data stripped out of it.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=7259)

    --- quote end ---

    --- Quote End ---

    Can you tell me how to disable verification more clearly?

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

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    Can you tell me how to disable verification more clearly?[/b]

    --- Quote End ---

    wallace,

    In directory <NIOS>\bin you&#39;ll find a script file &#39;nios2-download&#39;. With an editor change the line:

    eval nios2-gdb-server $arglist

    to

    eval nios2-gdb-server --no-verify $arglist

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

    --- Quote Start ---

    originally posted by mir@Jul 26 2006, 06:31 PM

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    can you tell me how to disable verification more clearly?

    --- Quote End ---

    wallace,

    In directory <NIOS>\bin you&#39;ll find a script file &#39;nios2-download&#39;. With an editor change the line:

    eval nios2-gdb-server $arglist

    to

    eval nios2-gdb-server --no-verify $arglist

    Mike

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17124)</div>

    [/b]

    --- Quote End ---

    Thanks for you answer,I will have a try!