Forum: Mikrocontroller und Digitale Elektronik Problem mit mySmartUSB light


von Markus M. (mmax)


Lesenswert?

Hallo,

Nachdem mein Programmer (UAB AVR Lab) leider den Geist aufgegen hat, hab 
ich mir den mySmartUSB light geholt. leider kommt er bei meinem Programm 
nicht ueber die 45% (das ist immer so) hinaus. Hier mein output von 
avrdude:
1
/usr/local/arduino-1.0.5/hardware/tools/avrdude -C /usr/local/arduino-1.0.5/hardware/tools/avrdude.conf -F -patmega328p -cavrispmkII -P/dev/ttyUSB0 -Uflash:w:dist/Debug/Arduino-Linux-x86/firmware.hex:i
2
3
avrdude: AVR device initialized and ready to accept instructions
4
5
Reading | ################################################## | 100% 0.01s
6
7
avrdude: Device signature = 0x1e950f
8
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
9
         To disable this feature, specify the -D option.
10
avrdude: erasing chip
11
avrdude: reading input file "dist/Debug/Arduino-Linux-x86/firmware.hex"
12
avrdude: writing flash (20000 bytes):
13
14
Writing | #######################                            | 45% 2.80savrdude: stk500v2_ReceiveMessage(): timeout
15
Writing | #######################                            | 46% 7.04savrdude: stk500v2_ReceiveMessage(): timeout
16
Writing | ########################                           | 48% 11.29savrdude: stk500v2_ReceiveMessage(): timeout
17
Writing | #########################                          | 49% 15.52savrdude: stk500v2_ReceiveMessage(): timeout
18
Writing | #########################                          | 50% 19.76savrdude: stk500v2_ReceiveMessage(): timeout
19
Writing | ##########################                         | 51% 23.98savrdude: stk500v2_ReceiveMessage(): timeout
20
Writing | ###########################                        | 53% 28.23savrdude: stk500v2_ReceiveMessage(): timeout
21
Writing | ###########################                        | 54% 32.46savrdude: stk500v2_ReceiveMessage(): timeout
22
Writing | ############################                       | 55% 36.68savrdude: stk500v2_ReceiveMessage(): timeout
23
Writing | ############################                       | 56% 40.92savrdude: stk500v2_ReceiveMessage(): timeout
24
Writing | #############################                      | 58% 45.17savrdude: stk500v2_ReceiveMessage(): timeout
25
Writing | ##############################                     | 59% 49.40savrdude: stk500v2_ReceiveMessage(): timeout
26
Writing | ##############################                     | 60% 53.62savrdude: stk500v2_ReceiveMessage(): timeout
27
Writing | ###############################                    | 62% 57.87savrdude: stk500v2_ReceiveMessage(): timeout
28
Writing | ################################                   | 63% 62.11savrdude: stk500v2_ReceiveMessage(): timeout
29
Writing | ################################                   | 64% 66.33savrdude: stk500v2_ReceiveMessage(): timeout
30
Writing | #################################                  | 65% 70.56savrdude: stk500v2_ReceiveMessage(): timeout
31
Writing | ##################################                 | 67% 74.81savrdude: stk500v2_ReceiveMessage(): timeout
32
Writing | ##################################                 | 68% 79.05savrdude: stk500v2_ReceiveMessage(): timeout
33
Writing | ###################################                | 69% 83.27savrdude: stk500v2_ReceiveMessage(): timeout
34
Writing | ###########################################        | 85% 88.15savrdude: stk500v2_ReceiveMessage(): timeout
35
Writing | ############################################       | 87% 92.47savrdude: stk500v2_ReceiveMessage(): timeout
36
Writing | ############################################       | 88% 96.71savrdude: stk500v2_ReceiveMessage(): timeout
37
Writing | #############################################      | 89% 100.94savrdude: stk500v2_ReceiveMessage(): timeout
38
Writing | #############################################      | 90% 105.16savrdude: stk500v2_ReceiveMessage(): timeout
39
Writing | ##############################################     | 92% 109.41savrdude: stk500v2_ReceiveMessage(): timeout
40
Writing | ###############################################    | 93% 113.65savrdude: stk500v2_ReceiveMessage(): timeout
41
Writing | ###############################################    | 94% 117.87savrdude: stk500v2_ReceiveMessage(): timeout
42
Writing | ################################################   | 96% 122.12savrdude: stk500v2_ReceiveMessage(): timeout
43
Writing | #################################################  | 97% 126.35savrdude: stk500v2_ReceiveMessage(): timeout
44
Writing | ################################################## | 99% 130.63savrdude: stk500v2_ReceiveMessage(): timeout
45
Writing | ################################################## | 100% 134.86s
46
47
avrdude: 20000 bytes of flash written
48
avrdude: verifying flash memory against dist/Debug/Arduino-Linux-x86/firmware.hex:
49
avrdude: load data flash data from input file dist/Debug/Arduino-Linux-x86/firmware.hex:
50
avrdude: input file dist/Debug/Arduino-Linux-x86/firmware.hex contains 20000 bytes
51
avrdude: reading on-chip flash data:
52
53
Reading |                                                    | 0% 0.00savrdude: stk500v2_ReceiveMessage(): timeout
54
Reading | ################################################## | 100% 7.74s
55
56
avrdude: verifying ...
57
avrdude: verification error, first mismatch at byte 0x0000
58
         0x69 != 0x00
