I was getting this error:
Error during file upload. Could not write file: /siam/IPController/ipcontroller/Design/firmware/ipcontroller/app/Debug/ipcontroller. Failure Could not write file: /siam/IPController/ipcontroller/Design/firmware/ipcontroller/app/Debug/ipcontroller. Could not write file: /siam/IPController/ipcontroller/Design/firmware/ipcontroller/app/Debug/ipcontroller
Searching in the internet I found this thread: https://www.toradex.cn/community/questions/28902/getting-started-debug-using-eclipse-error.html
But with no solution.
After many hours debugging it with no progress (because Eclipse doesn’t show what is happening behind the scene), I decided to run gdbserver and gdb manually like I did some years ago: https://acassis.wordpress.com/2013/02/11/how-to-use-gdb-to-revert-engineering-the-ip-camera-firmware/
Then to my surprise the command “arm-linux-gnueabihf-gdb” failed to run reporting that didn’t find “libncurses5.so.5” lib.
Then I installed the right package:
$ sudo apt install libncurses5
And the eclipse worked to debug.
It is strange because I already had the libncurses5-dev package installed.