Forum: PC Hard- und Software Run on Target Hardware: ERROR


von troi (Gast)


Lesenswert?

hallo,

ich möchte eine Schaltung auf dem Beagleboneblack simulieren aber es 
wird folgendes angezeigt:


______________________________________________________________________ 
__
The call to realtime_make_rtw_hook, during the after_make hook generated 
the following error:
Error executing SSH command: make: Entering directory 
`/home/etw/untitled_rtt'
"gcc" -I"./" -O2 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp 
-D"MODEL=untitled" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" 
-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"TID01EQ=0" 
-D"_USE_TARGET_UDP_=" -D"_RUNONTARGETHARDWARE_BUILD_=" -c ./linuxUDP.c 
./ext_svr.c ./ext_work.c ./rtiostream_interface.c ./updown.c 
./rtiostream_tcpip.c ./ert_main.c ./untitled.c ./untitled_data.c
"gcc" ./linuxUDP.o ./ext_svr.o ./ext_work.o ./rtiostream_interface.o 
./updown.o ./rtiostream_tcpip.o ./ert_main.o ./untitled.o 
./untitled_data.o -lm -ldl -lpthread -lrt -o ./MW/untitled
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./linuxUDP.o does not
/usr/bin/ld: failed to merge target specific data of file ./linuxUDP.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./ext_svr.o does not
/usr/bin/ld: failed to merge target specific data of file ./ext_svr.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./ext_work.o does not
/usr/bin/ld: failed to merge target specific data of file ./ext_work.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./rtiostream_interface.o does not
/usr/bin/ld: failed to merge target specific data of file 
./rtiostream_interface.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./updown.o does not
/usr/bin/ld: failed to merge target specific data of file ./updown.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./rtiostream_tcpip.o does not
/usr/bin/ld: failed to merge target specific data of file 
./rtiostream_tcpip.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./ert_main.o does not
/usr/bin/ld: failed to merge target specific data of file ./ert_main.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./untitled.o does not
/usr/bin/ld: failed to merge target specific data of file ./untitled.o
/usr/bin/ld: error: ./MW/untitled uses VFP register arguments, 
./untitled_data.o does not
/usr/bin/ld: failed to merge target specific data of file 
./untitled_data.o
collect2: ld returned 1 exit status
make: Leaving directory `/home/etw/untitled_rtt'
make: *** [MW/untitled] Error 1


The build process will terminate as a result.

______________________________________________________________________ 
_


Kann jemand mir helfen?

Bedanke im Voraus!

LG

von Rufus Τ. F. (rufus) Benutzerseite


Lesenswert?

troi schrieb:
> ./linuxUDP.o does not

Die Meldung sieht unvollständig aus. Existiert die Datei?

von Rene H. (Gast)


Lesenswert?


von troi (Gast)


Lesenswert?

vielen dank für schnelle Antworten.
Wenn ich gut verstanden habe, das Problem liegt bei der Verbindung der 
Simulink mit dem Hardware(BBB).

Also, vor der Simulation, ich muss mein Modell mit dem BBB verbinden.
Wenn ich "Connect to Target" klicke, dann wird die oben vorliegende 
ERROR-Nachricht angezeigt.

Im Matlab wird folgendes angezeigt:

"Unable to establish connection with server '192.168.x.x' . Verify that 
your application is serving on port '17725'."

Kann jemand mir in kurzer Linien erklären, wie kann ich Simulink-Modell 
mit BBB verbinden.
Ich habe schon im Google gesucht, aber kein Erfolg bis jetzt!

Bedanke im Voraus!

MfG

von Rene H. (Gast)


Lesenswert?

Nein, ich denke nicht. Dein Problem ist erst mal der link Vorgang, 
siehe:

http://stackoverflow.com/a/9753955

Ich vermute das:

mfloat-abi=hardfp statt mfloat-abi=softfp Dein Problem lösen wird.

Grüsse,
René

von Jim M. (turboj)


Lesenswert?

Beim Aufruf des Linkers (gcc als Frondend) fehlt jegliche Angabe der CPU 
und des float ABIs. Auch da gehört folgendes rein:
1
-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.