On Mar 23, 2010, at 11:32 PM, Joerg Wunsch wrote:
>>
> Windell sent me the trace files, and I've noticed that the sign-on
> command is being sent much earlier than the subsequent commands.
> Maybe, somehow the USB driver in MacOS is simply not yet ready for
> sending data there. I've asked him to replace the "return" hack by a
> "sleep(1)".
Okay, I've tried that. It does not outright fix the problem, but does change
the character of it:
avrdude -p x64a3 -c avrisp2 -P usb -v -e -b 115200 \
-U flash:w:xhello.hex
avrdude: Version 5.10, compiled on Mar 23 2010 at 23:41:42
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/Users/oskay/.avrduderc"
User configuration file does not exist or is not a regular file,
skipping
Using Port : usb
Using Programmer : avrisp2
Overriding Baud Rate : 115200
avrdude: usbdev_open(): Found AVRISP mkII, serno: 000200033832
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
[...etc...]
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev