Beginner problem in tutorial B1, building for cwlite with XMEGA target

In the fourth point, i dont get the expected answer:
c:\chipwhisperer\hardware\victims\firmware\simpleserial-buildingtarget>make PLATAFORM=CW303
using saved PLATFORM ‘CW303’
rm -f – simpleserial-aes-CW303.hex
rm -f – simpleserial-aes-CW303.eep
rm -f – simpleserial-aes-CW303.cof
rm -f – simpleserial-aes-CW303.elf
rm -f –
rm -f – simpleserial-aes-CW303.sym
rm -f – simpleserial-aes-CW303.lss
rm -f – objdir/.o
make: [clean_objs] Error -1073741502 (ignored)
rm -f – objdir/
make: [clean_objs] Error -1073741502 (ignored)
rm -f – simpleserial-aes.s simpleserial.s XMEGA_AES_driver.s uart.s usart_driver.s xmega_hal.s aes-independant.s aes_enc.s aes_keyschedule.s aes_sbox.s aes128_enc.s
rm -f – simpleserial-aes.d simpleserial.d XMEGA_AES_driver.d uart.d usart_driver.d xmega_hal.d aes-independant.d aes_enc.d aes_keyschedule.d aes_sbox.d aes128_enc.d
rm -f – simpleserial-aes.i simpleserial.i XMEGA_AES_driver.i uart.i usart_driver.i xmega_hal.i aes-independant.i aes_enc.i aes_keyschedule.i aes_sbox.i aes128_enc.i
-------- begin --------
avr-gcc (WinAVR 20100110) 4.3.3
Copyright © 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

Linking: simpleserial-aes-CW303.elf
avr-gcc -mmcu=atxmega128d3 -I. -fpack-struct -gdwarf-2 -DSS_VER=SS_VER_1_1 -DHAL_TYPE=HAL_xmega -DPLATFORM=CW303 -DAVRCRYPTOLIB -DF_CPU=7372800UL -Os -funsigned-char -funsigned-bitfields -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=objdir/simpleserial-aes.o -I…/./simpleserial/ -I…/./hal -I…/./hal/xmega -I…/./crypto/ -I…/./crypto/avrcryptolib//aes -I…/./crypto/avrcryptolib//gf256mul -std=gnu99 -MMD -MP -MF .dep/simpleserial-aes-CW303.elf.d objdir/simpleserial-aes.o objdir/simpleserial.o objdir/XMEGA_AES_driver.o objdir/uart.o objdir/usart_driver.o objdir/xmega_hal.o objdir/aes-independant.o objdir/aes_enc.o objdir/aes_keyschedule.o objdir/aes_sbox.o objdir/aes128_enc.o objdir/gf256mul.o --output simpleserial-aes-CW303.elf -Wl,,–cref -lm
Creating load file for Flash: simpleserial-aes-CW303.hex
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature simpleserial-aes-CW303.elf simpleserial-aes-CW303.hex
Creating load file for EEPROM: simpleserial-aes-CW303.eep
avr-objcopy -j .eeprom --set-section-flags=.eeprom=“alloc,load”
–change-section-lma .eeprom=0 --no-change-warnings -O ihex simpleserial-aes-CW303.elf simpleserial-aes-CW303.eep || exit 0
0 [main] sh 10476 sync_with_child: child 20356(0x1A0) died before initialization with status code 0xC0000142
132 [main] sh 10476 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: [simpleserial-aes-CW303.eep] Error 128 (ignored)
Creating Extended Listing: simpleserial-aes-CW303.lss
avr-objdump -h -S -z simpleserial-aes-CW303.elf > simpleserial-aes-CW303.lss
0 [main] sh 20316 sync_with_child: child 19064(0x19C) died before initialization with status code 0xC0000142
129 [main] sh 20316 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [simpleserial-aes-CW303.lss] Error 128


I’m not sure what is wrong, if someone can help me will be great.


Looks like you’re running into this issue. The fix is to either download avr-gcc (can be found here and manually put it into your path, or to use the fix described in here.

Let us know if you run into any issues


Thanks for the answer! i will try it later, right now the VM works good for me. I will reply when i try to fix the error in windows.