Hi Ugra,
Sorry for the later reply.
Do you debug your code, can you share the debug problem picture with us? You also need to check your debugger interface in your IAR project, make sure it is correct.
Besides, do you mind to use the C code project, our official code project with IAR are all based on the C, you can download the SDK c code project from this link:
Welcome | MCUXpresso SDK Builder
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------