I have an AVRISP MKII setup that works in Windows XP computer but now replacing it with new computer running Windows 10. I ran into problems with the drivers/communication problems.
I cannot use AVR Studio 7 because some old microcontrollers for example AT89S52 are not supported by AVR Studio 7, thus I have to install AVR Studio 4.19,
you can get it from https://www.google.com/url?sa=t&...
I found out the following to get it to work:
The following instructions will only work on Windows 10 64-bit computer (Windows 10 32-bit did not work):
1. Disconnect AVRISP MKII from computer before installing AVR Studio 4.19.
2. Do not install the Jungo USB driver when asked, instead click the cancel button and answer yes.
3. If you get an error message related SComm.dll not registered, then use administrator command prompt to register it (type cmd on run window then press ctrl-shift-enter to the prompt).
Type: regsvr32 C:\Program Files (x86)\Atmel\AVR Tools\usb64\SComm.dll
4. After installation, connect AVRISP MKII to the computer and you should see new device detected and installing ..... just like what you would see with Windows XP plug and play mode.
5. Now execute the Atmel USB Driver installation file called driver-atmel-bundle-7.0.888.exe under the header called Atmel Studio 6.2 IDE Archives on the following link
6. You should now see AVRISP MKII and WinDriver listed under Jungo in device manager.
For example, I executed the following in the cmd prompt window to make sure it works:
7. Change directory by typing: cd/program files (x86)/atmel/avr tools/stk500
8. Type the following command to program my hex file called PN9000.HEX: stk500.exe -dAT89S52 -pf -cUSB -I225000 ifpn9000.hex
You should get multiple lines response, one of the lines saying "flash programmed".