MitchSF:
I know there is a lot of discussion on this, and I've searched. I am able to program bootloaders with no issues using Windows 7, IDE 1.0.5 (AVRDude 5.11), and Olimex AVRISP MKII.
I want to start using MightyCore, which requires 1.6.5+. I've tried several later releases with the version of AVRDude included with that release, and also with 5.11, without success. AVRDude 5.11 gives a syntax error, and later versions give "avrdude : stk500v2_recv_mk2 : error in USB receive", errors.
If you know of some combination of the IDE equal to or greater than 1.6.5, and an AVRDude version that will work with it, please let me know. Thanks in advance.
With version 1.6.5
I had to modify the platform.txt and add the Windows resource kit for (sleep.exe).
My windows 7 executed the script too fast, the AVRisp MKII timed out.
Here is what I changed.
in C:\Program Files\Arduino\hardware\arduino\avr\platform.txt
I modified the tools.avrdude.cmd.path
AVR Uploader/Programmers tools
------------------------------
tools.avrdude.path={runtime.tools.avrdude.path}
#modifed chuck 2015 to add delay, under win7, too fast, AVRISP can't Respond, causes timeout
tools.avrdude.cmd.path={path}/bin/x.cmd
tools.avrdude.config.path={path}/etc/avrdude.conf
and Created this cmd file
C:\Program Files\Arduino\hardware\tools\avr\bin\x.cmd
"c:\Program Files\Windows Resource Kits\Tools\sleep.exe" 1
set a=%0
%a:~0,-6%avrdude.exe" %*
The %a crap is to generate the correct path for avrdude.exe
Chuck.
p.s. the asterisks '************' mark the start and end of the file contents, don't include them in your files. 