We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 67139

2016.1 Zynq UltraScale+ MPSoC - XSDK: XTime_GetTime() is not working properly unless sleep() is getting called at least once before it.


XTime_GetTime() assumes the timer is already running.

If the timer is not running XTime_GetTime() does not return the proper value.


sleep() actually kicks off the timer if the timer was not running.

Calling sleep() before XTime_GetTime() will ensure the proper functionality.

This issue does not affect FSBL XTime_GetTime() calls, only stand-alone code written by the user.

This issue will be addressed in Vivado 2016.2.

AR# 67139
Date 05/09/2016
Status Active
Type General Article
Page Bookmarked