I can't probe my mcu-link debug probe

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

I can't probe my mcu-link debug probe

245 Views
kaspt
Contributor II

I can't probe my mcu-link debug probe. 

What I did: 

I follow the instruction to update the muc-link. Installing drivers and updating firmware for MCU-Link

Which seems to work according to the output of program_CMSIS.cmd from the MCU-LINK_installer. 

Tried with Version  MCU-LINK_installer 2.263, 3.146 and 3.148.

After that the red led is blinking smoothly.

I tied to probes the MCU-Link with the LinkServer  1.6.133 and 24.9.75  booth exit with the same error.

C:\NXP\LinkServer_1.6.133>LinkServer.exe probes
ERROR: Failed to boot probes
ERRMSG: ValueError: invalid literal for int() with base 16: 'E109_QC5GNRCOEXMGR'
CRITICAL: Critical error
ERRMSG: ValueError: invalid literal for int() with base 16: 'E109_QC5GNRCOEXMGR'

Running on Windows 11

@brendonslade #MCU-LINK #LINKERSERVER 

Tags (2)
0 Kudos
Reply
5 Replies

60 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi kaspt,

We've analyzed the reports and found that there is an issue with handling on of the PIDs in your system. We will work on a fix in our next release,  but in the meantime please try this workaround:

brendonslade_0-1733497597164.png

 

For version LinkServer_24.9.75, modify the “c:\\nxp\\LinkServer_24.9.75\\binaries\\Scripts\\listusb.vbs” script:

  • change line: sPID = ReplaceX(sDvcID, ".*PID_([^\\\&\+]*).*", "$1")
  • with:             sPID = ReplaceX(sDvcID, ".*PID_([^_\\\&\+]*).*", "$1")

Let us know if this works for you.

0 Kudos
Reply

129 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi kaspt,

Your error is a strange one - we havent see anything quite like it before.

can you try running LinkServer like this:

  • “c:\nxp\LinkServer_24.9.75\LinkServer.exe -l5 probes --no-boot”

...and check the output reported by:

  • “cscript /nologo c:\\nxp\\LinkServer_24.9.75\\binaries\\Scripts\\listusb.vbs” command.

If possible, please also try another computer.

Please do the steps above with the latest firmware version programmed into the MCU-Link, and ensure the ISP jumper is removed and the board has been power cycled after programming.

thanks

Brendon

 

 

 

 

0 Kudos
Reply

101 Views
kaspt
Contributor II

Program firmware 

C:\NXP\MCU-LINK_installer_3.148\scripts\program_CMSIS

CMSIS-DAP firmware for MCU-Link programming script V3.148 September 2024.

Place the board in ISP USB mode using the appropriate jumper on your MCU-Link.
Refer to the board documentation for more information.
Connect board via USB then press Space.

WARNING:

This firmware version requires MCUXpresso IDE version 11.7.1 or later.

Press any key to continue . . .

Programming "MCU-LINK_CMSIS-DAP_V3_148.s19"
Programmed successfully - To use: remove ISP jumper and reboot.
Connect Next Board then press Space (or CTRL-C to Quit)
Press any key to continue . . .

 

probes log

