Hallo,
ich bin kompletter Neuling in dem Gebiet und versuche jetzt das
AVR-Tutorial durch zu arbeiten. Ich habe das Forum schon durchsucht,
komme aber seit ein paar Tagen nicht weiter.
Ich versuche den Schaltplan
http://www.mikrocontroller.net/articles/Bild:Mega8_Tutorial.png um zu
setzen um einen Atmega8L8 programmieren zu können.
Leider bekomme ich keine Verbindung hin. Im Dateianhang habe ich Fotos
vom Aufbau.
5V habe ich im Netzteil eingestellt.
Die Ausgabe von Avrdude:
1 | $ avrdude -p m8 -n -P usb -v -c avrispmkii
|
2 |
|
3 | avrdude: Version 5.6, compiled on Apr 15 2009 at 17:54:59
|
4 | Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
|
5 |
|
6 | System wide configuration file is "/usr/local/CrossPack-AVR-20090415/etc/avrdude.conf"
|
7 | User configuration file is "/Users/gordon/.avrduderc"
|
8 | User configuration file does not exist or is not a regular file, skipping
|
9 |
|
10 | Using Port : usb
|
11 | Using Programmer : avrispmkii
|
12 | avrdude: usbdev_open(): Found AVRISP mkII, serno: 000200006227
|
13 | AVR Part : ATMEGA8
|
14 | Chip Erase delay : 10000 us
|
15 | PAGEL : PD7
|
16 | BS2 : PC2
|
17 | RESET disposition : dedicated
|
18 | RETRY pulse : SCK
|
19 | serial program mode : yes
|
20 | parallel program mode : yes
|
21 | Timeout : 200
|
22 | StabDelay : 100
|
23 | CmdexeDelay : 25
|
24 | SyncLoops : 32
|
25 | ByteDelay : 0
|
26 | PollIndex : 3
|
27 | PollValue : 0x53
|
28 | Memory Detail :
|
29 |
|
30 | Block Poll Page Polled
|
31 | Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
|
32 | ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
|
33 | eeprom 4 20 128 0 no 512 0 0 9000 9000 0xff 0xff
|
34 | flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
|
35 | lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
|
36 | hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
|
37 | lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
|
38 | calibration 0 0 0 0 no 4 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 AVR ISP mkII
|
43 | Programmer Model: AVRISP mkII
|
44 | Hardware Version: 1
|
45 | Firmware Version Master : 1.10
|
46 | Vtarget : 0.0 V
|
47 | SCK period : 8.00 us
|
48 |
|
49 | avrdude: stk500v2_command(): command failed
|
50 | avrdude: stk500v2_command(): unknown status 0xc9
|
51 | avrdude: stk500v2_program_enable(): cannot get connection status
|
52 | avrdude: initialization failed, rc=-1
|
53 | Double check connections and try again, or use -F to override
|
54 | this check.
|
55 |
|
56 |
|
57 | avrdude done. Thank you.
|
An der Stelle: avrdude: usbdev_open(): Found AVRISP mkII, serno:
000200006227 dauert es ungefähr 10 - 15 Sekunden, bis die weitere
Ausgabe kommt. Der AVRISP leuchtet für eine halbe Sekunde rot und dann
wieder grün.
PS:
Gibt es noch andere Tutorials, um Schaltungen bzw. Stromkreise allgemein
zu verstehen?
Irgendwelche Tipps an einen Neuling wie mich? :-)