Forum Discussion
Altera_Forum
Honored Contributor
21 years agoNios 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
Honored 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
Honored 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
Honored 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
Honored 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'll find a script file 'nios2-download'. With an editor change the line: eval nios2-gdb-server $arglist to eval nios2-gdb-server --no-verify $arglist Mike - Altera_Forum
Honored 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'll find a script file 'nios2-download'. 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!