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 :
I have tried to update firmware on MCU LINK. Reinstalled MCUXpresso IDE and MCU LINK software.
Regards,
已解决! 转到解答。
Hi @4Rawi ,
from the dmesg log, it seems you are using an older/outdated firmware version?
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:
from https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK#t996
I hope this helps,
Erich
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.
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
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,
Hi @4Rawi ,
from the dmesg log, it seems you are using an older/outdated firmware version?
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:
from https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK#t996
I hope this helps,
Erich
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
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
-sudo dmesg -T
-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,
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?
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!