MCUExpresso Fails to detect MCU-Link Ubuntu 20

cancel
Showing results for 
Search instead for 
Did you mean: 

MCUExpresso Fails to detect MCU-Link Ubuntu 20

Jump to solution
200 Views
mariusoctavian
Contributor II
  • I have MCUExpresso 11.5.1 [Build 7266]
  • I run
    • Ubuntu 20.04.4 LTS
    • Kernel: 5.4.0-110-generic x86_64 x86_64 x86_64 GNU/Linux
  • I have HP envy 360 with 2 USB ports
  • I use MCU-LINK 
  • I updated the firmware as in above link

--

 

J-Link firmware for MCU-Link programming script v1.0.7 October 2021.

NOTE: J-Link firmware supports MCU-Link Pro and MCU-Link on-board systems
that use an LPC55S69 in LQFP100 or BGA98 package.
Although the firmware can be programmed in to MCU-Link and MCU-Link on-board
systems that use LQFP64 package, the firmware will not run.

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.

Programming Firmware_J-Link-MCU-Link_210930.s19
Programmed successfully.

- To use: remove ISP jumper and reboot.

 

 

  • The dmesg -w shows

--

 

dmesg -w
[  874.180849] usb 1-2: new high-speed USB device number 10 using xhci_hcd
[  874.329431] usb 1-2: New USB device found, idVendor=1366, idProduct=0101, bcdDevice= 1.00
[  874.329437] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  874.329440] usb 1-2: Product: J-Link
[  874.329443] usb 1-2: Manufacturer: SEGGER
[  874.329447] usb 1-2: SerialNumber: 001067090007

 

 

The cat /var/log/syslog | grep MCU spawns

--

 

May 20 16:04:19 hpp kernel: [  144.262393] hid-generic 0003:1FC9:0143.0009: hiddev2,hidraw4: USB HID v1.00 Device [NXP Semiconductors MCU-LINK r0FF CMSIS-DAP V0.078] on usb-0000:00:14.0-2/input1
May 20 16:14:54 hpp /usr/lib/gdm3/gdm-x-session[22041]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4e00003 (MCUXpresso)
May 20 16:41:01 hpp /usr/lib/gdm3/gdm-x-session[22041]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4e00003 (MCUXpresso)
May 20 16:43:27 hpp /usr/lib/gdm3/gdm-x-session[22041]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x5000003 (MCUXpresso)
May 20 17:10:38 hpp kernel: [ 4122.335650] usb 1-2: Product: MCU-LINK r0FF CMSIS-DAP V0.078
May 20 17:10:38 hpp kernel: [ 4122.340051] hid-generic 0003:1FC9:0143.000A: hiddev1,hidraw3: USB HID v1.00 Device [NXP Semiconductors MCU-LINK r0FF CMSIS-DAP V0.078] on usb-0000:00:14.0-2/input0
May 20 17:10:38 hpp kernel: [ 4122.341449] hid-generic 0003:1FC9:0143.000B: hiddev2,hidraw4: USB HID v1.00 Device [NXP Semiconductors MCU-LINK r0FF CMSIS-DAP V0.078] on usb-0000:00:14.0-2/input1
May 20 17:15:14 hpp /usr/lib/gdm3/gdm-x-session[22041]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4e00003 (MCUXpresso)
May 20 17:21:10 hpp /usr/lib/gdm3/gdm-x-session[22041]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4e00003 (MCUXpresso)
May 20 17:23:37 hpp /usr/lib/gdm3/gdm-x-session[22041]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4e00003 (MCUXpresso)
May 20 17:26:20 hpp /usr/lib/gdm3/gdm-x-session[14983]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4a00003 (MCUXpresso)
May 20 17:35:38 hpp /usr/lib/gdm3/gdm-x-session[22613]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4000003 (MCUXpresso)
May 20 17:41:20 hpp /usr/lib/gdm3/gdm-x-session[22613]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4000003 (MCUXpresso)

 

The ExpressoIDE when clicking debug does not detect the JLINK

 

[Started server]
[Connected on port 3025]
redlink> ProbeList
Error: No probes found
redlink> ProbeList
Error: No probes found
redlink> ProbeStatus
redlink> ProbeStatus
redlink> quit
[Closed]

 

--

Any one can lead me on a right path.

Thank you.

 

 

 

0 Kudos
1 Solution
187 Views
mariusoctavian
Contributor II

Some of the readme's said that I have to run for firmware upgrade

/usr/local/MCU-LINK_installer/scripts/program_JLINK

 

but actually I should have ran the


/usr/local/MCU-LINK_installer/scripts/program_CMSIS

Now I s detected.

[19866.863970] audit: type=1400 audit(1653102360.495:311): apparmor="DENIED" operation="open" profile="snap.skype.skype" name="/sys/devices/virtual/net/docker0/speed" pid=23333 comm="skypeforlinux" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[20230.612179] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[20230.761045] usb 1-2: New USB device found, idVendor=1fc9, idProduct=0021, bcdDevice= 3.00
[20230.761052] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[20230.761057] usb 1-2: Product: USB COMPOSITE DEVICE
[20230.761060] usb 1-2: Manufacturer: NXP SEMICONDUCTOR INC.
[20230.763752] hid-generic 0003:1FC9:0021.0009: hiddev1,hidraw3: USB HID v1.00 Device [NXP SEMICONDUCTOR INC. USB COMPOSITE DEVICE] on usb-0000:00:14.0-2/input0
[20355.241162] usb 1-2: USB disconnect, device number 12

 

View solution in original post

0 Kudos
1 Reply
188 Views
mariusoctavian
Contributor II

Some of the readme's said that I have to run for firmware upgrade

/usr/local/MCU-LINK_installer/scripts/program_JLINK

 

but actually I should have ran the


/usr/local/MCU-LINK_installer/scripts/program_CMSIS

Now I s detected.

[19866.863970] audit: type=1400 audit(1653102360.495:311): apparmor="DENIED" operation="open" profile="snap.skype.skype" name="/sys/devices/virtual/net/docker0/speed" pid=23333 comm="skypeforlinux" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[20230.612179] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[20230.761045] usb 1-2: New USB device found, idVendor=1fc9, idProduct=0021, bcdDevice= 3.00
[20230.761052] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[20230.761057] usb 1-2: Product: USB COMPOSITE DEVICE
[20230.761060] usb 1-2: Manufacturer: NXP SEMICONDUCTOR INC.
[20230.763752] hid-generic 0003:1FC9:0021.0009: hiddev1,hidraw3: USB HID v1.00 Device [NXP SEMICONDUCTOR INC. USB COMPOSITE DEVICE] on usb-0000:00:14.0-2/input0
[20355.241162] usb 1-2: USB disconnect, device number 12

 

0 Kudos