Forum: Mikrocontroller und Digitale Elektronik Attiny13 mySmartUSB light avrdude


von Bubba (Gast)


Lesenswert?

Hallo,
ich habe mir den mySmartUSB light Programmer gekauft und will damit nun 
einen Attiny13 unter Linux mit avrdude programmieren (ISP 6 Pin). Ich 
habe zum Test mal folgendes eingegeben:
avrdude -v -p t13 -c stk500v2 -P /dev/ttyUSB0 -U flash:r:flash.hex:i

Leider bekomme ich die folgende Fehlermeldung:
avrdude: Version 5.11, compiled on Dec  1 2012 at 18:15:52
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

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

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : stk500v2
         AVR Part                      : ATtiny13
         Chip Erase delay              : 4000 us
         PAGEL                         : P00
         BS2                           : P00
         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     5     4    0 no         64    4      0 
4000  4000 0xff 0xff
           flash         65     6    32    0 yes      1024   32     32 
4500  4500 0xff 0xff
           signature      0     0     0    0 no          3    0      0 
0     0 0x00 0x00
           lock           0     0     0    0 no          1    0      0 
4500  4500 0x00 0x00
           calibration    0     0     0    0 no          2    0      0 
0     0 0x00 0x00
           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

         Programmer Type : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: STK500
         Hardware Version: 3
         Firmware Version Master : 2.10
         Topcard         : Unknown
         Vtarget         : 0.0 V
         SCK period      : 3.3 us
         Varef           : 0.0 V
         Oscillator      : Off

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 
0.98s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.


---------------------------------------------

Der Attiny13 sitzt auf einem Breadboard und alle Pins sind angeschlossen 
(Pinbelegung nach Dokumentation).

Kann mir jemand einen Tip geben, was ich hier falsch mache? Ist der 
Programmer-Typ der richtige(So ist er in der Dokumentation angegeben)?

Ich habe folgende Dokumentationen angeschaut bzgl der Pin-Belegung:
attiny13: http://www.atmel.com/Images/doc2535.pdf
mySmartUSBLight: 
http://www.myavr.info/download/produkte/mysmartusb_light/techb_mySmartUSB-light_de_en.pdf

Kann mir jemand einen Tip geben, was ich hier falsch mache? Ist der 
Programmer-Typ der richtige(So ist er in der Dokumentation angegeben)?

Ich habe das Ganze auch mal mit einem Pullup (10k) für den Reset Pin 
probiert. Leider bringt das aber auch nichts :-(

von da Wühr (Gast)


Lesenswert?

Hallo Bubba,
es sieht ganz so aus, als wenn dein Controller nicht korrekt mit dem 
Programmer verbunden ist. An deiner Stelle würde ich noch einmal alle 
Verbindungen überprüfen.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.