Altera_Forum
Honored Contributor
13 years agomake_flash_image_script not working on Win7
Hi all,
I recently upgraded to Windows 7 Professiona 64 bitl. I have a NIOS II project from a few years back that uses the Advanced Boot Copier, a custom boot loader provided by Altera (see http://www.altera.com/support/examples/nios2/exm-alt-boot-methods.html). The software includes a "make_flash_image_script.sh" that will package you .elf file into a boot record that is recognizable to the boot copier. All this works fine in WinXP. However, on Win7 I keep getting "Permission Denied" errors. Specifically, when script call the following utility: nios2-elf-strip --remove-section=.entry $tmp0_outfile_elf ; I get an error message: c:\altera\12.0\nios2eds\bin\gnu\H-i686-mingw32\bin\nios2-elf-strip.exe:PCI_Test.elf.tmp.elf: Permission denied I run the Nios II Command Shell in Administrative mode and I have set the permissions to Full Control in the properties for "make_flash_image_script.sh". Yet I continue to get the same error. I can take this same script and .elf file to my WinXP pc and it runs with no problems. I need this script to work on Win7. Does anyone have any idea how to resolve this? I would appreciate any help as I'm hitting my head against the wall at this point. Thanks, Kantoroi