Unknown programmer

I found unknown programmer without some literature... I'll use it to burn bootloader to Arduino UNO... It looks like AvrISP mkII... But I don't know how to connect and which software use to burn bootloader...

Thanks...

Resize those to make them viewable.
This is what an AVI ISP MKii looks like.
I don’t know what you have, I would imagine some kind of USBASP device.

You will need to install the FTDI drivers. I believe this is a stk500v2 type programmer.

You can test it with avrdude (substitute your COM port).

avrdude -c avrisp2 -PCOM6 -b115200 -pm328p -v

or

avrdude -c stk500v2 -PCOM6 -b115200 -pm328p -v

sorry I am novice in arduino, how I can test this commands ? In cmd? Thank you...

Resize those pics, then maybe we can help.

// Per.

You can run avrdude from cmd in Windows. I hate typing in long path lines so I change to the dir where the avrdude config file is.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\User>cd  my doc*\arduino-1.0.4\hardware\tools\avr\etc
C:\Documents and Settings\User\My Documents\arduino-1.0.4\hardware\tools\avr\etc>..\bin\avrdude -c stk500v2 -PCOM31 -b115200  -pm328p -v

avrdude: Version 5.11.1, compiled on Apr 16 2013 at 22:50:51
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Documents and Settings\User\My Documents\Downloads\Arduino\arduino-1.0.4\hardware\tools\avr\etc\avrdude.conf"

         Using Port                    : COM31
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
         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
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 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 : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: STK500
         Hardware Version: 15
         Firmware Version Master : 2.10
         Topcard         : Unknown
         Vtarget         : 4.4 V
         SCK period      : 50.0 us
         Varef           : 0.0 V
         Oscillator      : 3.686 MHz

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.06s

avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D6
avrdude: safemode: efuse reads as 5

avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D6
avrdude: safemode: efuse reads as 5
avrdude: safemode: Fuses OK

avrdude done.  Thank you.

I tried it but :

C:\Documents and Settings\user\Desktop\arduino-1.0.4\hardware\tools\avr\bin>avrdude -c avrisp2 -PCOM3 -b115200 -pm328p -v

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 ""
avrdude: can't open config file "": No such file or directory
avrdude: error reading system wide configuration file ""

C:\Documents and Settings\user\Desktop\arduino-1.0.4\hardware\tools\avr\bin>

You need to be in the \etc dir.

Try this

cd ..\etc ..\bin\avrdude -c stk500v2 -PCOM3 -b115200 -pm328p -v

I copy "avrdude.conf" from etc to bin... And here is the result :

avrdude -c avrisp2 -PCOM3 -b115200 -pm328p -v

C:\Documents and Settings\user\Desktop\arduino-1.0.4\hardware\tools\avr\bi
n>avrdude -c avrisp2 -PCOM3 -b115200 -pm328p -v

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:\Documents and Settings\user
\Desktop\arduino-1.0.4\hardware\tools\avr\bin\avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : avrisp2
         Overriding Baud Rate          : 115200
         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
           flash         65     6   128    0 yes     32768  128    256  4500  45
00 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
           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 : STK500V2
         Description     : Atmel AVR ISP mkII
         Programmer Model: AVRISP
         Hardware Version: 1
         Firmware Version Master : 2.10
         Vtarget         : 0.0 V
         SCK period      : 129.2 us

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.


C:\Documents and Settings\user\Desktop\arduino-1.0.4\hardware\tools\avr\bi
n>

avrdude -c stk500v2 -PCOM3 -b115200 -pm328p -v

C:\Documents and Settings\user\Desktop\arduino-1.0.4\hardware\tools\avr\bi
n>avrdude -c stk500v2 -PCOM3 -b115200 -pm328p -v

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:\Documents and Settings\user
\Desktop\arduino-1.0.4\hardware\tools\avr\bin\avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
         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
           flash         65     6   128    0 yes     32768  128    256  4500  45
00 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
           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 : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: AVRISP
         Hardware Version: 1
         Firmware Version Master : 2.10
         Vtarget         : 0.0 V
         SCK period      : 129.2 us

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.


C:\Documents and Settings\user\Desktop\arduino-1.0.4\hardware\tools\avr\bi
n>

And now ?

Thank you..

That's good. That means at least the programmer is responding. So it does identify as an AVRISP MKII programmer. The failure could be the connections to the ATmega328P chip or the clocking to the chip. What did you have hooked up to the programmer?

I found this programmer in my brother drawer. I don't know what did he do with programmer. I connected him only to usb... What can I do?

You can program the bootloader to you Uno using the Arduino IDE and the AVRISPmkII programmer you have. You will need to add a programmer definition to the IDE.

For Windows, create this file under your default sketch folder,
\My Documents\Arduino\hardware\Arduino\programmers.txt.

pololu.name=AVRISPmkII Serial
pololu.communication=serial
pololu.protocol=avrispv2

Hook up the ICSP connections from the programmers 10-pin header to the Uno 6-pin header. Just connect up the matching pins.

Then open the Arduino IDE.

  1. Select Tools → Board → Uno
  2. Select Tools → Serial Port → COM3 (This should be the serial port of your programmer)
  3. Select Tools → Programmer → AVRISPmkII Serial
  4. Select Tools → Burn Bootloader

ICSP_header_sm.JPG

Connect it to a computer USB and then look into system config or properties or whatever your system call them, look into the usb section and look for the device you just connected , it should have some kind of identification like name or ID , report what you found here on the forum so someone could positively ID the thing.

Sorry I don't have UNO right now, because I am sick and my UNO is in internat in school. I have at home only ArduinoSeverino (homemade arduino with Atmega8). http://arduino.cc/en/Main/ArduinoBoardSerialSingleSided3 . Can I burn bootloader to Severino or single Atmega8 ? Something like this? And can I edit bootloader, that Atmega8 using internal oscillator? Thanks...

To sapsoft : We already identified it, this is AVRISP mkII programmer respectively clone mkII...

Hi I tried burn bootloader to UNO but :

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

What can I do?

What is the condition of your Uno? Was it working? Are you trying to burn bootloader because it stop working? Or you just trying to test it out?

When I bought UNO, it worked two months, but suddenly it stopped to work...

Edit : It works !!!

I found http://forum.arduino.cc/index.php/topic,25385.0.html I tried :

avrdude -CC:\Users\User\Desktop\arduino-1.0.3\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cavrispv2 -P\\.\COM4 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m -B 6 -F

And It worked from cmd, after burning bootloader, I try burn bootloader in arduino program for Severino and it work again !!! I am very happy... Thank you...