bugAVR Downloader/UploaDEr - Bugs: bug #26312, OS X Intel AVR-Dragon...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #26312: OS X Intel AVR-Dragon "jtagmkII_getsync(): sign-on command: status -1" error

Submitter:  Andreas Fertig <fertigtm>
Submitted:  Thu 23 Apr 2009 04:33:27 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  fertigtm
Open/Closed:  Open Release:  None
Programmer hardware:  Device type: 

Thu 23 Apr 2009 04:33:27 PM UTC, original submission:  

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.


Andreas Fertig <fertigtm>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18002:  osxintelDragonFix.diff added by fertigtm (439B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fertigtm (Submitted the item)
  • -email is unavailable- added by fertigtm
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-23 fertigtm Attached File- Added osxintelDragonFix.diff, #18002
        Carbon-Copy- Added fertigtm

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code