MCU-LINK Debug Probe

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

MCU-LINK Debug Probe

Jump to solution
3,383 Views
4Rawi
Contributor III

Hi ,

I have a MCU-LINK which i have used with windows, recently i switched to Ubuntu and after installing the MCUXpreesso ide (mcuxpressoide-11.5.0_7232.x86_64.deb , MCUXpresso IDE v11.5.0 [Build 7232] [2022-01-11]) and MCU-LINK (MCU-LINK_installer_2.250_Linux).

MCUXpresso IDE (redlinkserv) can not detect the probes.

The redlinkserv starts normally, and i killed redlinkserv after each try.

The MCU LINK gets detected bu the OS :

Screenshot from 2022-02-01 14-31-42.png

I have tried to update firmware on MCU LINK. Reinstalled MCUXpresso IDE and MCU LINK software.

 

Regards,

0 Kudos
Reply
1 Solution
3,281 Views
ErichStyger
Senior Contributor V

Hi @4Rawi ,

from the dmesg log, it seems you are using an older/outdated firmware version?

ErichStyger_0-1644403398931.png

Can you check and update the firmware (see https://www.nxp.com/document/guide/getting-started-with-the-mcu-link:GS-MCU-LINK)

The current version is 2.250:

ErichStyger_1-1644403497098.png

 

from https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK#t996

 

I hope this helps,

Erich

View solution in original post

9 Replies
3,265 Views
4Rawi
Contributor III

Hi @ErichStyger and @radu_lazarescu,

Thank you, that solved the issue!

 

0 Kudos
Reply
3,283 Views
radu_lazarescu
NXP Employee
NXP Employee

Hi @4Rawi,

Thank you for providing the additional details.

From the dmesg logs I can see the probe is running an old version of the firmware.

Screenshot 2022-02-09 at 12.28.33.png

Could you please update to the most recent version V2.250?

The Getting Started guide on the MCU-Link Debug Probe page shows the firmware update procedure:

https://www.nxp.com/document/guide/getting-started-with-the-mcu-link:GS-MCU-LINK

 

3,297 Views
4Rawi
Contributor III

Hi @bobpaddock and @CarlosGarabito ,

I have inestigated further and have some other findings:

I am using Lenovo Docking. The docking station works fine with other USB devices i have but when MCU-Link come into the picture the troubles begins. The MCU-Link (Specifically, SWD) is reporting an invalid endpoint buffer size (See sudo dmesg -T image  ). with that, i am not able to use more than ONE USB device plugged into the Docking station.

I changed the Docking station with one similar, i got the same error.

When i disables SWD on MCU-Link (everything works fine but i am not able to MCU-Link as a debugger probe).

 

Could you please help with that?

 

Regards,

 

 

0 Kudos
Reply
3,282 Views
ErichStyger
Senior Contributor V

Hi @4Rawi ,

from the dmesg log, it seems you are using an older/outdated firmware version?

ErichStyger_0-1644403398931.png

Can you check and update the firmware (see https://www.nxp.com/document/guide/getting-started-with-the-mcu-link:GS-MCU-LINK)

The current version is 2.250:

ErichStyger_1-1644403497098.png

 

from https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK#t996

 

I hope this helps,

Erich

3,357 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @4Rawi :

- Can you tell us more details about this problem?

- which version of Linux are you having a problem with?

-did you see some errors when you connect the mcu-link in your dmesg terminal?

-Are you virtualizing Linux on some program like Virtual Box or VMWare? or you have a Linux as a system base of your machine?

Regards

Carlos Garabito

3,349 Views
4Rawi
Contributor III

Hi @CarlosGarabito,

- Can you tell us more details about this problem?

I am not sure which details you are interessted in? 

- which version of Linux are you having a problem with?

Ubuntu 20.04.3 LTS

-did you see some errors when you connect the mcu-link in your dmesg terminal?

 

-sudo tail -f /var/log/syslog

Screenshot from 2022-02-08 08-16-48.png

 

-sudo dmesg -T

Screenshot from 2022-02-08 08-20-17.png

-Are you virtualizing Linux on some program like Virtual Box or VMWare? or you have a Linux as a system base of your machine?

As a system base

 

Regards,

0 Kudos
Reply
3,340 Views
bobpaddock
Senior Contributor III

Windows is sloppy compared to Linux.
Linux may care about the bad packet size in the descriptor for endpoint 5.

The not enough bandwidth message could be related to that, or that hub is out of capacity.
Are there different results if move to a different USB port on a different hub?

 

3,332 Views
4Rawi
Contributor III

After some investigation, plugging out all USB devices from the Laptop, the machine finally enumerated MCU-Link. 

 

When i tried to plug in keyboard and mouse while observing the syslog i saw that it could not enumerate the last USB device plugged, with that it showed that it is a kernel issue and not the MCU-Link issue.

 

Thank you for your help!

3,337 Views
4Rawi
Contributor III

Hi @bobpaddock ,

 

I got the same issue when i plugg MCU-Link directly on the Laptop USB ports.

0 Kudos
Reply