59
avrdude: verification error; content mismatch
60
61
avrdude: safemode: lfuse changed! Was ff, and is now 0
62
Would you like this fuse to be changed back? [y/n] n
63
avrdude: safemode: hfuse changed! Was d6, and is now 0
64
Would you like this fuse to be changed back? [y/n] n
65
avrdude: safemode: efuse changed! Was 5, and is now 0
66
Would you like this fuse to be changed back? [y/n] n
67
avrdude: safemode: Fuses OK
68
69
avrdude done.  Thank you.
70
71
make: *** [upload] Fehler 1
72
73
RUN FINISHED; exit value 2; real time: 3m 42s; user: 210ms; system: 60ms

Hat jemand eine Idee?

Danke,
Max

von Markus M. (mmax)


Lesenswert?

Benutzt denn sonst jemand den Programmer und kann mir sagen wie er 
avrdude aufruft? Oder ob man was in der avrdude.conf eintragen muss.

lG,
Max

von isnah (Gast)


Lesenswert?

Versuch doch mal als -c Option "stk500v2", wie es myAVR empfiehlt. Und 
vorallem schau im avrdude-Manual nach, denn für stk500-kompatible 
Programmer gibt es einige mögliche Timingeinstellungen.

von Fredy (Gast)


Lesenswert?

ich hab folgendes eingetragen:
-u B %clk -C %home\avrdude.conf -p atmega328p -P com6 -c stk500 -U 
flash:w:"%hex":a

von Markus M. (mmax)


Lesenswert?

@isnah: Hab den Programmertyp schon probiert, aber leider ohne Erfolg. 
Ach andere optionen bringen nichts

@Fredy: Danke, und bei dir funktioniert er ohne Probleme?

Also ich arbeite ja unter Linux und hab deshalb das Kernelmodul (den 
Treiber) cp210x nachinstallieren muessen. Also entweder macht der 
Probleme (mach grad ein Kernel update), die Firmware des Programmers ist 
nicht up2date (wie kann ich die updaten?) oder er ist einfach kaputt.

