Run simulink model on beaglebone black
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I want connect my beaglebone black with debian jessie 8.6 to matlab r2016a. I installed Beaglebone black hardware support package. When i tried to run "Getting Started with BeagleBone Black Support Package" simulink model i faced some error:
/////////////////////////////////////////////////////////////////////////////////////////////////
=== Simulation (Elapsed: 15 sec) === ### Starting build procedure for model: beaglebone_gettingstarted ### Generating code into build folder: E:\Pedram Documents 2017\BeagleBoneBlack-Matlab Connect\beaglebone_gettingstarted_ert_rtw ### Invoking Target Language Compiler on beaglebone_gettingstarted.rtw ### Using System Target File: C:\Program Files\MATLAB\R2016a\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code ### Caching model source code ### Writing header file beaglebone_gettingstarted.h ### Writing header file beaglebone_gettingstarted_types.h ### Writing header file rtwtypes.h ### Writing header file multiword_types.h . ### Writing source file beaglebone_gettingstarted.c ### Writing header file beaglebone_gettingstarted_private.h ### Writing source file beaglebone_gettingstarted_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c . ### TLC code generation complete. ### Generating TLC interface API. ### Creating data type transition file beaglebone_gettingstarted_dt.h .### Evaluating PostCodeGenCommand specified in the model ### Using toolchain: Linaro Toolchain v4.8 | gmake (64-bit Windows) ### Creating 'E:\Pedram Documents 2017\BeagleBoneBlack-Matlab Connect\beaglebone_gettingstarted_ert_rtw\beaglebone_gettingstarted.mk' ... ### Building 'beaglebone_gettingstarted': C:\PROGRA~1\MATLAB\R2016a\bin\win64\gmake -f beaglebone_gettingstarted.mk all C:/MATLAB/SUPPOR~1/R2016a/LINARO~1.8/bin/arm-linux-gnueabihf-gcc -c -MMD -MP -MF"beaglebone_gettingstarted.c.dep" -MT"beaglebone_gettingstarted.c.o" -O0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot="C:\MATLAB\SupportPackages\R2016a\toolbox\target\supportpackages\beaglebone\libc" -DMODEL=beaglebone_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DON_TARGET_WAIT_FOR_START=1 -DONESTEPFCN=1 -DEXT_MODE=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DEXT_MODE=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DON_TARGET_WAIT_FOR_START=1 -DARM_PROJECT -DRT -DSTACK_SIZE=64 -DMODEL=beaglebone_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/arm_cortex_a/blocks/sfcn/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include/sf_runtime -IE:/PEDRAM~3/BEAGLE~1/beaglebone_gettingstarted_ert_rtw -IE:/PEDRAM~3/BEAGLE~1 -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2016a/toolbox/coder/rtiostream/src/utils -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/arm_cortex_a/blocks/sfcn/src -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/beaglebone/registry/../include -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/arm_cortex_a/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/codertarget/rtos/inc -o "beaglebone_gettingstarted.c.o" "beaglebone_gettingstarted.c" arm-linux-gnueabihf-gcc: error: CreateProcess: No such file or directory gmake: * [beaglebone_gettingstarted.c.o] Error 1 ### Build procedure for model: 'beaglebone_gettingstarted' aborted due to an error. Error: Error(s) encountered while building "beaglebone_gettingstarted": ### Failed to generate all binary outputs.
/////////////////////////////////////////////////////////////////////////////////////////////////////
please help me to solve the problem.
0 Kommentare
Antworten (1)
Manish M
am 27 Jun. 2019
The Embedded Coder Support Package for Beeaglebone Black is compatible with Debian 8.3 (not sure about the minor version but something around this number) and prior. The Debian v8.3 uses kernel version 3.8.xx which uses uses slots file. The later versions have stopped using this configuration and adopted to using universal boot overlays. Also you should connect your Beaglebone Black to the internet through a network adapter.
TLDR: Install Debian Jessie 8.3 and it should work.
0 Kommentare
Siehe auch
Kategorien
Mehr zu ARM Cortex-A Processors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!