Forum: Compiler & IDEs ISP Programmer


von Uli (Gast)


Lesenswert?

Hallo!

Ich bin Anfänger und habe ein Problem, vielleicht könnt Ihr mir helfen.

Hier mein System: WinXP, avrdude Vers. 5.11, Diamex DX-ISP an COM4; 
Burn-o-Mat Vers. 2.1.1

Ich würde gerne einen ATMega8 mit einer .hex Datei bestücken, leider 
gibt der Burn-o-mat immer Fehler aus:
1
avrdude.exe: AVR device initialized and ready to accept instructions
2
3
Reading | ################################################## | 100% 0.02s
4
5
avrdude.exe: Device signature = 0x1e9307
6
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
7
             To disable this feature, specify the -D option.
8
avrdude.exe: current erase-rewrite cycle count is 1114113 (if being tracked)
9
avrdude.exe: erasing chip
10
avrdude.exe: reading input file "C:\wordclock_mega8.hex"
11
avrdude.exe: input file C:\wordclock_mega8.hex auto detected as Intel Hex
12
avrdude.exe: writing flash (8188 bytes):
13
14
Writing | avrdude.exe: stk500v2_command(): warning: Command timed out
15
avrdude.exe: stk500v2_command(): warning: Command timed out
16
#avrdude.exe: stk500v2_command(): warning: Command timed out
17
avrdude.exe: stk500v2_command(): warning: Command timed out
18
avrdude.exe: stk500v2_command(): warning: Command timed out
19
#avrdude.exe: stk500v2_command(): warning: Command timed out
20
#avrdude.exe: stk500v2_command(): warning: Command timed out
21
avrdude.exe: stk500v2_command(): warning: Command timed out
22
avrdude.exe: stk500v2_command(): warning: Command timed out
23
##avrdude.exe: stk500v2_command(): warning: Command timed out
24
avrdude.exe: stk500v2_command(): warning: Command timed out
25
#avrdude.exe: stk500v2_command(): warning: Command timed out
26
#avrdude.exe: stk500v2_command(): warning: Command timed out
27
avrdude.exe: stk500v2_command(): warning: Command timed out
28
#avrdude.exe: stk500v2_command(): warning: Command timed out
29
avrdude.exe: stk500v2_command(): warning: Command timed out
30
avrdude.exe: stk500v2_command(): warning: Command timed out
31
#avrdude.exe: stk500v2_command(): warning: Command timed out
32
#avrdude.exe: stk500v2_command(): warning: Command timed out
33
avrdude.exe: stk500v2_command(): warning: Command timed out
34
#avrdude.exe: stk500v2_command(): warning: Command timed out
35
avrdude.exe: stk500v2_command(): warning: Command timed out
36
#avrdude.exe: stk500v2_command(): warning: Command timed out
37
##avrdude.exe: stk500v2_command(): warning: Command timed out
38
avrdude.exe: stk500v2_command(): warning: Command timed out
39
#avrdude.exe: stk500v2_command(): warning: Command timed out
40
#avrdude.exe: stk500v2_command(): warning: Command timed out
41
avrdude.exe: stk500v2_command(): warning: Command timed out
42
#avrdude.exe: stk500v2_command(): warning: Command timed out
43
avrdude.exe: stk500v2_command(): warning: Command timed out
44
#avrdude.exe: stk500v2_command(): warning: Command timed out
45
avrdude.exe: stk500v2_command(): warning: Command timed out
46
#avrdude.exe: stk500v2_command(): warning: Command timed out
47
avrdude.exe: stk500v2_command(): warning: Command timed out
48
avrdude.exe: stk500v2_command(): warning: Command timed out
49
#avrdude.exe: stk500v2_command(): warning: Command timed out
50
#avrdude.exe: stk500v2_command(): warning: Command timed out
51
avrdude.exe: stk500v2_command(): warning: Command timed out
52
#avrdude.exe: stk500v2_command(): warning: Command timed out
53
#avrdude.exe: stk500v2_command(): warning: Command timed out
54
avrdude.exe: stk500v2_command(): warning: Command timed out
55
#avrdude.exe: stk500v2_command(): warning: Command timed out
56
#avrdude.exe: stk500v2_command(): warning: Command timed out
57
#avrdude.exe: stk500v2_command(): warning: Command timed out
58
##avrdude.exe: stk500v2_command(): warning: Command timed out
59
avrdude.exe: stk500v2_command(): warning: Command timed out
60
##avrdude.exe: stk500v2_command(): warning: Command timed out
61
avrdude.exe: stk500v2_command(): warning: Command timed out
62
##avrdude.exe: stk500v2_command(): warning: Command timed out
63
####avrdude.exe: stk500v2_command(): warning: Command timed out
64
avrdude.exe: stk500v2_command(): warning: Command timed out
65
######avrdude.exe: stk500v2_command(): warning: Command timed out
66
####avrdude.exe: stk500v2_command(): warning: Command timed out
67
#### | 100% 6.84s
68
69
avrdude.exe: 8188 bytes of flash written
70
avrdude.exe: verifying flash memory against C:\wordclock_mega8.hex:
71
avrdude.exe: load data flash data from input file C:\wordclock_mega8.hex:
72
avrdude.exe: input file C:\wordclock_mega8.hex auto detected as Intel Hex
73
avrdude.exe: input file C:\wordclock_mega8.hex contains 8188 bytes
74
avrdude.exe: reading on-chip flash data:
75
76
Reading | ################################################## | 100% 1.47s
77
78
avrdude.exe: verifying ...
79
avrdude.exe: verification error, first mismatch at byte 0x0000
80
             0x77 != 0x72
