The last rev of osx-avr had avrdude5.2 bundled with it. I tested it with the mkII on the ppc and on the stk on intel. I got compalints about the mkII hanging for several minutes on the intel before programming. I dug around and found several threads where this was supposed to have been resolved with 5.2 and some which referenced the clock on the programmer. I was hoping that this would be resoved with the new version so I put it off.
Today I was finally able to sit down with this. When I tested the old version I was able to program fine on the ppc but the intel mac hung for several minutes before programming the chip. Then I ran up the new code and found the same thing. I ran across a few people who just hacked around it.
-
http://www.evilmadscientist.com/article.php/avrmac
http://article.gmane.org/gmane.comp.hardware.avr.avrdude.devel/958
I notice that with the new version the avr-dragon seems to have the same porblem so I just copied the hack for the avrispmkII and compiled it for the intel macs.
Attached it the hack.
I should have a binary rev of this out by the end of the year (in an hour or so)
:D
Happy New Year.
Don.
*** stk500v2.c.orig Wed Dec 20 15:43:34 2006
--- stk500v2.c Sun Dec 31 13:09:39 2006
***************
*** 485,490 ****
--- 485,492 ----
if (pgmtype == PGMTYPE_JTAGICE_MKII)
return 0;
+ if (pgmtype == PGMTYPE_AVRISP_MKII)
+ return 0;
retry:
tries++;
*** configure.ac.orig Sun Dec 31 16:31:19 2006
--- configure.ac Sun Dec 31 16:10:22 2006
***************
*** 24,30 ****
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
! AC_INIT(avrdude, 5.3.1, avrdude-dev@nongnu.org)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
--- 24,30 ----
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
! AC_INIT(avrdude, 5.3.1.osxintelhack, avrdude-dev@nongnu.org)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST