Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12612 Discussions

problems creating application and BSP from template

Altera_Forum
Honored Contributor II
2,264 Views

Hi, 

I am using quartus 9.1, I am trying to produce a projecting useing the creating application and BSP from template. I get the error 

 

Failed to execute: ./create-this-app --no-make 

chmod: changing permissions of `.': Permission denied 

chmod: changing permissions of `./create-this-app': Permission denied 

 

Please see attached picture 

 

Operating system Vista 64 Home  

 

Thanks
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
949 Views

Bummer that you're seeing this as it shouldn't happen. It "should" be easy enough to work through. Open a Nios II Command Shell (really just an Altera-specific Cygwin shell), change directories to where your project(s) is(are) located and type "chmod -R +w". There are two possible outcomes...that I can think of: 

  1. The command will succeed and you'll be able to proceed. 

  2. The command will fail due to some sort of bizarre Vista-related permissions issue.
Best of luck and let us know how it goes. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
949 Views

Hi, 

 

I entered chmod +R -w * and get lots of permsion denied. I changed the permissions useing windows file manager and no permission denied. 

 

There is an issue when the error screen is shown, it continues and produces the BSF library but not the project library. 

 

On a smilar note, nios2-app-update-makefile.exe asks for permission to run every time it is invoked!! This is a bit of a pain.. 

 

Regards 

 

James
0 Kudos
Altera_Forum
Honored Contributor II
949 Views

I don't think the OS you're using is officially supported. That might have something to do with it. I have zero issues on 64-bit Ubuntu (at home) and Windows XP (and other Linuxes) at work. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
949 Views

Hi, 

 

Currently the only fix is to run NIOS 9.1 EDS using "Run As Administrator" option. 

 

I've also reported to Altera that nios2-app-update-makefile.exe should be signed to prevent UAC warning. They have also had similar problems in the previous versions of the command line tools and they have fixed those. 

 

slacker wrote: "I don't think the OS you're using is officially supported". 

 

Well, it depends which document you are reading. The readme.txt from Quartus 9.1 states: 

 

"The Nios II Embedded Design Suite is supported on the following 

operating systems and versions: 

Windows XP SP2 

Windows XP Pro X64 Edition 

Windows Vista 32-bit 

Windows Vista 64-bit 

... 

 

But in the Altera's Download Center only the 32-bit Windows versions are listed under NIOS tool. 

 

And the NIOS 9.1 Release note (which was released this weekend, after two weeks of the actual release of the software :-) states that XP (64) is supported but no Vista 64-bit ... 

 

So go figure. 

 

My own situation is that I'm running Windows 7 64-bit. Although I'm able to run NIOS 9.0 IDE nicely, the new NIOS 9.1 EDS fails to show "NIOS II Hardware" option, so I'm not able to run any NIOS applications with it. And this problem turned out to be only with Windows 7, which is not supported at all. 

 

I could use the legacy NIOS 9.1 IDE, but because the programming tools produce a non-bootable EPCS flash file, I cannot use 9.1 at all. 

 

So I continue using NIOS 9.0 IDE, but I have 9.1 installed so that I get the USB Blaster driver from 9.1, which finally works without tricks under 64-bit Windows ... 

 

Regards, 

Jari
0 Kudos
Altera_Forum
Honored Contributor II
949 Views

Hi -  

 

I'm treading the same ground now and experiencing the same "No Hardware Configuration" option with NIOS II Eclipse 9.1 SP2 tools. Has there been any update on this problem? 

 

Trying to run 9.1 SP2 on Windows 7 32 bit. Other that this specific issue, I've been having pretty good success. 

 

Also, any updates on 9.1 IDE "non-bootable EPCS flash file" issue you reported? As you said, leaving 9.1 largely unusable due to only a handful of issues. 

 

Thanks, 

Phil
0 Kudos
Altera_Forum
Honored Contributor II
949 Views

I had the same issues with windows 7 x64. 

Running as administrator fixed the Failed to execute: ./create-this-app --no-make
0 Kudos
Altera_Forum
Honored Contributor II
949 Views

Yes, also working on Windows 7 64bit : 

If you don't see a NiosII menu item on Eclipse, 

or File => Run -> Nios II C/C++ Application and BSP from Template 

Un-install all Altera packages, delete all Altera files, reboot, re-install NiosII with Eclipse. 

Then one should have the NiosII menu items, including "Nios II C/C++ Application and BSP from Template". 

If get a .bsp but no application : 

Run Eclipse in XP sp2 compatibility mode. I have administrator privileges. Say yes if get a run confirm window.  

Then run "Nios II C/C++ Application and BSP from Template". 

Should now run through OK.  

Build Application (right click). 

Use NiosII => Quartus II Programmer menu item to connect to hardware, upload .sof file. 

Run application as NioII Hardware, making sure you refresh the USB connection if needed (on extreme right of window if pops up). 

Should now all run. 

Best of luck.
0 Kudos
Reply