Hallo,
ich habe die Tage einen AVR ISP mkII bekommen da ich immer wieder auf
Projekte mit Mega8 stosse und diese gerne nachbaun wuerde.
Ich habe mir jetzt die Schaltung aus dem AVR Tutorial hier auf der Seite
nachgebaut, ein zweites mal gecheckt aber zum laufen bekomme ich sie
leider nicht.
Ich versuche unter Linux mit avrdude 5.2 auf den Microcontroller zu zu
greiffen.
"avrdude -c avrisp2 -p m8 -P usb -v -F" bringt als Ausgabe aber
folgendes:
1 | avrdude: Version 5.2, compiled on Nov 8 2006 at 08:19:39
|
2 | Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
|
3 |
|
4 | System wide configuration file is "/etc/avrdude.conf"
|
5 | User configuration file is "/root/.avrduderc"
|
6 | User configuration file does not exist or is not a regular file, skipping
|
7 |
|
8 | Using Port : usb
|
9 | Using Programmer : avrisp2
|
10 | avrdude: usbdev_open(): Found AVRISP mkII, serno: 0000B0015449
|
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 10 128 0 no 512 0 0 9000 9000 0xff 0xff
|
32 | flash 33 6 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 AVR ISP mkII
|
41 | Programmer Model: AVRISP mkII
|
42 | Hardware Version: 1
|
43 | Firmware Version: 1.06
|
44 | Vtarget : 0.0 V
|
45 | SCK period : 953.29 us
|
46 |
|
47 | avrdude: stk500v2_command(): command failed
|
48 | avrdude: initialization failed, rc=-1
|
49 | avrdude: AVR device initialized and ready to accept instructions
|
50 |
|
51 | Reading | ################################################## | 100% 0.11s
|
52 |
|
53 | avrdude: Device signature = 0xffffff
|
54 | avrdude: Yikes! Invalid device signature.
|
55 | avrdude: Expected signature for ATMEGA8 is 1E 93 07
|
56 | avrdude: safemode: lfuse reads as FF
|
57 | avrdude: safemode: hfuse reads as FF
|
58 |
|
59 | avrdude: safemode: lfuse reads as FF
|
60 | avrdude: safemode: hfuse reads as FF
|
61 | avrdude: safemode: Fuses OK
|
62 |
|
63 | avrdude done. Thank you.
|
Wenn ich den Programmierer anstecke leuchtet die LED am USB Port kurz
gruen, die andere LED leuchtet dauerhaft rot.
Wenn avrdude laeuft kommt wieder kurz die gruene, die andere wird
orange, und dann wieder rot. Irgendwie hab ichs auch schon mal
geschafft dass gruen dabei war, die Ausgabe war aber die gleiche.
Was koennte ich probieren um das ganze in Gang zu bringen?