Serial Terminal not working while debugging using J-Link

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Serial Terminal not working while debugging using J-Link

1,631 Views
saranyachitta
Contributor II

Hello,

I'm using NXP OM40007 (LPC 54018 IoT Module) to run the hello_world_virtual_com_xip program to the serial terminal (Tera Term) from the demo apps folder of the SDK 2.3.1 using MCUXpresso IDE 10.2.1. I've tried the following:

1. At first, I've debugged the program using the Segger J-Link Probe. When I open Tera Term, I'm unable to see the COM Port. I cannot see the COM Port in my Device Manager. Before debugging, I was able to see the COM Port in Device Manager.

2. Secondly, I've tried setting up the Tera Term first and then debugging the code. Initially, Tera Term connected to the board but it got disconnected as soon as I started debugging the code using Segger J-Link. 

3. Later, I've tried to debug the code using Link Server. It shows no compatible probes. 

4. Finally, I've tried to debug the code using Link Server on OM40006 (LPC 54018 IoT Module Baseboard) attached to the OM40007. Tera Term is connected and the code is successfully debugged but I couldn't see the output in the Tera Term. Attached is the screenshot of what's being displayed in the debugger console of the IDE. Serial Terminal configurations were all good as specified. 

Also, tried the same on different PCs. 

Please help me with this question and let me know if you need any further information.

Thanks,

Saranya.

Labels (1)
0 Kudos
1 Reply

1,149 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Saranya Chitta ,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please following the Fig 1 to change the SDK Debug Console of the hello_world_virtual_com_xip in the MCUXPresso IDE, meanwhile, connect the HS USB port to PC.
After doing these above work,Tera Term will be able to communicate the MCU and give a shot.

pastedImage_1.png

                                                                                       Fig 1
Have a great day,
TIC

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

0 Kudos