Zynq unexpected restart of main(): Vivado2013.4, SDK2013.4
I’m using Zynq and switched from Vivado 2013.3 to Vivado 2013.4. When I run my program in SDK 2013.4 there is an unexpected restart of main() function when leaving another function. In SDK2013.3 this fault not occurs. On top of main function I checked and printed the content of slcr.REBOOT_STATUS and slcr.RST_REASON registers and got the values:
slcr.REBOOT_STATUS = 2 => SUCCESSFUL_JTAG_SLAVE
slcr.RST_REASON = 0 => no Reset
So it seems to be all ok and no Reset.
Can anyone give an advice how to find the problem and fix it.