- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello everyone,
I am trying to execute basic NiosII system on DE2-115 board. I generated the .qsys and .sof files and entered them in the altera monitor program. But after the compile and load I am facing certain errors as given below- C:/altera/13.0sp1/quartus/../University_Program/Monitor_Program/bin/up_nios2_command_shell.sh: line 16: $'\r': command not found C:/altera/13.0sp1/quartus/../University_Program/Monitor_Program/bin/up_nios2_command_shell.sh: line 17: $'\r': command not found C:/altera/13.0sp1/quartus/../University_Program/Monitor_Program/bin/up_nios2_command_shell.sh: line 22: $'\r': command not found C:/altera/13.0sp1/quartus/../University_Program/Monitor_Program/bin/up_nios2_command_shell.sh: line 62: syntax error near unexpected token `$'{\r'' C:/altera/13.0sp1/quartus/../University_Program/Monitor_Program/bin/up_nios2_command_shell.sh: line 62: `env_var_delete () { ' /usr/bin/bash: nios2-elf-objcopy: command not found I am using Windows 7, 64 bit OS.. Thanks in advance.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the solution for this problem. I worked on windows the whole time and the up_nios2_command_shell.sh is a shell script executed in linux always, so I had to install Cygwin to run this shell script in windows.
you install cygwin package onto your OS, various versions are available according to the windows OS. (32/64 bit and windows 7/8). Thank you.
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