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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,890件の閲覧回数
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 件の賞賛
1 解決策
1,618件の閲覧回数
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 件の賞賛
6 返答(返信)
1,618件の閲覧回数
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 件の賞賛
1,619件の閲覧回数
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 件の賞賛
1,618件の閲覧回数
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 件の賞賛
1,618件の閲覧回数
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 件の賞賛
1,618件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

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

pastedImage_1.png

0 件の賞賛
1,618件の閲覧回数
jerrylian
Contributor IV

Hi, Jennie:

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

Jerry

0 件の賞賛