Forum: PC Hard- und Software Probleme mit AVR-Programmer Diamex DX-ISP unter Ubuntu


von Marc T. (ubuntu)


Angehängte Dateien:

Lesenswert?

Hey Leute,

Ich bin neu hier, und ein absoluter Anfänger, also nicht über meine 
Fragen lachen ;P.
Ich habe folgendes Problem:

Ich habe den AVR-Programmer Diamex DX-ISP unter Ubuntu am laufen.
Folgendes gebe ich in die Console ein:

avrdude -p t2313 -c stk500V2 -P /dev/ttyACM0 -v

um eine Verbindung mit meinem Attny2313 aufzubauen. Leider kommt 
folgende Fehlermeldung:

avrdude: Version 5.11.1, compiled on Oct 30 2011 at 10:37:28
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

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

         Using Port                    : /dev/ttyACM0
         Using Programmer              : stk500V2
         AVR Part                      : ATtiny2313
         Chip Erase delay              : 9000 us
         PAGEL                         : PD4
         BS2                           : PD6
         RESET disposition             : possible i/o
         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     6     4    0 no        128    4      0 
4000  4500 0xff 0xff
           flash         65     6    32    0 yes      2048   32     64 
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 
9000  9000 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0 
9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0 
9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0 
9000  9000 0x00 0x00
           calibration    0     0     0    0 no          2    0      0 
0     0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: AVRISP
         Hardware Version: 15
         Firmware Version Master : 2.10
         Vtarget         : 0.0 V
         SCK period      : 0.1 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.


Sobald ich den Befehl in die Console eingebe, leuchtet die rote LED von 
dem ISP Programmer kurz heller auf, und dann kommt auch schon die 
Fehlermeldung... Soweit ich weiß, heißt "rc=-1" ja, dass der den 
Attiny2313 nicht findet... Meine Verschaltung habe ich schon 100 mal 
überprüft. Jetzt die Frage: Wie muss ich die beiden Schalter auf dem 
Programmer einstellen, & Wie ist die Pinbelegung an der 10poligen 
Buchse?

Ich hoffe hier kann man mir helfen!
MfG,
Marc T

von Marc T. (ubuntu)


Lesenswert?

So, ich habe es jetzt soweit, dass er ne Verbindung mit dem Attiny2313 
aufbaut.
Meine Frage: Mit welchem Befehl bekomme ich jetzt das Programm auf den 
Chip geflasht?
Für eine Antwort wäre ich dankbar!

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.
Lade...