Skip to content

Instantly share code, notes, and snippets.

@thetrung
Last active September 12, 2024 19:47
Show Gist options
  • Save thetrung/d97c3105e7b56bfaf7d432aedf82ed5c to your computer and use it in GitHub Desktop.
Save thetrung/d97c3105e7b56bfaf7d432aedf82ed5c to your computer and use it in GitHub Desktop.
Pickit-3 on Ubuntu/IDE 6.20+

PICKIT-3 Programmer Tricks

When I first bought this old buddy, I thought it was dead, corrupted or something wrong there. But then, I figured it out after some late nights that it still work flawlessly with even latest MPLAB X IDE/IPE 6.20 on Ubuntu 24.04.1, even when USB Tools keep showing errors about some libusb_AccessLink_xyz not found. So lemme save you a day of googling ;)

1. Old firmware :

It does work flawlessly with Pickit-3 Programmer Standalone 3.10 Application but doesn't on MPLAB X IDE/IPE 6.20+.

  • This is because yours was flashed with old firmware/os/bootloader version from the seller, they tend to share/pre-flash it with this v3.10 program firmware so it can be recognized easily with it.

Solution :

  • Erase or try to do so with the Pickit 3 Programmer v3.10 app first.
  • Then re-program it with latest MPLAB X IDE/IPE 6.20, it will now have latest firmware to be detected by them.
  • Next trouble will happen when you are not using this old standalone programmer.

2. Undetected target-voltage VDD

Some what like Target device was not found (could not detect target voltage VDD). You must connect to a target device to use PICkit 3.

Re-configure Power Setting :

  • Navigate > IPE > Setting > Advanced Mode > Power
  • Tick-> "Power target circuit from Pickit" [ON]
  • Set -> "Voltage Level" -> [4.75v]
  • Set -> Programming Method" -> [Apply Vpp before Vdd]

Now try connecting again, you may unplug the usb-port into other port, it may work again sometimes.

3. You don't like this & prefer Pickit-3-Programmer v3.10 robustness

Then just come back to it on Windows, re-flash this with older firmware come with v3.10 and everything will be back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment