KL03 LPUART with J-Link Plus?

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

KL03 LPUART with J-Link Plus?

ソリューションへジャンプ
1,759件の閲覧回数
sarastout-grand
Contributor III

Hello,

I'm trying to get the LPUART to work with my KL03 and J-Link Plus. I'm using the Kinetis Design Studio software. I assume that this communication will be over SWO, but when I select this in the debugger configuration I get nothing in my terminal window, which is setup for an SWO port (2332).

I know that the J-Link is working fine since it runs all my code that does not involve the UART without any issues. My problem is specific to the UART.

Is there anything else that I need to set in the debugger configuration?

Any ideas?

Thanks,

Sara

ラベル(1)
0 件の賞賛
1 解決策
1,604件の閲覧回数
mjbcswitzerland
Specialist V

Sara

You need to connect the LPUART's pins to a 3V serial to USB adapter (rather than an RS232-USB serial adapter) and then you can use it with a terminal program on the PC.

This is what the OpenSDA device does on the FRDM-KL03Z board.

Regards

Mark

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
1,604件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Sara,

I checked Segger J-Link Plus tool web, which doesn't provide the virtual serial feature.

If you are using FRDM-KL03Z board, customer could use on board Opensda debugger tool.

That debugger tool provide USB virtual serial port and with UART pins connects with KL03 chip:
pastedImage_1.png

Thank you for the attention.


Have a great day,
Ma Hui

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

0 件の賞賛
1,604件の閲覧回数
sarastout-grand
Contributor III

Hi Ma Hui,

I am not using the FRDM-KL03Z, I have my own development board with the KL03Z. I need a way to use the LPuart. Are you saying that there is no way to do so with the Segger J-link plus? I find that hard to believe!

Thanks,

Sara

0 件の賞賛
1,604件の閲覧回数
mjbcswitzerland
Specialist V

Sara

Are you trying to use the SWD connection via the debugger as semi-hosting terminal (eg. https://mcuoneclipse.com/2015/05/27/semihosting-for-kinetis-design-studio-v3-0-0-and-gnu-arm-embedde...) or do you need to use the KL03's physical LPUART?

Regards

Mark

0 件の賞賛
1,605件の閲覧回数
sarastout-grand
Contributor III

Hi Mark,

I need to use the KL03’s physical LPUART. Ultimately, my application won’t have the J-Link Plus and I think I know how I will use the LPUART in that situation. I was hoping to test out the UART on my board with a connection to my PC and a terminal window. Is that possible?

Thanks,

Sara

Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.

Senior Hardware Designer

20 Angus Morton Dr., Bedford,

NS, Canada, B4B 0L9

902-450-1700, x278

0 件の賞賛
1,605件の閲覧回数
mjbcswitzerland
Specialist V

Sara

You need to connect the LPUART's pins to a 3V serial to USB adapter (rather than an RS232-USB serial adapter) and then you can use it with a terminal program on the PC.

This is what the OpenSDA device does on the FRDM-KL03Z board.

Regards

Mark

0 件の賞賛
1,605件の閲覧回数
sarastout-grand
Contributor III

Hi Mark,

Thanks…that makes sense.

Sara

Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.

Senior Hardware Designer

20 Angus Morton Dr., Bedford,

NS, Canada, B4B 0L9

902-450-1700, x278

0 件の賞賛