avr studio刚装完,运行程序出问题,一直没解决,求解答 5
刚装完avrstudio,听了力天电子的视频讲座,运行简单程序,编译总是出问题,程序如下:#include<avr/io.h>intmain(void){while(1)...
刚装完avr studio,听了力天电子的视频讲座,运行简单程序,编译总是出问题,程序如下:
#include<avr/io.h>
int main(void)
{
while(1);
}
编译后提示如下:
0 [main] sh 2024 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1808, windows pid 2392, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
rm -rf test.o test.elf dep/* test.hex test.eep test.lss test.map
Build succeeded with 0 Warnings...
0 [main] sh 648 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1808, windows pid 4656, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
avr-gcc -mmcu=atmega16 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=7372800UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT test.o -MF dep/test.o.d -c ../test.c
avr-gcc -mmcu=atmega16 test.o -o test.elf
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature test.elf test.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex test.elf test.eep || exit 0
0 [main] sh 5992 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1816, windows pid 4508, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
make: [test.eep] Error 128 (ignored)
avr-objdump -h -S test.elf > test.lss
0 [main] sh 5212 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1816, windows pid 3096, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [test.lss] Error 128
Build failed with 1 errors and 0 warnings...
我不知道到底是什么错误,好像不是程序的问题,而是软件设置的问题,求指点 展开
#include<avr/io.h>
int main(void)
{
while(1);
}
编译后提示如下:
0 [main] sh 2024 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1808, windows pid 2392, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
rm -rf test.o test.elf dep/* test.hex test.eep test.lss test.map
Build succeeded with 0 Warnings...
0 [main] sh 648 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1808, windows pid 4656, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
avr-gcc -mmcu=atmega16 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=7372800UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT test.o -MF dep/test.o.d -c ../test.c
avr-gcc -mmcu=atmega16 test.o -o test.elf
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature test.elf test.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex test.elf test.eep || exit 0
0 [main] sh 5992 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1816, windows pid 4508, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
make: [test.eep] Error 128 (ignored)
avr-objdump -h -S test.elf > test.lss
0 [main] sh 5212 fork_copy: user/cygwin data pass 0 failed, 0x46F000..0x474434, done 1816, windows pid 3096, Win32 error 5
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [test.lss] Error 128
Build failed with 1 errors and 0 warnings...
我不知道到底是什么错误,好像不是程序的问题,而是软件设置的问题,求指点 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询