pickit4 not showing up in atmel studio 7

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i am completely new to avr, and just bought my first programmer, the pickit4 isp. it is listed as working with Atmel studio and avr chips, but i cannot seem to get it to work. by not work i mean it is not listed in tools and simulators, or any other menu. it says that the only available programmer is the simulator. i tried the solution here: 

http://microchip.force.com/microchipknowledge/articles/en_US/Workaround/Atmel-tools-not-listed-in-Atmel-Studio-7-in-Windows10

but it did not work. i know the physical device is fine because it detected perfectly in mplab. i know i'm probably doing something obviously wrong, but having no other experience with atmel studio i am at a loss as to how to get it to work. i've looked online but no other solutions seem to be relevent as i've found very little about getting the pickit 4 working in atmel studio. any help would be appreciated. thanks.

 

i'm running windows 10 64-bit.

This topic has a solution.
Last Edited: Wed. Apr 17, 2019 - 06:15 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I hope this is not going to sound condescending but note that the list in AS7 is dynamic - it only lists the devices it can actually "see" at the moment the list is shown. So the device has to be plugged in, switched on an d working for it to be listed. Of course to achieve that means it has to be connected to USB so a first step in trying to diagnose the issue is simply to check it is being seen as a USB device - there's a utility for Windows called usbdeview.exe that can be used for this.

Last Edited: Wed. Apr 17, 2019 - 01:22 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Enable EDBG in MPLAB PICkit 4?

edit : MPLAB® PICkit™ 4 Debugger Firmware - Developer Help

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Wed. Apr 17, 2019 - 01:31 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i downloaded usbdeview and when i had the afformentioned "fix" enabled got this:

 

i then removed the fix and it appeared like this (it still does not work in atmel studio):

 

 

so it looks like to me that it is showing up as a usb device. any suggestions? i know windows 10 and atmel studio don't like each other (from what i read).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Start by ensuring that the PICkit 4 is in 'EDBG mode', i.e the VID is 0x03eb. This can be done in MPLAB by doing any operation with the PICkit 4 with an AVR as the target device. It should _not_ appear as a Microchip WinUSB Device.

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

In the case of me, once PICkik4 was recognized by MPLAB, it became possible to recognize in AtmelStudio after the firmware was updated.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

thank you all, i managed to finally get it to be detected in atmel studio 7. i launched it in mplab x ipe (i had been using ide version) and connected to it and suddenly everything started working. thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

smiley

super7800 wrote:
i launched it in mplab x ipe (i had been using ide version) and connected to it and suddenly everything started working.

Setting Up A Programmer - Developer Help

...

 

Connecting the Tool

...

At the output window, it shows messages such as downloading Firmware, bootloader, Fireware type, suite version, and so forth. 

...

 

"Dare to be naïve." - Buckminster Fuller