Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCan’t find Nios2config.
I just downloaded eCos 2.0 for Nios II. After running the install, I am unable to find the nios2configtool utility. The configtool and configtool20 utilities are in the C:\altera\kits\nios2\component...
Altera_Forum
Honored Contributor
21 years agoHi niosIIuser,
Yip, seems like we're stuck on the same page. To check the SOPC builder PATH variable, type : $PATH in the SDK shell. Mine gives : <div class='quotetop'>QUOTE </div> --- Quote Start --- bash: /usr/local/bin:/cygdrive/c/altera/kits/nios2/components/ecos/ecos-2.0/tool s/bin:/cygdrive/c/altera/kits/nios2/components/ecos/ecos-2.0/packages/hal/nios2/ tools/bin:/bin:/usr/bin:/cygdrive/c/altera/kits/nios2/bin:/cygdrive/c/altera/kit s/nios2/bin/fs2/bin:/cygdrive/c/altera/quartus41sp2/bin:/cygdrive/c/altera/quart us41sp2/bin/perl561/bin:/cygdrive/c/altera/quartus41sp2/bin/gnu:/cygdrive/c/alte ra/quartus41sp2/sopc_builder/bin:/bin:/usr/bin: No such file or directory[/b] --- Quote End --- Not sure why it says No such file or directory, as that shouldn't be so. BTW, Did you run "program_flash" from the diecroty into which you copied the example file? There should be a hello file that is about 1MB in size. my eCos Lib file directory is c:\altera\kits\ecos\test_install test_build and test_mlt. my eCos examples directory is c:\altera\lits\ecos\examples. so to upload the hello elf file i run the following command from the examples directry:
/cygdrive/c/altera/kits/ecos/test_install/program_flash hello
../test_install/program_flash hello would also work. You basically run the program_flash script from the _install directory, while still in the examples directory. program_flash then uploaded the hello file, but my nios2-terminal never responded Does it work for you?