| Setting up embedded c [message #1718907] |
Fri, 01 January 2016 22:13  |
Eclipse User |
|
|
|
Hey guys, I just barely got a bioloid robot from robotis and decided to try and learn to use embedded c to program it. This was there guide on getting started h5ttp://support.robotis.c5om/en/software/embeded_c/cm530/embeded_c_start_stm.h5tm (If you want to see it remove the three fives, won't let me post outside links) . I did everything in there and I know that winarm was installed successfully because I checked as they said in cmd. After doing everything it said for me to do I found that it returned and error in the console window saying
make all
arm-eabi-objdump -h -S -C -D CM530.elf > CM530.lss
0 [main] sh 12420 sync_with_child: child 12436(0x1C0) died before initialization with status code 0xC0000142
26 [main] sh 12420 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [CM530.lss] Error 128
19:56:52 Build Finished (took 223ms)
whenever I clicked build all and this error when I say build project
make all
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o APP/src/main.o APP/src/main.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o APP/src/stm32f10x_it.o APP/src/stm32f10x_it.c
APP/src/stm32f10x_it.c: In function 'SysTickHandler':
APP/src/stm32f10x_it.c:141: warning: implicit declaration of function '__ISR_DELAY'
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_adc.o stm32f10x_lib/src/stm32f10x_adc.c
stm32f10x_lib/src/stm32f10x_adc.c: In function 'ADC_DeInit':
stm32f10x_lib/src/stm32f10x_adc.c:135: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_adc.c: In function 'ADC_SetInjectedOffset':
stm32f10x_lib/src/stm32f10x_adc.c:1106: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_adc.c: In function 'ADC_GetInjectedConversionValue':
stm32f10x_lib/src/stm32f10x_adc.c:1129: warning: dereferencing type-punned pointer will break strict-aliasing rules
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_bkp.o stm32f10x_lib/src/stm32f10x_bkp.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_exti.o stm32f10x_lib/src/stm32f10x_exti.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_flash.o stm32f10x_lib/src/stm32f10x_flash.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_gpio.o stm32f10x_lib/src/stm32f10x_gpio.c
stm32f10x_lib/src/stm32f10x_gpio.c: In function 'GPIO_DeInit':
stm32f10x_lib/src/stm32f10x_gpio.c:56: warning: dereferencing type-punned pointer will break strict-aliasing rules
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_lib.o stm32f10x_lib/src/stm32f10x_lib.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_nvic.o stm32f10x_lib/src/stm32f10x_nvic.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_pwr.o stm32f10x_lib/src/stm32f10x_pwr.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_rcc.o stm32f10x_lib/src/stm32f10x_rcc.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_systick.o stm32f10x_lib/src/stm32f10x_systick.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_tim.o stm32f10x_lib/src/stm32f10x_tim.c
stm32f10x_lib/src/stm32f10x_tim.c: In function 'TIM_DeInit':
stm32f10x_lib/src/stm32f10x_tim.c:139: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c: In function 'TIM_TimeBaseInit':
stm32f10x_lib/src/stm32f10x_tim.c:218: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:218: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c: In function 'TIM_OC1Init':
stm32f10x_lib/src/stm32f10x_tim.c:277: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:277: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c: In function 'TIM_OC2Init':
stm32f10x_lib/src/stm32f10x_tim.c:368: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:368: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c: In function 'TIM_OC3Init':
stm32f10x_lib/src/stm32f10x_tim.c:460: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:460: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c: In function 'TIM_OC4Init':
stm32f10x_lib/src/stm32f10x_tim.c:552: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:552: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c: In function 'TIM_SelectOCxM':
stm32f10x_lib/src/stm32f10x_tim.c:2335: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:2338: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:2344: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_tim.c:2347: warning: dereferencing type-punned pointer will break strict-aliasing rules
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_tim1.o stm32f10x_lib/src/stm32f10x_tim1.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_usart.o stm32f10x_lib/src/stm32f10x_usart.c
stm32f10x_lib/src/stm32f10x_usart.c: In function 'USART_DeInit':
stm32f10x_lib/src/stm32f10x_usart.c:95: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_usart.c: In function 'USART_Init':
stm32f10x_lib/src/stm32f10x_usart.c:159: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_usart.c: In function 'USART_ITConfig':
stm32f10x_lib/src/stm32f10x_usart.c:365: warning: dereferencing type-punned pointer will break strict-aliasing rules
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -c -o stm32f10x_lib/src/cortexm3_macro.o stm32f10x_lib/src/cortexm3_macro.s
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_can.o stm32f10x_lib/src/stm32f10x_can.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_dma.o stm32f10x_lib/src/stm32f10x_dma.c
stm32f10x_lib/src/stm32f10x_dma.c: In function 'DMA_DeInit':
stm32f10x_lib/src/stm32f10x_dma.c:83: warning: dereferencing type-punned pointer will break strict-aliasing rules
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_i2c.o stm32f10x_lib/src/stm32f10x_i2c.c
stm32f10x_lib/src/stm32f10x_i2c.c: In function 'I2C_DeInit':
stm32f10x_lib/src/stm32f10x_i2c.c:117: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_i2c.c: In function 'I2C_ReadRegister':
stm32f10x_lib/src/stm32f10x_i2c.c:648: warning: dereferencing type-punned pointer will break strict-aliasing rules
stm32f10x_lib/src/stm32f10x_i2c.c: In function 'I2C_GetFlagStatus':
stm32f10x_lib/src/stm32f10x_i2c.c:1016: warning: dereferencing type-punned pointer will break strict-aliasing rules
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_iwdg.o stm32f10x_lib/src/stm32f10x_iwdg.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_rtc.o stm32f10x_lib/src/stm32f10x_rtc.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_spi.o stm32f10x_lib/src/stm32f10x_spi.c
stm32f10x_lib/src/stm32f10x_spi.c: In function 'SPI_I2S_DeInit':
stm32f10x_lib/src/stm32f10x_spi.c:67: warning: dereferencing type-punned pointer will break strict-aliasing rules
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_wwdg.o stm32f10x_lib/src/stm32f10x_wwdg.c
arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -g -Os -fno-common -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -c -o stm32f10x_lib/src/stm32f10x_vector.o stm32f10x_lib/src/stm32f10x_vector.c
stm32f10x_lib/src/stm32f10x_vector.c:133: warning: initialization makes pointer from integer without a cast
arm-eabi-ar cr stm32f10x_lib/libstm32.a stm32f10x_lib/src/stm32f10x_adc.o stm32f10x_lib/src/stm32f10x_bkp.o stm32f10x_lib/src/stm32f10x_exti.o stm32f10x_lib/src/stm32f10x_flash.o stm32f10x_lib/src/stm32f10x_gpio.o stm32f10x_lib/src/stm32f10x_lib.o stm32f10x_lib/src/stm32f10x_nvic.o stm32f10x_lib/src/stm32f10x_pwr.o stm32f10x_lib/src/stm32f10x_rcc.o stm32f10x_lib/src/stm32f10x_systick.o stm32f10x_lib/src/stm32f10x_tim.o stm32f10x_lib/src/stm32f10x_tim1.o stm32f10x_lib/src/stm32f10x_usart.o stm32f10x_lib/src/cortexm3_macro.o stm32f10x_lib/src/stm32f10x_can.o stm32f10x_lib/src/stm32f10x_dma.o stm32f10x_lib/src/stm32f10x_i2c.o stm32f10x_lib/src/stm32f10x_iwdg.o stm32f10x_lib/src/stm32f10x_rtc.o stm32f10x_lib/src/stm32f10x_spi.o stm32f10x_lib/src/stm32f10x_wwdg.o stm32f10x_lib/src/stm32f10x_vector.o
arm-eabi-gcc -Wl,--gc-sections,-Map=CM530.elf.map,-cref,-u,Reset_Handler -I. -Istm32f10x_lib/inc -IHW/inc -IAPP/inc -Lstm32f10x_lib -T stm32.ld APP/src/main.o APP/src/stm32f10x_it.o stm32f10x_lib/libstm32.a --output CM530.elf
arm-eabi-objcopy -O ihex CM530.elf CM530.hex
arm-eabi-objcopy -O binary CM530.elf CM530.bin
arm-eabi-objdump -h -S -C -D CM530.elf > CM530.lss
0 [main] sh 13120 sync_with_child: child 9760(0x10C) died before initialization with status code 0xC0000142
24 [main] sh 13120 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [CM530.lss] Error 128
Anybody know what is wrong? How should I fix this? Thanks in advance.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03598 seconds