cannot execute binary file: Exec format error..how do u solve this??

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot execute binary file: Exec format error..how do u solve this??

1,698 Views
varun_kumar
Contributor II

Hi,

I my getting following error, I'm not able to execute .elf file in both via terminal and vision sdk.

Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
During startup program exited with code 126.
During startup program exited with code 126.

Thank you in advance

eclipse_exe_error.pngterminal_exe_error.png

Tags (3)
0 Kudos
3 Replies

758 Views
jiri_kral
NXP Employee
NXP Employee

Um, from your console it looks that target is linux. So - what is your EVB? The uname -a output doesn't look familiar for me. Aren't you trying execute .elf file on your Linux host machine instead on EVB? 

Jiri 

0 Kudos

758 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

what is your target configuration? Baremetal or Linux? In my opinion you are trying start baremetal .elf file on EVB running on Linux. 

Jiri

0 Kudos

758 Views
varun_kumar
Contributor II

Hi,

you can see the debug config and followed by after debugging

Screenshot_20181121_134703.pngScreenshot_20181121_135425.png

0 Kudos