tfrec icon indicating copy to clipboard operation
tfrec copied to clipboard

"Ungültiger Maschinenbefehl"

Open TomCat112 opened this issue 7 years ago • 4 comments

Hello, i made the installation like you descripe in the wiki. After all i trie to test it. But with the parameter -D i just get this output:

Registering demod for TFA_1 KlimaLoggPro Ung?ltiger Maschinenbefehl

What can be the fault?

Thanks for your reply and thank for the great work

Thomas

TomCat112 avatar Jan 06 '18 09:01 TomCat112

Sound like compiling for the wrong CPU, but maybe it's a real bug. Can you enable the -g debug-option in the makefile, "make clean; make" and run it again in gdb? Then the stack trace of the crash can optained by "thread apply all bt"

baycom avatar Feb 18 '18 14:02 baycom

I had a similar error trying to get tfrec run on my Raspberry Pi Zero W. Solution is to adjust the CXX flags in the Makefile: .. CXXFLAGS=-O3 $(PROFILING) -mfpu=vfp -march=armv6 -mfloat-abi=hard -ftree-vectorize -ffast-math
...

Details about compiler flags for different Raspberry models can be found in the raspbian FAQ or here

Have a great day, Robert

rsneyer avatar May 05 '18 13:05 rsneyer

There is now a adapted Makefile.raspi2, should also work for the Zero

baycom avatar May 12 '18 00:05 baycom

yes, it works. i'm using it on raspberry. @TomCat112 , can you give a comment on the status so this ticket won't remain open forever ?

devZer0 avatar Jan 25 '19 17:01 devZer0