[SOLVED] I can't get the programmer to flash the bootloader.

For problems with Gamebuino itself, NOT your project

[SOLVED] I can't get the programmer to flash the bootloader.

Postby DFX2KX » Tue Jan 13, 2015 3:06 am

So, I've got a 'Deek-Robot' made TinyUSBISP programmer, standard 6 pin and ten pin layouts. It seems to have standard pinout, and pin one seems to match the the GB (it didn't fry the GB when I plugged it in, which is also a good sign)

However, I get
avrdude: Initilization failed, rc=-1
double check connections and try again, or use -F to override.

Overriding gives me a 0x0000 adress and tosses an error.

Any ideas? I bought the thing so I could finally update from my Indiegogo-era bootloader, and/or turn it into a permanant 3D printer controller. I didn't expect it to be this much work :\
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: I can't get the programmer to flash the bootloader.

Postby Myndale » Tue Jan 13, 2015 3:34 am

First of all this is a little bit risky, the TinyUSBISP is a 5V programmer whereas Gamebuino is 3.3V. In practice you'll probably get away with it for uploading the bootloader but make sure you disconnect it before running any games...if you're over-driving Gamebuino and something tries to send something to the sound pin (e.g. the start-up beep) then you'll wind up applying 5V straight to the speaker and eventually destroy it. I speak from experience.

To track down the cause of the problem it would help to see the exact command line that your programmer software is sending to avrdude, assuming you can. I personally prefer to call it manually so I can see exactly what it thinks it's doing at every step, try something like this:

Code: Select all
C:\arduino-1.0.5\hardware/tools/avr/bin/avrdude -CC:\arduino-1.0.5\hardware/tools/avr/etc/avrdude.conf -patmega328p -v -v -v -v -cavrisp -P\\.\COM18 -b19200 -Uflash:w:"YOUR_BOOTLOADER_FILE.HEX":i


The "-cavrisp" parameter is the programmer type, if the programmer isn't detected then try avrisp2, avrispmkII or avrispv2 (all with the "-c" prefix). Obviously you'll also need to change the COM port. Also keep in mind that the bootloader memory area is read-only, so any attempt to verify the write will fail, specify -V to disable that.
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: I can't get the programmer to flash the bootloader.

Postby DFX2KX » Tue Jan 13, 2015 6:39 am

Thanks for the help, Myndale, as for voltages, this one claims that it's yellow jumper is to go from 5v to variable voltage
Code: Select all
           hfuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0
 0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0
 0 0x00 0x00

         Programmer Type : USBtiny
         Description     : USBtiny simple USB programmer, http://www.ladyada.net
/make/usbtinyisp/
avrdude: programmer operation not supported

avrdude: Using SCK period of 10 usec
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.


C:\Users\Russell>C:\Program Files (x86)\Arduino\hardware/tools/avr/bin/avrdude -
CC:\arduino-1.0.5\hardware/tools/avr/etc/avrdude.conf -patmega328p -v -v -v -v -
cavrisp -P\\.\COM18 -b19200 -Uflash:w:"gamebuino_boot.HEX":i
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Russell>cd C:\Program Files (x86)\Arduino\hardware/tools/avr/bin/

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude.conf -patmega328p
-v -v -v -v -cavrisp -P\\.\COM18 -b19200 -Uflash:w:"gamebuino_boot.HEX":i

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>dir
 Volume in drive C is Windows 7
 Volume Serial Number is 389C-A9E8

 Directory of C:\Program Files (x86)\Arduino\hardware\tools\avr\bin

05/21/2014  01:49 PM    <DIR>          .
05/21/2014  01:49 PM    <DIR>          ..
12/04/2008  02:35 PM         1,640,960 avarice.exe
12/04/2008  02:35 PM           598,016 avr-addr2line.exe
12/04/2008  02:35 PM           618,496 avr-ar.exe
12/04/2008  02:35 PM           792,576 avr-as.exe
12/04/2008  02:35 PM           216,064 avr-c++.exe
12/04/2008  02:35 PM           597,504 avr-c++filt.exe
12/04/2008  02:35 PM           214,016 avr-cpp.exe
12/04/2008  02:35 PM           216,064 avr-g++.exe
12/04/2008  02:35 PM           211,456 avr-gcc-4.3.2.exe
12/04/2008  02:35 PM           211,456 avr-gcc.exe
12/04/2008  01:42 PM            16,134 avr-gccbug
12/04/2008  02:35 PM            30,720 avr-gcov.exe
12/04/2008  02:35 PM         2,807,808 avr-gdb.exe
12/04/2008  02:35 PM           663,552 avr-gprof.exe
12/04/2008  02:35 PM         2,807,808 avr-insight.exe
12/04/2008  02:35 PM         1,038,336 avr-ld.exe
12/04/2008  11:28 AM             1,704 avr-man
12/04/2008  02:35 PM           609,280 avr-nm.exe
12/04/2008  02:35 PM           801,280 avr-objcopy.exe
12/04/2008  02:35 PM           869,888 avr-objdump.exe
12/04/2008  02:35 PM           618,496 avr-ranlib.exe
12/04/2008  02:35 PM           309,760 avr-readelf.exe
12/04/2008  02:35 PM           604,160 avr-size.exe
12/04/2008  02:35 PM           599,552 avr-strings.exe
12/04/2008  02:35 PM           801,280 avr-strip.exe
09/02/2011  12:40 PM           513,364 avrdude.exe
12/04/2008  02:35 PM         1,872,884 cygwin1.dll
11/10/2008  06:15 PM             5,248 giveio.sys
11/07/2008  11:02 PM             1,064 ice-gdb
11/07/2008  11:02 PM                51 ice-insight
11/10/2008  06:15 PM               755 install_giveio.bat
11/07/2008  09:04 PM           138,707 itcl32.dll
11/07/2008  09:04 PM            62,224 itk32.dll
11/07/2008  11:02 PM               264 kill-avarice
12/04/2008  02:35 PM            43,520 libusb0.dll
12/04/2008  02:35 PM            11,264 loaddrv.exe
11/10/2008  06:15 PM               229 remove_giveio.bat
12/04/2008  02:35 PM           192,000 simulavr-disp.exe
12/04/2008  02:35 PM            25,088 simulavr-vcd.exe
12/04/2008  02:35 PM           146,944 simulavr.exe
12/04/2008  02:35 PM           589,824 srec_cat.exe
12/04/2008  02:35 PM           460,288 srec_cmp.exe
12/04/2008  02:35 PM           460,288 srec_info.exe
11/07/2008  11:02 PM               225 start-avarice
11/10/2008  06:15 PM               172 status_giveio.bat
11/07/2008  09:04 PM           890,792 tcl84.dll
11/07/2008  09:04 PM            20,929 tclpip84.dll
12/04/2008  02:35 PM            12,288 tclsh84.exe
11/07/2008  09:04 PM         1,222,874 tk84.dll
12/04/2008  02:35 PM            13,312 wish84.exe
              50 File(s)     24,580,964 bytes
               2 Dir(s)  15,367,180,288 bytes free

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -CC:\arduino-1.0.5
\hardware/tools/avr/etc/avrdude.conf -patmega328p -v -v -v -v -cavrisp -P\\.\COM
18 -b19200 -Uflash:w:"gamebuino_boot.HEX":i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\arduino-1.0.5\hardware/tools/avr/
etc/avrdude.conf"
avrdude: can't open config file "C:\arduino-1.0.5\hardware/tools/avr/etc/avrdude
.conf": No such file or directory
avrdude: error reading system wide configuration file "C:\arduino-1.0.5\hardware
/tools/avr/etc/avrdude.conf"

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -CC:\Program Files
 (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf -patmega328p -v -v -v -v -cav
risp -P\\.\COM18 -b19200 -Uflash:w:"gamebuino_boot.HEX":i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program"
avrdude: can't open config file "C:\Program": No such file or directory
avrdude: error reading system wide configuration file "C:\Program"

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -CC:"\Program File
s (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf" -patmega328p -v -v -v -v -c
avrisp -P\\.\COM18 -b19200 -Uflash:w:"gamebuino_boot.HEX":i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardw
are/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM18
         Using Programmer              : avrisp
         Overriding Baud Rate          : 19200
avrdude: ser_open(): can't open device "\\.\COM18": The system cannot find the f
ile specified.


avrdude done.  Thank you.


C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -CC:"\Program File
s (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf" -patmega328p -v -v -v -v -c
avrisp -P\\.\COM1 -b19200 -Uflash:w:"gamebuino_boot.HEX":i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardw
are/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM1
         Using Programmer              : avrisp
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.


C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -CC:"\Program File
s (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf" -patmega328p -v -v -v -v -c
avrispV2 -P\\.\COM1 -b19200 -Uflash:w:"gamebuino_boot.HEX":i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardw
are/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM1
         Using Programmer              : avrispV2
         Overriding Baud Rate          : 19200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with 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  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  36
00 0xff 0xff
                                  Block Poll               Page
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           flash         65     6   128    0 yes     32768  128    256  4500  45
00 0xff 0xff
                                  Block Poll               Page
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           lfuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
                                  Block Poll               Page
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           hfuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
                                  Block Poll               Page
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           efuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
                                  Block Poll               Page
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           lock           0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
                                  Block Poll               Page
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  Max
W   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  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           signature      0     0     0    0 no          3    0      0     0
 0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel AVR ISP V2
         Programmer Model: Unknown
avrdude: Send: . [1b] . [01] . [00] . [02] . [0e] . [03] . [90] . [85]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]

That's what it's doing.
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: I can't get the programmer to flash the bootloader.

Postby Myndale » Tue Jan 13, 2015 10:05 am

Looks like it's not hearing anything back from the programmer. Can you confirm that COM1 is in fact the port that the programmer is using? If you run the Arduino IDE and select Tools -> Serial Port then it should appear in the list of ports but only when the programmer is plugged in. Could be a COM speed issue too, try removing the -b19200.

Have you successfully used this programmer to upload apps to regular Arduino boards? If so then the best way to get this working is to go to your Arduino IDE settings and turn on verbose input for uploads, then upload an app to the Arduino (BLINK will do) and it'll show you the exact commands it's sending to avrdude for your programmer.
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: I can't get the programmer to flash the bootloader.

Postby DFX2KX » Tue Jan 13, 2015 7:43 pm

It's definately com1

I tried to upgrade Arduino to the latest version (because I couldn't see the comport in 1.0.5), and in the process your command not gives a point entry error.

It also did something to the FTDI driver When I tried this.... Apparently, the new drivers disable bootleg FT323R chips. Which, given the board was made in China, apparently the GB has. I can't even upload sketches to the Gamebuino directly at this point, and reverting didn't fix it.. (Sigh) it's going back in the desk.... Thanks for the help Myndale. I didn't brick the GB, fortunately. I just can't program it either via Arduino or the programmer at this point.
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: I can't get the programmer to flash the bootloader.

Postby Myndale » Tue Jan 13, 2015 8:59 pm

Oh, that problem again. I forgot you were out of the action for a bit, you probably missed the whole FTDI thing.

Not to worry, it's easy fixed. You can either install older drivers that work with the trashed FTDI chip or run an FTDI utility to restore the chip back to what it should be. Details on this thread here:

http://gamebuino.com/forum/viewtopic.php?f=7&t=1373
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: I can't get the programmer to flash the bootloader.

Postby DFX2KX » Tue Jan 13, 2015 10:02 pm

Myndale wrote:Oh, that problem again. I forgot you were out of the action for a bit, you probably missed the whole FTDI thing.

Not to worry, it's easy fixed. You can either install older drivers that work with the trashed FTDI chip or run an FTDI utility to restore the chip back to what it should be. Details on this thread here:

http://gamebuino.com/forum/viewtopic.php?f=7&t=1373


I discovered that too late.... :\ Mine's not coming up on a scan... I'll try the laptop quick

(Edit: hey, did the 'old version' trick and got it to come up on a scan then, now to fix the vendor ID...)
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: I can't get the programmer to flash the bootloader.

Postby DFX2KX » Tue Jan 13, 2015 11:14 pm

Well, got the GB itself programming. now to return to my original problem..... Hey Myndale, think the connector/cord might be bad?
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: I can't get the programmer to flash the bootloader.

Postby Myndale » Wed Jan 14, 2015 12:03 am

My money would be on bad avrdude params. Have you successfully use it on a regular Arduino and looked at what the IDE's verbose output is printing out?
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: I can't get the programmer to flash the bootloader.

Postby DFX2KX » Wed Jan 14, 2015 2:24 am

Don't have a regular one to test. (I wish!)

Here's verbose output from Arduino:
Code: Select all
Build options changed, rebuilding all

Sketch uses 10,830 bytes (35%) of program storage space. Maximum is 30,592 bytes.
Global variables use 681 bytes of dynamic memory.
C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cusbtiny -Uflash:w:C:\Users\Russell\AppData\Local\Temp\build6696380069767320306.tmp/a_Hello.cpp.hex:i

avrdude: Version 6.0.1, compiled on Apr  3 2014 at 23:12:16
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: bus-0:\\.\libusb0-0001--0x1781-0x0c9f
         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 : USBtiny
         Description     : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported

avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [00 00 00 00]
CMD: [ac 53 00 00] [00 00 00 00]
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.


The output does confirm that it's been found, and seems to be communicating with avrdude, but it seems to fail on the whole upload bit.
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Next

Return to Installation & Troubleshooting

Who is online

Users browsing this forum: No registered users and 22 guests

cron