81
avrdude.exe: verification error; content mismatch
82
83
avrdude.exe done.  Thank you.
---
Beim  der Ausführung in der Eingabeaufforderung kommt das:
1
C:\>avrdude -p m8 -c stk500 -v -P COM4 -v
2
3
avrdude: Version 5.11, compiled on Aug 30 2011 at 10:24:06
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 "C:\WinAVR-20100110\bin\avrdude.conf"
8
9
         Using Port                    : COM4
10
         Using Programmer              : stk500
11
         AVR Part                      : ATMEGA8
12
         Chip Erase delay              : 10000 us
13
         PAGEL                         : PD7
14
         BS2                           : PC2
15
         RESET disposition             : dedicated
16
         RETRY pulse                   : SCK
17
         serial program mode           : yes
18
         parallel program mode         : yes
19
         Timeout                       : 200
20
         StabDelay                     : 100
21
         CmdexeDelay                   : 25
22
         SyncLoops                     : 32
23
         ByteDelay                     : 0
24
         PollIndex                     : 3
25
         PollValue                     : 0x53
26
         Memory Detail                 :
27
28
                                  Block Poll               Page                       Polled
29
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
30
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
31
           eeprom         4    20   128    0 no        512    4      0  9000  9000 0xff 0xff
32
           flash         33    10    64    0 yes      8192   64    128  4500  4500 0xff 0x00
33
           lfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00
34
           hfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00
35
           lock           0     0     0    0 no          1    0      0  2000  2000 0x00 0x00
36
           calibration    0     0     0    0 no          4    0      0     0     0 0x00 0x00
37
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
38
39
         Programmer Type : STK500V2
40
         Description     : Atmel STK500
41
         Programmer Model: STK500
42
         Hardware Version: 10
43
         Firmware Version Master : 2.10
44
avrdude: stk500v2_command(): command failed
45
avrdude: stk500v2_getparm(): failed to get parameter 0x9a
46
         Topcard         : Unknown
47
         Vtarget         : 5.0 V
48
         SCK period      : 2.2 us
49
         Varef           : 5.0 V
50
         Oscillator      : Off
51
52
avrdude: AVR device initialized and ready to accept instructions
53
54
Reading | ################################################## | 100% 0.00s
55
56
avrdude: Device signature = 0x1e9307
57
avrdude: safemode: Verify error - unable to read lfuse properly. Programmer may not be reliable.
58
avrdude: safemode: To protect your AVR the programming will be aborted
59
60
avrdude done.  Thank you.
61
62
63
C:\>
Was mache ich hier falsch?

: Bearbeitet durch User
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.