avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #7680] Fixing timeout problem in ser_recv in ser_wi


From: Rene Liebscher
Subject: [avrdude-dev] [patch #7680] Fixing timeout problem in ser_recv in ser_win32.c
Date: Tue, 13 Dec 2011 15:51:03 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

Follow-up Comment #1, patch #7680 (project avrdude):

Some measurements when using the bus pirate without a connected mcu (so it
fails to initialize it and returns with error, but to do this it already send
several commands to the bus pirate.)

* original code:
** binary mode :        *0m20.329s*
** ascii mode :         *4m11.766s*

* patched code:
** binary mode :        *0m1.156s*
** ascii mode :         *0m3.547s*


Command line for binary mode:

$ time ../avrdude -c buspirate -p m8 -P com7

Detecting BusPirate...
**
**  Bus Pirate v3b
**  Firmware v5.10 (r559)  Bootloader v4.4
**  DEVID:0x044F REVID:0x3043 (24FJ64GA002 B5)
**  http://dangerousprototypes.com
**
BusPirate: using BINARY mode
avrdude.exe: initialization failed, rc=-2
             Double check connections and try again, or use -F to override
             this check.


avrdude.exe done.  Thank you.


real    0m20.329s
user    0m0.015s
sys     0m0.046s


Command line for ascii mode:

$ time ../avrdude -c buspirate -p m8 -P com7 -x ascii

Detecting BusPirate...
**
**  Bus Pirate v3b
**  Firmware v5.10 (r559)  Bootloader v4.4
**  DEVID:0x044F REVID:0x3043 (24FJ64GA002 B5)
**  http://dangerousprototypes.com
**
BusPirate: using ASCII mode
BusPirate is now configured for SPI
avrdude.exe: initialization failed, rc=-2
             Double check connections and try again, or use -F to override
             this check.


avrdude.exe done.  Thank you.


real    4m11.766s
user    0m0.015s
sys     0m0.031s



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7680>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]