Software Version
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
1.9.1.10844
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Hi,
currently, we are implementing our code on Host, then cross-compile in docker, and then transferring the executables to the device. Then when we run them on the device we get an “Exec format error”, despite the compilation and installation seeming to complete successfully. So, we were wondering if you could suggest a way to debug faster and possibly on the device.
The issue was solved, but could you also suggest the best way to code and debug on Orin? Or everything should be done on the Host and then transferred?
I’m glad to hear that the issue was resolved. In terms of coding and debugging on Orin, it’s recommended to use cross-compiling tools to build the code on the host and then transfer it to the Orin platform for execution. This approach can save time and resources, as the Orin platform may not have the same performance or resources as the host machine.
However, if you need to debug on the Orin platform itself, you can use remote debugging tools like GDB or Eclipse, which can connect to the Orin platform and allow you to debug your code in real-time.
Also, please create separate topics for specific problems related to coding and debugging on Orin. Our team would be happy to provide suggestions and assistance on those specific issues. Thank you.