• AVR Freaks

Hot!PIckit 3 works on Windows but not on Ubuntu 18.04 LTS (64-bits)

Starting Member
  • Total Posts : 45
  • Reward points : 0
  • Joined: 2010/02/18 05:25:02
  • Location: 0
  • Status: offline
2019/01/20 07:37:47 (permalink)

PIckit 3 works on Windows but not on Ubuntu 18.04 LTS (64-bits)

Hi All,
I have Pickit 3 that works fine under Windows OS but not under Ubuntu 18.04 LTS. I really do want it to work on the Linux as this is my main development platform. When I press the debug button I get the error message "Connection Failed."
I can see the device when I issue "lsusb" command as shown below
Bus 001 Device 005: ID 04d8:900a Microchip Technology, Inc. PICkit3

I also notice that intermittently, MPLAB X seem to see the device, attached is an image showing pickit3 already detected.
Many thanks in advance. 
Could not connect to tool hardware: PICkit3PlatformTool, com.microchip.mplab.mdbcore.PICKit3Tool.PICkit3DbgToolManager
The debugger could not be started. Terminating debug session.
User program finished
Below is the output seen when using udevadm monitor

KERNEL[4058.279216] remove /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/usbmisc/hiddev1 (usbmisc)
KERNEL[4058.279407] remove /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:04D8:900A.0009/hidraw/hidraw3 (hidraw)
KERNEL[4058.279477] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:04D8:900A.0009 (hid)
KERNEL[4058.279536] remove /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:04D8:900A.0009 (hid)
KERNEL[4058.279584] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
KERNEL[4058.279642] remove /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
KERNEL[4058.280239] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)
KERNEL[4058.280331] remove /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)

KERNEL[4088.510953] add /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)
KERNEL[4088.511610] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
KERNEL[4088.512581] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:04D8:900A.000A (hid)
KERNEL[4088.512839] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/usbmisc/hiddev1 (usbmisc)
KERNEL[4088.512905] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:04D8:900A.000A/hidraw/hidraw3 (hidraw)
KERNEL[4088.512972] bind /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:04D8:900A.000A (hid)
KERNEL[4088.513041] bind /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
KERNEL[4088.513110] bind /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)
UDEV [4113.376730] remove /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
UDEV [4113.378978] unbind /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)

post edited by olaoni - 2019/01/20 10:56:07

Attached Image(s)


1 Reply Related Threads

    Super Member
    • Total Posts : 210
    • Reward points : 0
    • Joined: 2009/12/01 14:35:45
    • Location: 0
    • Status: offline
    Re: PIckit 3 works on Windows but not on Ubuntu 18.04 LTS (64-bits) 2019/05/01 14:05:16 (permalink)
    What version of MPLAB X are you using? Due to security changes in the latest Ubuntu, we had to change the way we monitored for hot-plug events. Can you try the latest version of MPLAB X (5.15)? This may not be the reason, but it would be worth checking. Thanks.
    Jump to:
    © 2019 APG vNext Commercial Version 4.5