Hi Bhavin,
What the IAR version you are using now?
Please uninstall all the IAR version on your PC, then download the newest IAR version, and the sample code again.
Just use the newest IAR version to open the sample code which you download and never open with the lower IAR.
I find, if the project is open with different IAR verion may have problem.
Please try my suggestion again.
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------