- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just bought a DE2-115, installed Quartus 11.0sp1 (and NIOS).
USB blaster shows up in USB devices and it responds to ControlPanel.exe (only the win7 64 bit version). Host is Windows 7 32bit. The IR demonstration loads and runs fine (DE2 responds to remote control). But other demo produces the following errors: ------------------------------------------------- Altera Nios2 Command Shell [GCC 3] Version 11.0sp1, Built Mon Jul 4 01:29:34 PDT 2011 ------------------------------------------------- bash: nios2-download: command not found bash: nios2-terminal: command not found I have added Quartus bin directory to the path e-var, no difference. Any help would be greatly appreciated!Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It`s may be you do not change the workspace , you can try it . You should look over the workpath of QuartusII and NiosII .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem . I tried switching the workspace from NIOSII IDE but it didn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I have the same problem . I tried switching the workspace from NIOSII IDE but it didn't work. --- Quote End --- Same here on two different machines under Windows 7 (32 bit and 64 bit).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've done now a pretty dirty hack - and perhaps get other problems somewhere. I simply do not see at this early stage, how this works all together.
I changed the file "nios_bash" in around line 96 from (version from 11.1sp2): PATH="/bin:/usr/bin" to PATH="/bin:/usr/bin:/cygdrive/d/altera/11.1sp2/nios2eds/bin:/cygdrive/d/altera/11.1sp2/nios2eds/bin/fs2/bin:/cygdrive/d/altera/11.1sp2/nios2eds/bin/gnu/H-i686-mingw32/bin" and now the demonstrations batch files seem to run. please notice the fixed drive name /d/ in those paths, which is due to my installation.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can use emeditor or word pad open the xxx.bat than replace @ set SOPC_BUILDER_PATH_xx=%SOPC_KIT_NIOS2%+%SOPC_BUILDER_PATH_xx%
to @ set SOPC_BUILDER_PATH=%SOPC_KIT_NIOS2%+SOPC_BUILDER_PATH%- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Feldti, your tip works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Thank you Feldti, your tip works. --- Quote End --- Thanks a lot Feldti It works! I modify the file named: nios_bash in two lines here is what i do: PATH_BEFORE_NIOS_BASH=$PATH export PATH_BEFORE_NIOS_BASH # Before ---> PATH="/bin:/usr/bin"# After ---> PATH="/bin:/usr/bin:/cygdrive/c/altera/10.1/nios2eds/bin:/cygdrive/c/altera/10.1/nios2eds/bin/fs2/bin:/cygdrive/c/altera/10.1/nios2eds/bin/gnu/H-i686-mingw32/bin:$PATH"# If ModelSim is in the path, let's keep it before we rebuild PATH vsimpath=`which vsim 2> /dev/null` [ $? != 1 ] && msim_path=`dirname $vsimpath` unset vsimpath # Before ---> PATH="/bin:/usr/bin"# After ---> PATH="/bin:/usr/bin:/cygdrive/c/altera/10.1/nios2eds/bin:/cygdrive/c/altera/10.1/nios2eds/bin/fs2/bin:/cygdrive/c/altera/10.1/nios2eds/bin/gnu/H-i686-mingw32/bin:$PATH" I only add the line PATH="/bin:/usr/bin:/cygdrive/c/altera/10.1/nios2eds/bin:/cygdrive/c/altera/10.1/nios2eds/bin/fs2/bin:/cygdrive/c/altera/10.1/nios2eds/bin/gnu/H-i686-mingw32/bin:$PATH" two times in these positions (arround the line 87 to 100). THANKS!:cool:

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page