Problem: Can't download program (to TWR-K60D100M) with MCUXpresso-IDE

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: Can't download program (to TWR-K60D100M) with MCUXpresso-IDE

Jump to solution
1,176 Views
jerrylian
Contributor IV

I just run MCUXpresso-SDK example programs on board TWR-K60D100M:

* When I compiled and debugged, it runs well as specified in documentation

* But when I stop debugging, the example program won't work anymore.

* Even if we unplug/replug the board, the example program still won't work.

 

So: how can we download the program PERMANENTLY to the board with MCUXpresso-IDE?

Thanks! 

0 Kudos
1 Solution
904 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Jerry,

It seems that you have semihosting enabled, please take a look to this thread:

https://community.nxp.com/thread/448272 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

View solution in original post

0 Kudos
6 Replies
904 Views
lpcxpresso_supp
NXP Employee
NXP Employee

You might have noticed semihosted I/O requires its' own library. The semihosting mechanism requires interaction by the debugger to process a BKPT exception to display I/O in the console view. If the debugger is not connected, the BKPT exception is otherwise not handled. Here's more information:

What is Semihosting?

Thanks and regards,

LPCXpresso Support

0 Kudos
905 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Jerry,

It seems that you have semihosting enabled, please take a look to this thread:

https://community.nxp.com/thread/448272 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos
904 Views
jerrylian
Contributor IV

Hi, Carlos:

Yes, it works, Thanks a lot!

* But shouldn't it be disabled by default? I guess most new users don't know the trick.

By the way, do you know why my post doesn't show up under "Overview" tab (it only shows up under "Content" tab).

* Post showing up under "Overview" draws more attention, right?

Thanks!

Jerry

0 Kudos
904 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Jerry,

Thanks for your proposal. I would like to suggest you create a feature request for this feature.

How to submit a new question for NXP Support 

Personally I think  it would be good to have a short description for "semihosting enabled" in the page. Thus users will not overlook it easily.

your question " why my post doesn't show up under "Overview" tab". Normally if a thread get a new update, it will be posted to the top item in the "Overview" tab automatically.


Have a great day,
Jennie Zhang

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

0 Kudos
904 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Here you can see your post went to upside after my previous post.

pastedImage_1.png

0 Kudos
904 Views
jerrylian
Contributor IV

Hi, Jennie:

Thanks for your explanations. I will submit a feature request later.

Jerry

0 Kudos