lpcware

LPCXpresso 7.8.0 Debug problem on Ubuntu 15.04

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by safarmer on Sun Jun 07 03:06:52 MST 2015
Hi,

I recently upgraded my workstation to Ubuntu 15.04 64 bit from 14.10 64 bit. On the old install, debugging worked fine but after the upgrade I see the LPC link 2 initialise but then I get the message: 

Quote:
No compatible emulators available.
They may be disconnected, not powered, already in use or not compatible with this target



I am debugging a LPC11u67 with LPC-Link2. I also see the same behaviour with the LPC11U68 Xpresso v2 development board.

When I run dmesg, I get this from any time I try to debug my firmware:
[185328.257175] usb 1-1.3.3: new high-speed USB device number 79 using xhci_hcd
[185328.357688] usb 1-1.3.3: New USB device found, idVendor=1fc9, idProduct=0090
[185328.357694] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[185328.357696] usb 1-1.3.3: Product: LPC-LINK2 CMSIS-DAP V5.112
[185328.357697] usb 1-1.3.3: Manufacturer: NXP Semiconductors
[185328.357699] usb 1-1.3.3: SerialNumber: A000000002
[185328.357923] xhci_hcd 0000:00:14.0: Not enough bandwidth. Proposed: 1668, Max: 1607
[185328.357927] xhci_hcd 0000:00:14.0: Not enough bandwidth
[185328.357937] usb 1-1.3.3: can't set config #1, error -12


I get the following from dmesg with the Xpresso board:

[185902.006445] usb 1-1.3.2: new high-speed USB device number 82 using xhci_hcd
[185902.142694] usb 1-1.3.2: New USB device found, idVendor=1fc9, idProduct=000c
[185902.142697] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[185902.142698] usb 1-1.3.2: Product: LPC
[185902.142699] usb 1-1.3.2: Manufacturer: NXP
[185902.142700] usb 1-1.3.2: SerialNumber: ABCD
[185906.806726] usb 1-1.3.2: usbfs: USBDEVFS_CONTROL failed cmd dfu-util rqt 161 rq 3 len 6 ret -71
[185906.818018] usb 1-1.3.2: USB disconnect, device number 82
[185907.235730] usb 1-1.3.2: new high-speed USB device number 83 using xhci_hcd
[185907.372121] usb 1-1.3.2: New USB device found, idVendor=1fc9, idProduct=0090
[185907.372124] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[185907.372126] usb 1-1.3.2: Product: LPC-LINK2 CMSIS-DAP V5.112
[185907.372128] usb 1-1.3.2: Manufacturer: NXP Semiconductors
[185907.372130] usb 1-1.3.2: SerialNumber: A000000002
[185907.372278] xhci_hcd 0000:00:14.0: Not enough bandwidth. Proposed: 1668, Max: 1607
[185907.372281] xhci_hcd 0000:00:14.0: Not enough bandwidth
[185907.372288] usb 1-1.3.2: can't set config #1, error -12


I have run through the install steps again to ensure that all the required packages are installed and all packages mentioned are installed. I have tried with both 7.7.2 and the new 7.8.0 version.


$ crt_emu_lpc11_13_nxp -info-emu -wire=swd
Ni: LPCXpresso Debug Driver v7.8 (May 28 2015 03:14:03 - crt_emu_lpc11_13_nxp build 181)
0 Emulators available:

$ ./boot_link2
/usr/local/lpcxpresso_7.8.0_426/lpcxpresso/bin/dfu_boot -s ./boot_link2 -n LPC-Link2 -v 0x1fc9:0x000c -i /usr/local/lpcxpresso_7.8.0_426/lpcxpresso/bin/../bin/LPC432x_CMSIS_DAP_V5_112.bin.hdr
Looking for DFU devices...
dfu-util -d 0x1fc9:0x000c -c 0 -i 0 -t 2048 -R -D /usr/local/lpcxpresso_7.8.0_426/lpcxpresso/bin/../bin/LPC432x_CMSIS_DAP_V5_112.bin.hdr
Booted LPC-Link2 (0x1fc9:0x000c) with /usr/local/lpcxpresso_7.8.0_426/lpcxpresso/bin/../bin/LPC432x_CMSIS_DAP_V5_112.bin.hdr


I have verified that everything works fine on my mac laptop and it was working immediately previous to the upgrade of Ubuntu. Has Ubuntu 15.04 been validated as a working host OS? Is there just a new package missing?

Cheers,
Shane

Outcomes