Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi,
I also defined every environment variable related to Quartus. That one included. But shouldn't all the variables be defined by the setup upon installation????? Anyway, the first time I installed the Eclipse allowed me to start a new Nios2 C project, BSP project, everything. After some uninstalling and installing of Quartus (always the same version) the options to start Nios2 related project do not appear. Something is very weird with this..... Anyway, I removed everything Quartus related from the environment variables and the registry. I'm now on my fourth attempt of installing everything. I just wanna make sure I can compile and execute .elf files for the Nios2 processor at this point. Every other demonstration works just fine. rogerjennings: "@ set SOPC_BUILDER_PATH_71=%SOPC_KIT_NIOS2%+%SOPC_BUILDE R_PATH_71%" Could the space in "...BUILDE R_PATH..." have anything to do with what we are experiencing? dwh@ovro.caltech.edu: "You commented that you started from a windows cmd shell, and got dumped to a [NiosII EDS]$ prompt - which is the Cygwin prompt - so I was suggesting to start from the Cygwin prompt and see if that helped." I started from the nios2 command shell and despite finding nios2-terminal and nios2-download, I was unable to see test_bashrc so I could execute it. UPDATE: Just finished a brand new instalation of Quartus 11.0 and Nios2 EDS. Had a problem finding nios2-download and nios2-terminal. Added to the PATH environment variable: C:\altera\11.0sp1\nios2eds\bin and C:\altera\11.0sp1\nios2eds\bin\gnu\H-i686-mingw32\bin after executing the batch file, the following error happened. "bash 5532 c:\altera\11.0sp1\quartus\bin\cygwin\bin\bash.exe: *** fatal error - internal error reading the windows environment - too many environment variables?" Bit strange isn't it? NEW UPDATE: SUCCESS!!! I changed the order by which the paths (mentioned above) appear on the PATH environment variable. I had them at the end, now their at the beginning. Why? Because I read somewhere on this forum that cygwin has a limited amount of memory for environment variables. "Hello from Nios II!" :D Tell me if it work for you. Cheers, LDS