avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #5655] osx intel avrispmkII hack


From: anonymous
Subject: [avrdude-dev] [patch #5655] osx intel avrispmkII hack
Date: Tue, 02 Jan 2007 00:47:29 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

URL:
  <http://savannah.nongnu.org/patch/?5655>

                 Summary: osx intel avrispmkII hack
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Tuesday 01/02/2007 at 00:47 UTC
                Category: None
                Priority: 7 - High
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.

( As the origional code works fine on osx-ppc I think this patch only applies
if building on osx for intel. )

I should have a binary rev of this out by the end of the year (in an hour or
so)
Very Happy

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, address@hidden)

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, address@hidden)

AC_CANONICAL_BUILD
AC_CANONICAL_HOST




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tuesday 01/02/2007 at 00:47 UTC  Name: osxintelhack.diff  Size: 790B  
By: None
osx intel hack. 
<http://savannah.nongnu.org/patch/download.php?file_id=11662>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5655>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]