Создаю проект для Nios II по tt_nios2_hardware_tutorial.pdf
Делаю проект из примеров Create a New Nios II Application and BSP from Template
На шаге Run the Program on Target Hardware при компиляции проекта выдает
Код
*** Build of configuration Nios II for project count_binary ****
make all
Info: Building ../count_binary_bsp/
make --no-print-directory -C ../count_binary_bsp/
[BSP build complete]
Info: Compiling count_binary.c to obj/default/count_binary.o
nios2-elf-gcc -xc -MP -MMD -c -I../count_binary_bsp//HAL/inc -I../count_binary_bsp/ -I../count_binary_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_C_PLUS_PLUS -DALT_NO_INSTRUCTION_EMULATION -DALT_USE_SMALL_DRIVERS -DSMALL_C_LIB -DALT_SINGLE_THREADED -O0 -g -Wall -EL -mno-hw-div -mno-hw-mul -mno-hw-mulx -o obj/default/count_binary.o count_binary.c
cc1.exe: error: count_binary.c: Permission denied
make: *** [obj/default/count_binary.o] Error 1
make all
Info: Building ../count_binary_bsp/
make --no-print-directory -C ../count_binary_bsp/
[BSP build complete]
Info: Compiling count_binary.c to obj/default/count_binary.o
nios2-elf-gcc -xc -MP -MMD -c -I../count_binary_bsp//HAL/inc -I../count_binary_bsp/ -I../count_binary_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_C_PLUS_PLUS -DALT_NO_INSTRUCTION_EMULATION -DALT_USE_SMALL_DRIVERS -DSMALL_C_LIB -DALT_SINGLE_THREADED -O0 -g -Wall -EL -mno-hw-div -mno-hw-mul -mno-hw-mulx -o obj/default/count_binary.o count_binary.c
cc1.exe: error: count_binary.c: Permission denied
make: *** [obj/default/count_binary.o] Error 1
Выдает сообщение project does not have an elf file...
Что может быть?