IAR environment setup in c++ to blink led for kmxx controlleres

cancel
Showing results for 
Search instead for 
Did you mean: 

IAR environment setup in c++ to blink led for kmxx controlleres

915 Views
narasimhaugra
Contributor II

Hi,

Need small help from NXP, am struck with some setup issue.

As am trying to create IAR environment for Just blink led in C++ how to do it - Tried so many ways 

Steps:
- Created simple project using c++ - Done
- Written some code snippet in c++ - Done
- Compiling - Done
- After successfully compiled trying to download in my custom hardware it not able to blink led - through some run-time error as  cstack and program counter issue.

Advance thanks,

Best,

Ugra

Labels (1)
Tags (2)
0 Kudos
4 Replies

723 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

723 Views
narasimhaugra
Contributor II

Hi Kerry,

Thanks for your suggestion I tried it. it works fine.

Best,

Ugra

0 Kudos

723 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Ugra,

   That's very good to hear you make it work.

   If you have the new question in the future, welcome to create the new question post.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

723 Views
narasimhaugra
Contributor II

Hi NXP team

Could you please reply on this?

Best,

Ugra

0 Kudos