avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #43268] usb_drain() call causes LUFA AVR-ISP MKII Cod


From: Joerg Wunsch
Subject: [avrdude-dev] [bug #43268] usb_drain() call causes LUFA AVR-ISP MKII Code to Fail
Date: Mon, 22 Sep 2014 08:45:29 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #3, bug #43268 (project avrdude):

OK, using it under Linux, it "just works":


% avrdude -P usb -p m328p -c avrisp2 -vvvv

avrdude: Version 6.1-20140519, compiled on May 19 2014 at 12:02:47
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/usr/local/etc/avrdude.conf"
         User configuration file is "/home/jwunsch/.avrduderc"
         User configuration file does not exist or is not a regular file,
skipping

         Using Port                    : usb
         Using Programmer              : avrisp2
avrdude: usbdev_open(): Found AVRISP mkII, serno: 000200212345
avrdude: Sent: . [01] 
avrdude: Recv: . [01] . [00] . [0a] A [41] V [56] R [52] I [49] S [53] P [50]
_ [5f] M [4d] K [4b] 2 [32] 
avrdude: stk500v2_getsync(): found AVRISP mkII programmer
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600 
3600 0xff 0xff
                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           flash         65     6   128    0 yes     32768  128    256  4500 
4500 0xff 0xff
                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           lfuse          0     0     0    0 no          1    0      0  4500 
4500 0x00 0x00
                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           hfuse          0     0     0    0 no          1    0      0  4500 
4500 0x00 0x00
                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           efuse          0     0     0    0 no          1    0      0  4500 
4500 0x00 0x00
                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           lock           0     0     0    0 no          1    0      0  4500 
4500 0x00 0x00
                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           calibration    0     0     0    0 no          1    0      0     0  
  0 0x00 0x00
                                  Block Poll               Page               
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           signature      0     0     0    0 no          3    0      0     0  
  0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel AVR ISP mkII
         Programmer Model: AVRISP mkII
avrdude: Sent: . [03] . [90] 
avrdude: Recv: . [03] . [00] . [00] 
avrdude: Sent: . [03] . [91] 
avrdude: Recv: . [03] . [00] . [01] 
avrdude: Sent: . [03] . [92] 
avrdude: Recv: . [03] . [00] . [17] 
         Hardware Version: 0
         Firmware Version Master : 1.23
avrdude: Sent: . [03] . [94] 
avrdude: Recv: . [03] . [00] . [1f] 
         Vtarget         : 3.1 V
avrdude: Sent: . [03] . [98] 
avrdude: Recv: . [03] . [00] . [12] 
         SCK period      : 19.37 us

avrdude: Sent: . [10] . [c8] d [64] . [19]   [20] . [00] S [53] . [03] . [ac]
S [53] . [00] . [00] 
avrdude: Recv: . [10] . [c0] 
avrdude: stk500v2_command(): command failed
avrdude: Sent: . [03] . [a1] 
avrdude: Recv: . [03] . [00] . [10] 
avrdude: stk500v2_program_enable(): bad AVRISPmkII connection status: Target
not detected
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: Sent: . [11] . [01] . [01] 
avrdude: Recv: . [11] . [00] 

avrdude done.  Thank you.


I think that's basically the expected behaviour for the fake 
programmer.  Under Windows (in a VM), I can see the timeouts 
though.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?43268>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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