Witam. Mam problem z atmega8. Podłączyłem na chwile na odwrót zasilanie, ale szybko to zauważyłem i poprawiłem. Teraz w avrdude dostaje to
Kod:
avrdude.exe: set SCK frequency to 2000 Hz
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude.exe: Device signature = 0xffffff
avrdude.exe: Yikes! Invalid device signature.
avrdude.exe: Expected signature for ATMEGA8 is 1E 93 07
avrdude.exe: reading signature memory:
Reading | ################################################## | 100% 0.06s
avrdude.exe: writing output file "C:\Users\Krecik\Documents\mkAVRCalculator\sig_tmp.hex"
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.
O dziwo program w mikrokontrolerze działał. Spróbowałem polecenia
Kod:
C:/>avrdude -c usbasp -p m8 -e -F
I zadziałało, program który wcześniej działał już nie działa (tak wiem masło maślane). No to kombinując dalej doszedłem do terminala gdzie wyczytałem to
Kod:
AVR Part : ATMEGA8
Chip Erase delay : 10000 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 4 20 128 0 no 512 4 0 9000 9000 0xff 0xff
flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Tak to wygląda na płytce stykowej

Oznaczenia
Czerwony - vcc
Biały - gnd
Czarny - sck
Zielony - miso
Zółty - mosi
Pomarańczowy - reset
Niebieskie - zasilanie z programatora 5V
EDIT.
Kondensatory to elektrolityczny 4,7 uF i ceramiczny 100 nF
Pytanie moje brzmi czy coś jeszcze będzie z tego mikrokontrolera ??