atprogram standalone utility not working with AVRISPMKII for Win10

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

The situation is the following. I have followed this guide using the Atmel Studio 7.

https://microchipsupport.force.com/s/article/atprogram-standalone-utility

 

The Atmel ICE is being found right away and can be used. This is perfect! However the AVR ISP MKII is not working. If I install and uninstall the Atmel Studio 7 it works. So I must be missing some drivers, dlls or something.

We need a solution without installing Atmel Studio.

Could anyone explain why the connection between the "atprogram" and the AVRISPMKII driver is not working?

 

Attached you find screenshots

Atmel-usb-……PNG – done as the microchip guide says Atmel USB driver package from microchip

Atmel-installer…..PNG – drivers taken from Atmel Studio installer (newer drivers than the Atmel-USB-Driver package). Atmel Studio is not installed on the PC.

Attachment(s): 

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

ejej wrote:
so I must be missing some drivers,
Atmel/Microchip Studio 7.0.1416 and subsequent replaced the USB driver for legacy tools (Jungo replaced with Windows' inherent WinUSB)

ejej wrote:
Could anyone explain why the connection between the "atprogram" and the AVRISPMKII driver is not working?
Not (this is a guess)

Information : Atmel AVRISP mkII reports a serial number; likewise with the Waveshare clone.

atprogram may require a tool serial number.

reasons : gang programming in production, multi-AVR PCBA

 

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

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

If I install Astudio 7.0 I get the serial number of the programmer when I give the command "atprogram list". But when I follow the Microchip instruction "how to make it work without installing Astudio" it is not working. I am out of ideas to make it work. Why is it so difficult?

It worked the first time with ST standalone programming tool.  

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

ejej wrote:
So I must be missing some drivers, dlls or something.
Maybe the driver's there but not bound to that instance of AVRISP mkII.

Atmel ICE not showing in "Tool" drop down. | AVR Freaks (plus, post #5 has the drivers install)

 

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

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

ejej wrote:

"how to make it work without installing Astudio"  

 

I also experienced that it was very laborious and troublesome. So I decided to use AVRDUDE.
It's a shame that the command line options aren't elegant, but I think it's much better.

I asked in this thread.

https://www.avrfreaks.net/forum/...
I use SNAP, but it should be the same for AVRISP mkII.

 

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

I have been following your suggestion "Atmel ICE not showing in "Tool" drop down." , thought now I have a solution:-)

I have my host and a VM on the same machine, the VM have a Astudio installed Host have followed the microchip suggestion for atprogram.

The attached picture shows exactly the same for both systems.

Astudio is doing some magic on the VM, but I cannot figure out what.

 

 

Attachment(s): 

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

re attachment, looks correct; am at a loss for ideas.

 


https://usb-ids.gowdy.us/read/UD/03eb/2104

via

The USB ID Repository

 

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

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

I started a case at Microchip. Something is rotten;-)