Serial Port with the FRDM K66F

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

Serial Port with the FRDM K66F

ソリューションへジャンプ
1,024件の閲覧回数
PJay
Contributor II

Hello,
I am following the steps documented in "Get Started with the FRDM-K66F" (https://www.nxp.com/document/guide/get-started-with-the-frdm-k66f:NGS-FRDM-K66F) to get serial access to a Windows 10 Tera Term COM port and the hello_world sample being debugged by MCUXpresso.

I have followed the 2.4 PC Configuration described in the Getting Started document. I downloaded and installed the driver.

With the K66F powered up, Device Manager displays under Ports (COM & LPT)  JLink CDC UART Port (COM5). I do not see mbed, nor virtial com, nor OpenSDA listed as I have read in many articles.

With Tera Term COM5 connected and configured as documented in the Getting Started document, I debug the hello_world application, and no output nor input is shown on COM5.

My questions are
1. Can serial output to a Window 10 COM port occur when debugging with MCUXpresso?
2. Do I have to update my OpenSDA software to get this work?
3. Is there some configuration required in the hello_world program to allow the serial input and output through the Windows 10 COM port?

Thank you for your time,
PJ

0 件の賞賛
返信
1 解決策
1,015件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

HI @PJay 

Please set UART output for the selected project when you importing it, the default is semihost console output.

danielchen_1-1617159519153.png

 

Regards

Daniel

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,016件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

HI @PJay 

Please set UART output for the selected project when you importing it, the default is semihost console output.

danielchen_1-1617159519153.png

 

Regards

Daniel

 

 

0 件の賞賛
返信
996件の閲覧回数
PJay
Contributor II

Thank you very much Daniel. 

After receiving your reply, I searched for uart output and found this excellent solution.

https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058262

I wish I had found that earlier.

I tested your solution and the uart_polling example and was successful with input and output from the COM port.

Thanks again,

PJ

0 件の賞賛
返信