-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't exec any program on EV3 #10
Comments
My tip would be the GCC version 6, or a combination of too new libc and too old on-brick kernel. |
And you definitely should try linking with -static flag. |
Thanks for your answer. Any clue ? Thanks, |
Does the error still persist after fixing the typo? |
Hi yes sorry for that. |
So compilation succeeds and file is uploaded, a menu entry is shown, but still no output on EV3 LCD?
You can use
|
Also could you test if at least microSD card works? We had two reports so far that brick storage doesn't work (anymore). |
Yes compilation succeeds, menu entry is shown. With the SD_Card it's better: when I launch test, either via ev3duder or via EV3 I see that the Brick launch the program. So I'll try the connection via telnet or ssh. Thanks for your help. |
If you have the right dongle, SSH/Telnet output would be very helpful. |
Hi! |
Thanks for the update. I didn't know about the developer firmware. Do |
Actually, it works only through wifi. When transfered via Wifi (with the USD cable unplug), the size is good. So, not sure that the problem came from my old firmware... |
Oh, not good. Could you please run:
and confirm it prints a different size and whether it's again 649763 (second hex number). I would like to create a bug report about this, but I don't have an EV3 to reproduce. |
OK I have to say I don't understand at all what is happening.
The size of the rbf file is zero! I add the 'sync' command in my script file between each ev3duder download command, but it change nothing. I think I will keep working though wifi. |
If I recall correctly, rbf files don't show up in the menu if they aren't in the SD card's root? |
Hi,
I'm trying to use the API but nothing happens when I launch the program from the Brick, or from the ev3duder.
I'm working under Debian Stretch.
The program, test.c :
#include <stdio.h>
#include <stdlib.h>
#include <ev3.h>
int main(void) {
InitEV3 () ;
PlayTone ( SOUND_DOUBLE_BEEP, 500 ) ;
LcdInit() ;
LcdClean() ;
LcdPrintf ( 1, "toto" ) ;
sleep ( 2 ) ;
FreeEV3 () ;
return EXIT_SUCCESS;
}
Compiler config:
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabi/6/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armel-cross/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armel-cross --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armel-cross --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libgcj --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv4t --with-float=soft --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux- gnueabi --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18)
Command used for compiling:
arm-linux-gnueabi-gcc test.c -static-libstdc++ -o test -I../ev3-api/API ../ev3-api/API/libev3api.a
Compiler version:
Commands used to transfer the program to the Brick:
ev3duder up test ../prjs/BrkPrg_SAVE/test
ev3duder mkrbf ../prjs/BrkPrg_SAVE/test test.rbf
ev3duder up test.rbf ../prjs/BrkPrg_SAVE/test.rbf
Despite everything seems fine, nothing happens when I launch the program on my EV3 brick.
Am I missing something?
Regards,
Fabien
The text was updated successfully, but these errors were encountered: