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/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to