C:\NXP>LinkServer_24.9.75\LinkServer.exe -l5 probes --no-boot
[229]DEBUG:asyncio: Using proactor: IocpProactor
[229]DEBUG:launcher.core.redlinkserv: Starting redlinkserv: C:\NXP\LinkServer_24.9.75\binaries\redlinkserv.exe ['--port', '11111', '--telnetport', '12222', '--no-telnet-defaults']
[229]DEBUG:launcher.core.redlinkserv: Connecting to redlinkserv (localhost:12222)
[249]DEBUG:launcher.core.redlinkserv: Connected to redlinkserv
[249]DEBUG:launcher.core.redlinkserv: [read]
[249]DEBUG:launcher.core.redlinkserv: [write] probelist
[440]DEBUG:launcher.core.redlinkserv: [read] Index = 1
Manufacturer = NXP Semiconductors
Description = MCU-LINK (r0FF) CMSIS-DAP V3.148
Serial Number = 4BBXRM21A3B4T
VID:PID = 1FC9:0143
Path = 0002:0019:00
[440]DEBUG:launcher.core.probeboot: Listing usb devices
[440]DEBUG:launcher.core.utils: Subprocess exec: cscript ['/nologo', 'C:\\NXP\\LinkServer_24.9.75\\binaries\\Scripts\\listusb.vbs']
[1594]DEBUG:launcher.core.redlinkserv: [write] exit
[1609]DEBUG:launcher.core.redlinkserv: Waiting for redlinkserv to close
[1840]DEBUG:launcher.core.redlinkserv: Redlinkserv has closed
[1840]CRITICAL:__main__: Critical error
Traceback (most recent call last):
  File "launcher\__main__.py", line 39, in <module>
  File "click\core.py", line 1130, in __call__
  File "click\core.py", line 1055, in main
  File "click\core.py", line 1657, in invoke
  File "click\core.py", line 1404, in invoke
  File "click\core.py", line 760, in invoke
  File "launcher\cli\utils\funcs.py", line 145, in wrapper
  File "asyncio\runners.py", line 190, in run
  File "asyncio\runners.py", line 118, in run
  File "asyncio\base_events.py", line 654, in run_until_complete
  File "launcher\cli\cmd\probes.py", line 84, in cmd_probes
  File "launcher\core\redlinkserv.py", line 333, in cmd_probelist
  File "launcher\core\probeboot.py", line 126, in list_usb
  File "launcher\core\probeboot.py", line 128, in <listcomp>
ValueError: invalid literal for int() with base 16: 'E109_QC5GNRCOEXMGR'

List usb devices 

C:\NXP>usbipd list
Connected:
BUSID  VID:PID    DEVICE                                                        STATE
2-3    1fc9:0143  MCU-LINK (r0FF) CMSIS-DAP V3.148, USB Input Device, MCU-L...  Not shared
2-6    1bcf:2bb3  Camera AI Effect Opt-in, APP Mode                             Not shared
2-10   8087:0033  Intel(R) Wireless Bluetooth(R)                                Not shared


C:\NXP>cscript /nologo c:\\nxp\\LinkServer_24.9.75\\binaries\\Scripts\\listusb.vbs
VID: 1FC9 PID: 0143 Serial: 7&1B09FF6B&0&0000
VID: 8086 PID: 7EC3 Serial: 4&1F0EBEEC&0&0
VID: 0489 PID: E109_QC5GNRCOEXMGR Serial: 6&246D92E1&0&04
VID: 8087 PID: 0AC2 Serial: 7&3F876ED&0&0000
VID: 8087 PID: 0AC2 Serial: 6&2BC0E6A5&0&00
VID: 0489 PID: E109_QCGNSS Serial: 6&246D92E1&0&01
VID: 1BCF PID: 2BB3 Serial: 6&2C833700&0&0002
VID: 1FC9 PID: 0143 Serial: 4BBXRM21A3B4T
VID: 0489 PID: E109_QCPSAUTOREG Serial: 6&246D92E1&0&03
VID: 1FC9 PID: 0143 Serial: 6&2CEB9B2&0&0002
VID: 1FC9 PID: 0143 Serial: 6&2CEB9B2&0&0001
VID: 1BCF PID: 2BB3 Serial: 01.00.00
VID: 8087 PID: 0033 Serial: 5&290E2439&0&10
VID: 1FC9 PID: 0143 Serial: 6&2CEB9B2&0&0000
VID: 0489 PID: E109_QCMBBNETADAPTER Serial: 6&246D92E1&0&02
VID: 1BCF PID: 2BB3 Serial: 6&2C833700&0&0000

 

0 Kudos
Reply

232 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, did you remove the jumper of ISP and reset your device?

Best regards,
Pavel

0 Kudos
Reply

211 Views
kaspt
Contributor II

Yes, I removed the jumper J3 MCU-link (not pro version) and disconnect and reconnect the USB. 

0 Kudos
Reply