06-20-2018 07:08 AM
I have some problems with debugging a openamp setup (zynq720, core0: linux, core1: baremetal application).
Like in UG1186 described, I launch the "echo_test" example application from Linux.
echo image_echo_test > /sys/class/remoteproc/remoteproc0/firmware echo start > /sys/class/remoteproc/remoteproc0/state modprobe rpmsg_user_dev_driver
Then I start debugging the "echo_test" application from XSDK.
Next I issue these commands to initialize the "echo_test" application.
echo stop > /sys/class/remoteproc/remoteproc0/state echo start > /sys/class/remoteproc/remoteproc0/state
Everything works as expected and dibbuging is no problem.
If I now change the application code, compile it and start debugging again, it seams that the old version of the application is still running and I get a lot of nonsence in the debugger.
Is the transfer from XSDK not working properly or do I always have to load the modified version of the app via Linux?
I also tried to shutdown core 1:
echo 0 > /sys/devices/system/cpu/cpu1/online
and start debugging from XSDK but then I get some JTAG error.
We are using Xilinx tools 2017.4.
06-20-2018 03:08 PM
Can you disable cpu idle as described in the AR below and then try this ?
06-21-2018 01:25 AM
thanks for your quick reply!
I deconfigured "cpu idle" in the kernel but it stell has the same behavior.
If I shutdown CPU 1 from linux and try to debug I get following error messages:
And here is my run configuration from XSDK:
Any further idea?
Thans and cheers!