Hi Harry,
Thanks for this update, after commenting the "Sleep_code" and addiing the above suggested code I was able to make the code work, however I also need to know that why has this change been made as I have another PC running older version of IAR (8.10.4) which doesn't require this change. Kindly clarify whether I need to make this change in the older version as well and what benefit does this change bring about in our code?
Thanks
Anubhav