Guten Tag
Ich wollte mich jetzt einmal an AVR mit USB (ATmega32U4) heranwagen.
Da die Beispiele auf Microchip dafür eher suboptimal sind (Schreibfehler
-> O statt 0, Backslashes über den gesammten Quellcode wild verteilt
usw.) hatte ich gedacht dass ich mir LUFA
anschaue.(https://github.com/abcminiuser/lufa)
Also Zip heruntergeladen und versucht ein Beispielprojekt zu
kompilieren.
Ich habe aber das Problem dass keines der Beispielprojecte kompillieren
will.
Weder mittels WinAVR + Kommandozeile noch über Microchip Studio.
Kann mir bitte jemand verraten was ich da falsch gemacht habe?
Das ist die Konsolenausgabe:
1 | C:\AVR\LUFA\lufa-master\Projects\USBtoSerial>make
|
2 | 0 [main] sh 6840 sync_with_child: child 7044(0x208) died before initialization with status code 0xC0000142
|
3 | 84 [main] sh 6840 sync_with_child: *** child state waiting for longjmp
|
4 | /usr/bin/sh: fork: Resource temporarily unavailable
|
5 | 0 [main] sh 3048 sync_with_child: child 10232(0x214) died before initialization with status code 0xC0000142
|
6 | 80 [main] sh 3048 sync_with_child: *** child state waiting for longjmp
|
7 | /usr/bin/sh: fork: Resource temporarily unavailable
|
8 | 0 [main] sh 5188 sync_with_child: child 8140(0x214) died before initialization with status code 0xC0000142
|
9 | 70 [main] sh 5188 sync_with_child: *** child state waiting for longjmp
|
10 | /usr/bin/sh: fork: Resource temporarily unavailable
|
11 | [INFO] : Begin compilation of project "USBtoSerial"...
|
12 |
|
13 | avr-gcc (WinAVR 20100110) 4.3.3
|
14 | Copyright (C) 2008 Free Software Foundation, Inc.
|
15 | This is free software; see the source for copying conditions. There is NO
|
16 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
17 |
|
18 | [OBJCPY] : Extracting EEP file data from "USBtoSerial.elf"
|
19 | avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings USBtoSerial.elf USBtoSerial.eep || exit 0
|
20 | 0 [main] sh 2116 sync_with_child: child 4092(0x200) died before initialization with status code 0xC0000142
|
21 | 83 [main] sh 2116 sync_with_child: *** child state waiting for longjmp
|
22 | /usr/bin/sh: fork: Resource temporarily unavailable
|
23 | make: *** [USBtoSerial.eep] Error 128
|
24 |
|
25 | C:\AVR\LUFA\lufa-master\Projects\USBtoSerial>
|
Hex und elf werden generiert, aber ich würde trotzdem gerne wissen was
da einen Fehler wirft.