Forum: Mikrocontroller und Digitale Elektronik UBUNTU+Avrdude+Stk500 -> Signatur read failed


von ThomasT (Gast)


Lesenswert?

Hallo,


ich habe nun nach Jahren wieder mein STK500 ausgegraben, unter Windows 
hat es bis zum Schluß funktioniert. Mittlerweile gehöre ich aber der 
Linux-Fraktion an, und habe o.g. Problem.

Ich nutze das STK500 mit einem USB-Seriellem Kabel, soweit habe ich auch 
Verbindung zum STK500:
1
root@zeus:~# lsusb
2
Bus 004 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
3
4
5
root@zeus:~# avrdude -c stk500 -p atmega8  -v -P /dev/ttyUSB0 
6
7
avrdude: Version 5.10, compiled on Mar 23 2010 at 15:05:31
8
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
9
         Copyright (c) 2007-2009 Joerg Wunsch
10
11
         System wide configuration file is "/etc/avrdude.conf"
12
         User configuration file is "/root/.avrduderc"
13
         User configuration file does not exist or is not a regular file, skipping
14
15
         Using Port                    : /dev/ttyUSB0
16
         Using Programmer              : stk500
17
         AVR Part                      : ATMEGA8
18
         Chip Erase delay              : 10000 us
19
         PAGEL                         : PD7
20
         BS2                           : PC2
21
         RESET disposition             : dedicated
22
         RETRY pulse                   : SCK
23
         serial program mode           : yes
24
         parallel program mode         : yes
25
         Timeout                       : 200
26
         StabDelay                     : 100
27
         CmdexeDelay                   : 25
28
         SyncLoops                     : 32
29
         ByteDelay                     : 0
30
         PollIndex                     : 3
31
         PollValue                     : 0x53
32
         Memory Detail                 :
33
34
                                  Block Poll               Page                       Polled
35
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
36
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
37
           eeprom         4    20   128    0 no        512    4      0  9000  9000 0xff 0xff
38
           flash         33    10    64    0 yes      8192   64    128  4500  4500 0xff 0x00
39
           lfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00
40
           hfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00
41
           lock           0     0     0    0 no          1    0      0  2000  2000 0x00 0x00
42
           calibration    0     0     0    0 no          4    0      0     0     0 0x00 0x00
43
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
44
45
         Programmer Type : STK500V2
46
         Description     : Atmel STK500
47
         Programmer Model: STK500
48
         Hardware Version: 2
49
         Firmware Version Master : 2.01
50
         Topcard         : Unknown
51
         Vtarget         : 5.1 V
52
         SCK period      : 0.1 us
53
         Varef           : 0.6 V
54
         Oscillator      : 3.686 MHz
55
56
avrdude: AVR device initialized and ready to accept instructions
57
58
Reading | ################################################## | 100% 0.03s
59
60
avrdude: Device signature = 0x00f01f
61
avrdude: Expected signature for ATMEGA8 is 1E 93 07
62
         Double check chip, or use -F to override this check.
63
64
avrdude done.  Thank you.

Jedesmal wenn ich nun avrdude starte, liest er eine andere device 
signatur aus.

Hat noch jemand eine Idee?

Habe ich noch eine wichtige Info vergessen?


Viele Grüße und Danke vorab,
Thomas

von Oliver J. (skriptkiddy)


Lesenswert?

ThomasT schrieb:
> Hat noch jemand eine Idee?

ISP-Speed zu hoch?

von bingo (Gast)


Lesenswert?

> SCK period      : 0.1 us

Gruss B.

von ThomasT (Gast)


Lesenswert?

aaarrgghh ... da war doch was ... ;)

Funktioniert jetzt. Danke.

Gruß,
Thomas

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.