LPC54S608J512 and MCUXpresso 10.1.0 589 - Debug wont launch "Awaiting telnet connection to port 3330 ..."

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

LPC54S608J512 and MCUXpresso 10.1.0 589 - Debug wont launch "Awaiting telnet connection to port 3330 ..."

2,017 Views
derekrobertson
Contributor II

I have been working with LPC54S608J512 and MCUXpresso 10.1.0 589, for several months.  Suddenly I can't get a debug session to launch it gets stuck at "Awaiting telnet connection to port 3330 ...".   I have tried the following.

  • Created a new debug session - still get "Awaiting telnet connection to port 3330 ..."
  • Got a colleague to run up a debug session on my Target Hardware and Link2 - this worked fine so PCB, Link2 and cables all good.
  • Used my Link2 and LPCXpresso(V7.7.2) on my PC to run a debug session on a LPC43S20 based target. This also worked fine.
  • I have switched AV software off and firewall off - still get "Awaiting telnet connection to port 3330 ..."
  • Reinstalled MCUXpresso.

Anyone got any ideas?

Full console output below.

Thanks

Derek

MCUXpresso RedlinkMulti Driver v10.1 (Nov  9 2017 16:45:39 - crt_emu_cm_redlink build 360)
Found chip XML file in C:<xxx>/Output\LPC54608J512.xml
Reconnected to existing redlink server (PID 4294967295)
Connecting to probe 1 core 0 (server PID unknown) gave 'OK'
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.183 (NXP Semiconductors)
Serial Number:  IWFWOVIV
VID:PID:  1FC9:0090
USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#7&2c2206df&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
debug interface type      = Cortex-M3/4 (DAP DP ID 2BA01477) over SWD
processor type            = Cortex-M4 (CPU ID 410FC240)
number of h/w breakpoints = 6
number of flash patches   = 2
number of h/w watchpoints = 4
Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 410FC240. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM dev (type 0x1)
ROM 1 E000E000: CID B105E00D PID 04000BB00C ChipIP dev SCS (type 0x0)
ROM 1 E0001000: CID B105E00D PID 04003BB002 ChipIP dev DWT (type 0x0)
ROM 1 E0002000: CID B105E00D PID 04002BB003 ChipIP dev FPB (type 0x0)
ROM 1 E0000000: CID B105E00D PID 04003BB001 ChipIP dev ITM (type 0x0)
ROM 1 E0040000: CID B105900D PID 04000BB9A1 CoreSight dev TPIU type 0x11 Trace Sink - TPIU
ROM 1 E0041000: CID B105900D PID 04000BB925 CoreSight dev ETM type 0x13 Trace Source - core
Inspected v.2 On-chip Flash Memory LPC5460x_512K.cfx
Image 'LPC5460x (512K Flash) Oct  3 2016 17:52:49'
Inspected v.2 External Flash Device on SPI using SPIFI lib LPC5460x_SPIFI_GENERIC.cfx
Image 'LPC5460x Generic SPIFI Sep 25 2017 16:15:07'
Opening flash driver LPC5460x_SPIFI_GENERIC.cfx
Sending VECTRESET to run flash driver
flash variant 'W25Q64FV' detected (8MB = 128*64K at 0x10000000)
Closing flash driver LPC5460x_SPIFI_GENERIC.cfx
NXP: LPC54608J512
Connected: was_reset=false. was_stopped=true
MCUXpressoPro Full License - Unlimited
Awaiting telnet connection to port 3330 ...

Labels (1)
0 Kudos
Reply
5 Replies

1,737 Views
derekrobertson
Contributor II

Made a bit of progress - seems to be something to do with Antivirus and/or Firewall.  I thought I'd ruled this out previously as switching it off didn't seem to help.  Trying again, having AV and firewall off got it working.  However switching the firewall and AV back on and it still seems to be working - so not sure what's going on.  Will report back if I get any more answers.

Derek

0 Kudos
Reply

1,737 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Derek Robertson,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Maybe you can try these two tricks recover debug function
1. Clean the project
2. Delete the project, then reimport the project.
3. Update the LPC-link2 with the J-link firmware, then debug the LPC54S608J512 again.
Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,737 Views
derekrobertson
Contributor II

This problem has came back.

1. Clean the project - This didn't help
2. Delete the project, then reimport the project -  This didn't help
3. Update the LPC-link2 with the J-link firmware, then debug the LPC54S608J512 again.  Is there a document to describe the process?

When I get stuck here, I can see that crt_emu_cm_redlink.exe  is sitting listening on port 3330. What Process should be connecting to this port?  as I am suspicious that my AV or firewall is killing this process.

I've reverted back to my original IDE 10.1.0 as 10.3.1 is causing me other issues

0 Kudos
Reply

1,737 Views
derekrobertson
Contributor II

Still not entirely certain why this was was intermittent but I seem to have this resolved.

redlinkserv was being blocked by my firewall, think a windows update changed my settings!  I have now allowed this to run (on port 3025).  Once I allowed it, I was initially getting the same issue, restarting MCUXPresso did not resolve it but, restarting and hitting the "red boot" icon and then "LinkServer" seemed to do the trick.

Fingers Crossed :smileyhappy:

0 Kudos
Reply

1,737 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Derek Robertson,

Thanks for your reply.
Please refer to the article to update the firmware of the LPC-link2.
Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply