after a long time my program is now ready to upload it to the first devices.
But I have some problems to do this.
If I "upload" the Program directly over Eclipse, it works just fine and if I execute it in the /tmp folder it also works.
Only if I upload it manually via FTP I get the Error
If I dowload the working file and reupload it to the same device I get also "Segmentation fault".
If I use gdb, I get following (not working program):
root@ccimx6ulstarter:/tmp# gdb myApp
"/run/media/mmcblk1p1/update/MyApp": not in executable format: File format not recognized
But if I determine the file type I get on both the same:
root@ccimx6ulstarter:/tmp# file myApp
myApp: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, stripped
Hope anyone can help me