Hi,
I'm using TSK_sleep() function for sleep. If I call this function in the main it's ok but as soon as I leave the main and switch to first task the TSK_sleep() stop responding. In addition when I put a breakpoint somewhere before this task i.e. main() the program stops there indefinitely which is not possible because I have left the main(). I had a hunch that TSK_sleep() causing a reset so I put my function in HWI for the reset and succeded tocatch it, but I still don't understand why TSK_sleep() is causing the reset. Please help.
Thanks,
Pavel