Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
obl
Newbie
obl
Posts: 1
Registered: ‎06-06-2012
0

Re: sleep function causes microblaze to restart my program?

I had the same behaviour when adding sprintf() in my code. By using this library call the stdio library was added to my code which needed a lot more heap space than is default. By increasing the heap from 0x400 to 0x1000 my code started running normally again.

Super Contributor
joy1887
Posts: 153
Registered: ‎03-31-2011
0

Re: sleep function causes microblaze to restart my program?

IF u call the sleep function before calling xilkernel_main() then ur sleep function will not show any effect,now if u put the sleep in any statically created thread then it will work?now haow many threads u have?Look at ur .mss file if ur timer_configuration is true then u will find timer interval value=10ms

 

ie after each 10ms an interupt will genarate....