Auf jeden Fall muss ich mir was einfallen, da ich an meinem Projekt 
weiter arbeiten muss :-(

lg,
Max

von Markus M. (mmax)


Lesenswert?

EEPROM auslesen funktioniert:
1
~$ avrdude -C/etc/avrdude.conf -patmega328p -cstk500v2 -P/dev/ttyUSB0 -v -v -Ueeprom:r:/tmp/eeprom.txt:r
2
3
avrdude: Version 5.11.1, compiled on Mar 24 2013 at 01:32:50
4
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
5
         Copyright (c) 2007-2009 Joerg Wunsch
6
7
         System wide configuration file is "/etc/avrdude.conf"
8
         User configuration file is "/home/mmax/.avrduderc"
9
10
         Using Port                    : /dev/ttyUSB0
11
         Using Programmer              : stk500v2
12
         AVR Part                      : ATMEGA328P
13
         Chip Erase delay              : 9000 us
14
         PAGEL                         : PD7
15
         BS2                           : PC2
16
         RESET disposition             : dedicated
17
         RETRY pulse                   : SCK
18
         serial program mode           : yes
19
         parallel program mode         : yes
20
         Timeout                       : 200
21
         StabDelay                     : 100
22
         CmdexeDelay                   : 25
23
         SyncLoops                     : 32
24
         ByteDelay                     : 0
25
         PollIndex                     : 3
26
         PollValue                     : 0x53
27
         Memory Detail                 :
28
29
                                  Block Poll               Page                       Polled
30
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
31
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
32
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
33
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
34
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
35
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
36
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
37
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
38
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
39
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
40
41
         Programmer Type : STK500V2
42
         Description     : Atmel STK500 Version 2.x firmware
43
         Programmer Model: STK500
44
         Hardware Version: 3
45
         Firmware Version Master : 2.10
46
         Topcard         : Unknown
47
         Vtarget         : 0.0 V
48
         SCK period      : 3.3 us
49
         Varef           : 0.0 V
50
         Oscillator      : Off
51
52
avrdude: AVR device initialized and ready to accept instructions
53
54
Reading | ################################################## | 100% 0.01s
55
56
avrdude: Device signature = 0x1e950f
57
avrdude: safemode: lfuse reads as FF
58
avrdude: safemode: hfuse reads as D6
59
avrdude: safemode: efuse reads as 5
60
avrdude: reading eeprom memory:
61
62
Reading | ################################################## | 100% 0.18s
63
64
avrdude: writing output file "/tmp/eeprom.txt"
65
66
avrdude: safemode: lfuse reads as FF
67
avrdude: safemode: hfuse reads as D6
68
avrdude: safemode: efuse reads as 5
69
avrdude: safemode: Fuses OK
70
71
avrdude done.  Thank you.

Also kann er doch nicht kaputt sein, oder?

von Markus M. (mmax)


Lesenswert?

Ich hab ueber Windows die Firmware nochmal raufgespielt (war eh schon 
die aktuelle drauf) und das hat wunderbar funktioniert, leider hat das 
auch nix gebracht. Update auf einen neue Kernelversion hat auch nix 
gebracht.

Achja, ich hatte ja vorher den "USB AVR Lab" zum proggen und seit SA 
bekomm ich im dmsg folgende Meldung wenn ich ihn anstecke:

1
hub 1-0:1.0: state 7 ports 4 chg 0000 evt 0002
2
ehci-pci 0000:00:1a.7: GetStatus port:1 status 001403 0  ACK POWER sig=k CSC CONNECT
3
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
4
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
5
ehci-pci 0000:00:1a.7: port 1 low speed --> companion
6
ehci-pci 0000:00:1a.7: GetStatus port:1 status 003002 0  ACK POWER OWNER sig=se0 CSC
7
hub 1-0:1.0: state 7 ports 4 chg 0000 evt 0002
8
ehci-pci 0000:00:1a.7: GetStatus port:1 status 003002 0  ACK POWER OWNER sig=se0 CSC
9
hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
10
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
11
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
12
uhci_hcd 0000:00:1a.0: port 1 portsc 01a3,00
13
hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
14
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
15
usb 3-1: new low-speed USB device number 3 using uhci_hcd
16
usb 3-1: uhci_result_common: failed with status 440000
17
usb 3-1: uhci_result_common: failed with status 440000
18
usb 3-1: uhci_result_common: failed with status 440000
19
usb 3-1: device descriptor read/64, error -71
20
usb 3-1: uhci_result_common: failed with status 440000
21
usb 3-1: uhci_result_common: failed with status 440000
22
usb 3-1: uhci_result_common: failed with status 440000
23
usb 3-1: device descriptor read/64, error -71
24
usb 3-1: new low-speed USB device number 4 using uhci_hcd
25
usb 3-1: uhci_result_common: failed with status 440000
26
usb 3-1: uhci_result_common: failed with status 440000
27
usb 3-1: uhci_result_common: failed with status 440000
28
usb 3-1: device descriptor read/64, error -71
29
usb 3-1: uhci_result_common: failed with status 440000
30
usb 3-1: uhci_result_common: failed with status 440000
31
usb 3-1: uhci_result_common: failed with status 440000
32
usb 3-1: device descriptor read/64, error -71
33
usb 3-1: new low-speed USB device number 5 using uhci_hcd
34
usb 3-1: uhci_result_common: failed with status 440000
35
usb 3-1: uhci_result_common: failed with status 440000
36
usb 3-1: device not accepting address 5, error -71
37
usb 3-1: new low-speed USB device number 6 using uhci_hcd
38
usb 3-1: uhci_result_common: failed with status 440000
39
usb 3-1: uhci_result_common: failed with status 440000
40
usb 3-1: device not accepting address 6, error -71
41
hub 3-0:1.0: unable to enumerate USB device on port 1

Vielleicht kann man den wieder zum leben erwecken (im Moment tut er gar 
nix mehr)? Also hab ich jetzt zwei Programmer hier die nicht 
funktionieren, zipft mich a bisserl an.

von René B. (reneb)


Lesenswert?

Doch nicht die passende Clock konfiguriert?
Eventuell noch die Option -B4 hinzufügen, dann programmiert er langsamer 
mit 250k, was bei 1MHz effektiver Clock (internet RC mit 8er Teiler) 
noch funktionieren sollte.

von Markus M. (mmax)


Lesenswert?

Also kleine Files gehen:

1
mmax@ltmax:~$ avrdude -C/etc/avrdude.conf -patmega328p -cstk500v2 -P/dev/ttyUSB0 -B4 -D -V -Uflash:w:/tmp/build7945398022543154188.tmp/Blink.cpp.hex:i
2
3
avrdude: AVR device initialized and ready to accept instructions
4
5
Reading | ################################################## | 100% 0.01s
6
7
avrdude: Device signature = 0x1e950f
8
avrdude: reading input file "/tmp/build7945398022543154188.tmp/Blink.cpp.hex"
9
avrdude: writing flash (2562 bytes):
10
11
Writing | ################################################## | 100% 0.80s
12
13
avrdude: 2562 bytes of flash written
14
15
avrdude: safemode: Fuses OK
16
17
avrdude done.  Thank you.

Bei grossen gibts wieder das timing Problem:

1
avrdude -C/etc/avrdude.conf -patmega328p -cstk500v2 -P/dev/ttyUSB0 -B4 -D -V -Uflash:w:/tmp/firmware.hex:i
2
3
avrdude: AVR device initialized and ready to accept instructions
4
5
Reading | ################################################## | 100% 0.01s
6
7
avrdude: Device signature = 0x1e950f
8
avrdude: reading input file "/tmp/firmware.hex"
9
avrdude: writing flash (20000 bytes):
10
11
Writing |                                                    | 0% 0.00savrdude: stk500v2_ReceiveMessage(): timeout
12
Writing | #                                                  | 1% 4.26savrdude: stk500v2_ReceiveMessage(): timeout
13
Writing | ##                                                 | 3% 8.51savrdude: stk500v2_ReceiveMessage(): timeout
14
Writing | ##                                                 | 4% 12.75savrdude: stk500v2_ReceiveMessage(): timeout
15
Writing | ###                                                | 5% 16.97savrdude: stk500v2_ReceiveMessage(): timeout
16
Writing | ####                                               | 7% 21.22savrdude: stk500v2_ReceiveMessage(): timeout
17
Writing | ####                                               | 8% 25.45savrdude: stk500v2_ReceiveMessage(): timeout
18
Writing | #####                                              | 9% 29.69savrdude: stk500v2_ReceiveMessage(): timeout
19
Writing | #####                                              | 10% 33.91savrdude: stk500v2_ReceiveMessage(): timeout
20
Writing | ######                                             | 12% 38.17savrdude: stk500v2_ReceiveMessage(): timeout
21
Writing | #######                                            | 13% 42.40savrdude: stk500v2_ReceiveMessage(): timeout
22
Writing | #######                                            | 14% 46.62savrdude: stk500v2_ReceiveMessage(): timeout
23
Writing | ########                                           | 16% 50.87savrdude: stk500v2_ReceiveMessage(): timeout
24
Writing | #########                                          | 17% 55.11savrdude: stk500v2_ReceiveMessage(): timeout
25
Writing | #########                                          | 18% 59.34savrdude: stk500v2_ReceiveMessage(): timeout
26
Writing | ##########                                         | 19% 63.56savrdude: stk500v2_ReceiveMessage(): timeout
27
Writing | ###########                                        | 21% 67.81savrdude: stk500v2_ReceiveMessage(): timeout
28
Writing | ###########                                        | 22% 72.05savrdude: stk500v2_ReceiveMessage(): timeout
29
Writing | ############                                       | 23% 76.27savrdude: stk500v2_ReceiveMessage(): timeout
30
Writing | ############                                       | 24% 80.51savrdude: stk500v2_ReceiveMessage(): timeout
31
Writing | ################################################## | 100% 89.29s
32
33
avrdude: 20000 bytes of flash written
34
35
avrdude: safemode: Fuses OK
36
37
avrdude done.  Thank you.

Wobeis in dem Fall auch funktioniert hat, nur sehr langsam.

von Winfried J. (Firma: Nisch-Aufzüge) (winne) Benutzerseite


Lesenswert?

Der SMart USB läuft mit der Einstellung als AVRProg (AVR910)
Ich benutze ihn mit CVAVR dort geht er einwandfrei und ist mein 
Standardprogrammer

Namaste

von Markus M. (mmax)


Lesenswert?

Leider kann man mit der AVR910 Firmware keinen ATmega328p proggen ... 
sagt zumindestens avrdude.

von Markus M. (mmax)


Lesenswert?

So, ich gebs auf!

Nachdem mit den Tools "Support Box" und "myAVR ProgTool", die direkt vom 
Hersteller myAVR.de stammen, auch nicht (vernuenftig) funktioniert, gehe 
ich davon aus das mein Programmer einen (Dach-)Schaden hat. Werd also 
morgen wieder ins Geschaeft fahren und versuchen ihn umzutauschen.

Stellt sich nur die Frage ob ich wieder einen "mySmartUSB Light" nehmen 
soll oder gleich einen "AVRISP mkII" ... bringt mir der mehr? Debuggen 
kann damit ja auch nicht.

lG,
Max

von Frank K. (fchk)


Lesenswert?

Markus Manninger schrieb:

> Stellt sich nur die Frage ob ich wieder einen "mySmartUSB Light" nehmen
> soll oder gleich einen "AVRISP mkII" ... bringt mir der mehr? Debuggen
> kann damit ja auch nicht.

Das Original funktioniert wenigstens zuverlässig.

fchk

von Fredy (Gast)


Lesenswert?

Hi Max,

ja habe ein paar im Einsatz und laufen ohne Probleme, allerdings unter 
Windows und mit STK500 Firmware. Umtauschen, vielleicht hat er ne 
Make...

von isnah (Gast)


Lesenswert?

Ist das Absicht:
hfuse reads as D6 (BOORST programmiert)?
http://www.google.de/#bav=on.2,or.r_qf.&cad=b&fp=1&q=atmega328
Seite 297

von Markus M. (mmax)


Lesenswert?

Hallo nochmal,

Ich war heute beim Conrad um den Progger umzutauschen und hab zur 
Sicherheit meinen Laptop inkl. Arduino Board zum testen mitgenommen, 
nicht das ich noch einen bekomm der wieder nicht funktioniert. Auf jeden 
Fall wollte ich dem Verkaeuf, kannte sich uebrigens recht gut damit aus, 
gleich mal demonstrieren was das Problem war, steckten den "kaputten" 
MySmartUSB an, startete avrdude via Netbeans und kaum zu glauben ... 
rennt wie ein Gloeckerl! Lief bis zu 100% durch ohne eine timeout oder 
Aehnliches. Und das mehrmals hintereinander.

Der einzige Unterschied war, das ich beim Conrad mein Notebook nicht am 
Netz angesteckt hatte und zu Hause natuerlich schon, und da wird wohl 
irgendwo der Hund begraben sein. Irgendwie gibts bei mir in der Wohnung 
so eine starke Stoerquelle, oder das Notebook selbst, die der Progger 
einfach nicht mag, selbst wenn ich ihn an einem anderen Notebook (wie 
ich gestern getestet hatte) anschliesse, das nur eine Steckdose weiter 
haengt.

So, jetzt werd ich mich mal auf die Suche nach der Ursache machen!

lG,
Max

von Franzi M. (famont)


Lesenswert?

# avrdude -c stk500 -p m328p -P /dev/ttyUSB0 -v -F

avrdude: Version 5.11.1, compiled on Oct 18 2011 at 21:41:15
         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 "/root/.avrduderc"
         User configuration file does not exist or is not a regular 
file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : stk500
         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
         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_command(): command failed
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA328P is 1E 95 0F

avrdude done.  Thank you.

Wie bekomme ich das ding wieder zum laufen

von g457 (Gast)


Lesenswert?

> Wie bekomme ich das ding wieder zum laufen

Keine alten Freds ausgraben sondern einen eigenen aufmachen.

von Franzi M. (famont)


Lesenswert?

Also nach langen hin und her habe ich das mal probiert und lief ohne 
probleme
avrdude -c stk500pp -p m328p -P /dev/ttyUSB0 -v -F


avrdude -c stk500pp -p m328p -P /dev/ttyUSB0 -v -F

avrdude: Version 5.11.1, compiled on Oct 18 2011 at 21:41:15
         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 "/root/.avrduderc"
         User configuration file does not exist or is not a regular 
file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : stk500pp
         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 : STK500PP
         Description     : Atmel STK500 V2 in parallel programming mode
         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% 
2.91s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA328P is 1E 95 14
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0

avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: Fuses OK

avrdude done.  Thank you.

Sieht doch gut aus oder ?

ich habe stk500 mit stk500pp ersätzt jetzt möchte ich den bootloader neu 
drauf spielen Atmel328P kann mir jemand ein tip geben Bitte

: Bearbeitet durch User
von g457 (Gast)


Lesenswert?

> Sieht doch gut aus oder ?

Mach bitte einen eigenen Fred auf, Leichenfledderei wird hier nicht 
gerne gesehen.

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.