slow usb serial programming on osx... continued
Moderators: adafruit_support_bill, adafruit

slow usb serial programming on osx... continued

by Tones on Wed Jun 22, 2011 4:26 am

I'm having this exact problem, but the solution outlined in xor's post above does not work for me. Instead of a successful (albeit slow) write, I get this error:

Code: Select all | TOGGLE FULL SIZE
$ make program-makezine
avrdude -p attiny2313 -P /dev/tty.PL2303-0000201A    -c dasa -U flash:w:makezine.hex

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

make: *** [program-makezine] Error 1


I'm running OSX 10.6.7, a PL2303 USB/serial adapter, and avrdude v5.10.

It's not a critical problem to fix, but I thought I'd share the bug anyway.

=T=
Last edited by Tones on Wed Jun 22, 2011 4:48 pm, edited 1 time in total.
Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 5:17 am

Re: mac problem

by adafruit on Wed Jun 22, 2011 2:03 pm

did it ever work at all? we dont understand your question
User avatar
adafruit
 
Posts: 11708
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: mac problem

by Tones on Wed Jun 22, 2011 4:47 pm

Ah, oops. I meant to post this as a reply to this post, not as a new topic:
"very slow USB serial programming on Mac OS X"
http://forums.adafruit.com/viewtopic.php?f=11&t=13480

I'm able to write to the avr using avrdude's default settings, but it is incredibly slow. It can take more than a half hour to write to the chip. The "AVR device not responding" error occurs when I try to solve the slowness error by modifying the 'dasa' parameters in the avrdude config file, as recommended here: http://forums.adafruit.com/viewtopic.php?f=11&t=13480#p67533.
Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 5:17 am

Re: slow usb serial programming on osx... continued

by adafruit on Wed Jun 22, 2011 7:37 pm

ok so it does work but not the speed up? not sure...we didnt write the hack :(
User avatar
adafruit
 
Posts: 11708
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: slow usb serial programming on osx... continued

by Tones on Wed Jun 22, 2011 7:41 pm

Yes, that's right -- it works normally (though slowly), it's just the hack that causes actual failure.

So it's not a big deal, just thought I would mention it.
Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 5:17 am

Re: slow usb serial programming on osx... continued

by xor on Mon Jul 04, 2011 3:52 pm

You write that you modified the dasa parameters in the avrdude config - but did you also do the physical modification (swapping the TXD and RTS line? The easiest way to do this, probably is to make an adapter using a male and a female DB9 connector and some wire.
xor
 
Posts: 6
Joined: Mon Nov 23, 2009 8:29 am