- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: sleep function causes microblaze to restart my program?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-06-2012 09:49 PM
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.
Re: sleep function causes microblaze to restart my program?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-09-2012 01:07 AM
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....











