06-22-2020 01:03 AM - edited 06-22-2020 01:04 AM
I'm developing an application using Petalinux. This application (using CMake) is normally checked-out during petalinux build, and compiled onto the rootfs. This works very well. During development I'm building this application by sourcing the SDK exported from the Petalinux project, but then with debugging
However, now I want to debug the application using the XSDK. For this I've created a debug configuration on the XSDK which should upload my application to the target hardware and run it like stated here:
If I then try to run the application, uploading goes fine, but the application stalls at main. Nothing I do can coax it into actually running beyond the first instruction of main:
I can press continue or step, but it will not move beyond the push instruction.
I see no errors in the TCF logs on the target machine.
Even if tell it not to break at main, it still stalls at this point. However, if I launch w/o debugging, it runs fine.
Also, if I create an application inside the XSDK, for example, a helloworld application, it works fine.
I'm at a loss what could be causing the trouble here. Any help would be most welcome!
06-29-2020 11:54 PM
07-28-2020 04:53 AM