Azzera filtri
Azzera filtri

Hello, What is my simulink problem that the following error occur when I run my pwm model in simulink with its pack of arduino:

1 visualizzazione (ultimi 30 giorni)
Aliiii Fazli, [15.07.16 15:25] [Forwarded from محمدی] The call to realtime_make_rtw_hook, during the after_make hook generated the following error: The build failed with the following message: "C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-gcc" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduino_download/arduinobase/toolbox/realtime/targets/arduino/include" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduino_download/arduinobase/toolbox/realtime/targets/arduino/blocks/sfcn/include" -I"E:/arduino/R2014b_rtt" -I"E:/arduino" -I"C:/Users/RAIKA.CO/Desktop/ardu" -I"D:/Program Files/MATLAB/R2014b/extern/include" -I"D:/Program Files/MATLAB/R2014b/simulink/include" -I"D:/Program Files/MATLAB/R2014b/rtw/c/src" -I"D:/Program Files/MATLAB/R2014b/rtw/c/src/ext_mode/common" -I"D:/Program Files/MATLAB/R2014b/rtw/c/ert" -I"D:/Program Files/MATLAB/R2014b/toolbox/coder/rtiostream/src/utils" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/system/libsam" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/CMSIS/Include" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/Device/ATMEL" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/cores/arduino" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/cores/arduino/USB" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/variants/arduino_due_x" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinodue_download/arduinodue/toolbox/realtime/targets/arduinodue/include" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/libraries/Servo/src" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/libraries/Servo/src/sam" -I"D:/Program Files/MATLAB/R2014b/rtw/c/src/ext_mode/serial" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinodue_download/arduinodue/toolbox/realtime/targets/arduinodue/src" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib —param max-inline-insns-single=500 -fno-rtti -fno-exceptions -mcpu=cortex-m3 -mthumb -I. -D"MODEL=R2014b" -D"NUMST=2" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ON_TARGET_WAIT_FOR_START=1" -D"ONESTEPFCN=0" -D"EXT_MODE=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"CLASSIC_INTERFACE=0" -D"ALLOCATIONFCN=0" -D"TID01EQ=1" -D"printf=iprintf" -D"F_CPU=84000000" -D"_RUNONTARGETHARDWARE_BUILD_=" -D"_ROTH_DUE_=" -D"ARDUINO=156" -D"ARDUINO_SAM_DUE=" -D"ARDUINO_ARCH_SAM=" -D"__SAM3X8E__=" -D"USB_PID=0x003e" -D"USB_VID=0x2341" -D"USBCON=" -D"_RTT_NUMSERVOS_=0" -D"_RTT_SINGLE_TASKING_MODE_=" -D"EXIT_FAILURE=1" -D"EXTMODE_DISABLEPRINTF=" -D"EXTMODE_DISABLETESTING=" -D"EXTMODE_DISABLE_ARGS_PROCESSING=1" ./io_wrappers.cpp ./TimerTickScheduler.c ./arm_cortex_m_multitasking.c ./rtiostream_serial.cpp ./IPAddress.cpp ./Print.cpp ./Reset.cpp ./RingBuffer.cpp ./Stream.cpp ./UARTClass.cpp ./USARTClass.cpp ./CDC.cpp ./HID.cpp ./USBCore.cpp ./WInterrupts.c ./WMath.cpp ./WString.cpp ./cortex_handlers.c ./cxxabi-compat.cpp ./hooks.c ./iar_calls_sam3.c ./itoa.c ./syscalls_sam3.c ./wiring.c ./wiring_analog.c ./wiring_digital.c ./wiring_pulse.cpp ./wiring_shift.c ./variant.cpp ./ext_svr.c ./ext_work.c ./updown.c ./ext_serial_pkt.c ./ext_svr_serial_transport.c ./rtiostream_serial_interface.c ./rtiostream_utils.c ./R2014b.c ./R2014b_data.c ./ert_main.c
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. cs-make: * [io_wrappers.o] Error 255
The build process will terminate as a result.
Aliiii Fazli, [15.07.16 15:25] [Forwarded from محمدی] The build failed with the following message: "C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-gcc" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduino_download/arduinobase/toolbox/realtime/targets/arduino/include" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduino_download/arduinobase/toolbox/realtime/targets/arduino/blocks/sfcn/include" -I"E:/arduino/R2014b_rtt" -I"E:/arduino" -I"C:/Users/RAIKA.CO/Desktop/ardu" -I"D:/Program Files/MATLAB/R2014b/extern/include" -I"D:/Program Files/MATLAB/R2014b/simulink/include" -I"D:/Program Files/MATLAB/R2014b/rtw/c/src" -I"D:/Program Files/MATLAB/R2014b/rtw/c/src/ext_mode/common" -I"D:/Program Files/MATLAB/R2014b/rtw/c/ert" -I"D:/Program Files/MATLAB/R2014b/toolbox/coder/rtiostream/src/utils" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/system/libsam" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/CMSIS/Include" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/Device/ATMEL" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/cores/arduino" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/cores/arduino/USB" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/hardware/arduino/sam/variants/arduino_due_x" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinodue_download/arduinodue/toolbox/realtime/targets/arduinodue/include" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/libraries/Servo/src" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinoio_download/arduino-1.5.6-r2/libraries/Servo/src/sam" -I"D:/Program Files/MATLAB/R2014b/rtw/c/src/ext_mode/serial" -I"C:/MATLAB/SupportPackages/R2014b/downloads/arduinodue_download/arduinodue/toolbox/realtime/targets/arduinodue/src" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib —param max-inline-insns-single=500 -fno-rtti -fno-exceptions -mcpu=cortex-m3 -mthumb -I. -D"MODEL=R2014b" -D"NUMST=2" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ON_TARGET_WAIT_FOR_START=1" -D"ONESTEPFCN=0" -D"EXT_MODE=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"CLASSIC_INTERFACE=0" -D"ALLOCATIONFCN=0" -D"TID01EQ=1" -D"printf=iprintf" -D"F_CPU=84000000" -D"_RUNONTARGETHARDWARE_BUILD_=" -D"_ROTH_DUE_=" -D"ARDUINO=156" -D"ARDUINO_SAM_DUE=" -D"ARDUINO_ARCH_SAM=" -D"__SAM3X8E__=" -D"USB_PID=0x003e" -D"USB_VID=0x2341" -D"USBCON=" -D"_RTT_NUMSERVOS_=0" -D"_RTT_SINGLE_TASKING_MODE_=" -D"EXIT_FAILURE=1" -D"EXTMODE_DISABLEPRINTF=" -D"EXTMODE_DISABLETESTING=" -D"EXTMODE_DISABLE_ARGS_PROCESSING=1" ./io_wrappers.cpp ./TimerTickScheduler.c ./arm_cortex_m_multitasking.c ./rtiostream_serial.cpp ./IPAddress.cpp ./Print.cpp ./Reset.cpp ./RingBuffer.cpp ./Stream.cpp ./UARTClass.cpp ./USARTClass.cpp ./CDC.cpp ./HID.cpp ./USBCore.cpp ./WInterrupts.c ./WMath.cpp ./WString.cpp ./cortex_handlers.c ./cxxabi-compat.cpp ./hooks.c ./iar_calls_sam3.c ./itoa.c ./syscalls_sam3.c ./wiring.c ./wiring_analog.c ./wiring_digital.c ./wiring_pulse.cpp ./wiring_shift.c ./variant.cpp ./ext_svr.c ./ext_work.c ./updown.c ./ext_serial_pkt.c ./ext_svr_serial_transport.c ./rtiostream_serial_interface.c ./rtiostream_utils.c ./R2014b.c ./R2014b_data.c ./ert_main.c
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. cs-make: * [io_wrappers.o] Error 255

Risposte (0)

Community

Più risposte nel  Power Electronics Control

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by