slow usb serial programming on osx... continued

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 5:17 am

slow usb serial programming on osx... continued

Post by Tones »

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

$ 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.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: mac problem

Post by adafruit »

did it ever work at all? we dont understand your question

Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 5:17 am

Re: mac problem

Post by Tones »

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.ph ... 480#p67533.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

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

Post by adafruit »

ok so it does work but not the speed up? not sure...we didnt write the hack :(

Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 5:17 am

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

Post by Tones »

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.

xor
 
Posts: 6
Joined: Mon Nov 23, 2009 8:29 am

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

Post by xor »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”