[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #26312] OS X Intel AVR-Dragon "jtagmkII_getsync(): si
From: |
Andreas Fertig |
Subject: |
[avrdude-dev] [bug #26312] OS X Intel AVR-Dragon "jtagmkII_getsync(): sign-on command: status -1" error |
Date: |
Thu, 23 Apr 2009 16:33:29 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.0.9) Gecko/2009040820 Firefox/3.0.9 |
URL:
<http://savannah.nongnu.org/bugs/?26312>
Summary: OS X Intel AVR-Dragon "jtagmkII_getsync(): sign-on
command: status -1" error
Project: AVR Downloader/UploaDEr
Submitted by: fertigtm
Submitted on: Do 23 Apr 2009 16:33:27 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: fertigtm
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hello folks,
I have had problems with avrdude and an avrdragon on my Intel Mac. Im running
Mac OS X 10.4.11. So far the problem was that avrdude says:
avrdude: usbdev_open(): Found AVRDRAGON, serno: XXXXX
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
Searching the net I found entries to a similar problem but without a solution
to fix it. It seems that at least one person could bring it up and running
with upgrading to OS X 10.5.
As I'm not willing to upgrade yet I tracked to problem down. For this I tried
out several version of libusb. All had the same behavior, they failed.
At least I could avoid the error by removing stk500v2_drain(pgm, 0) call in
stk500v2_dragon_isp_open().
It seems that the first initial read to USB which is done by the
stk500v2_drain function let the corresponding Mac OS X function return with a
timeout. This results in an error which let the application exit.
With a small patch you can avoid this behavior. For me it works great. I
tested it with uploading a program and downloading the fuse bytes.
The attached file contains a patch against avrdude 5.5.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Do 23 Apr 2009 16:33:27 GMT Name: osxintelDragonFix.diff Size: 439B
By: fertigtm
<http://savannah.nongnu.org/bugs/download.php?file_id=18002>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26312>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #26312] OS X Intel AVR-Dragon "jtagmkII_getsync(): sign-on command: status -1" error,
Andreas Fertig <=