tbasnoopy
25.12.2011, 23:33
Hallo Leute,
ich bin gerade dabei meinen Mega16 (http://www.reichelt.de/Atmel-ATMega-AVRs/ATMEGA-16-16-DIP/index.html?ACTION=3&GROUPID=2959&ARTICLE=45028&SHOW=1&START=0&OFFSET=500&) zu Programmieren. Dies versuche ich mit dem Diamex Programmer (http://www.reichelt.de/Programmer-Entwicklungstools/DIAMEX-ALL-AVR/index.html?ACTION=3&GROUPID=5100&ARTICLE=110345&SHOW=1&START=0&OFFSET=500& ).
Nachdem ich den ISP in meiner komplexen Schaltung verwendet habe und nichts ging habe ich schnell einen Testaufbau zum Programmieren (siehe Anhang) gebaut. Das Ergebniss war das gleiche => nichts...
avrdude -P usb -p m16 -c avrispmkII -vvvv
avrdude: Version 5.5, compiled on Oct 24 2009 at 12:36:57
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/opt/cross/etc/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skippi ng
Using Port : usb
Using Programmer : avrispmkII
avrdude: usbdev_open(): Found ERFOS AVRISP MkII Clone, serno: 0000A00128255
avrdude: Sent: . [01]
avrdude: Recv: . [01] . [00] . [0a] A [41] V [56] R [52] I [49] S [53] P [50] _ [5f] M [4d] K [4b] 2 [32]
avrdude: stk500v2_getsync(): found AVRISP mkII programmer
AVR Part : ATMEGA16
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
eeprom 4 10 128 0 no 512 4 0 9000 90 00 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
flash 33 6 128 0 yes 16384 128 128 4500 45 00 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
lock 0 0 0 0 no 1 0 0 9000 90 00 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
lfuse 0 0 0 0 no 1 0 0 9000 90 00 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
hfuse 0 0 0 0 no 1 0 0 9000 90 00 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel AVR ISP mkII
Programmer Model: AVRISP mkII
avrdude: Sent: . [03] . [90]
avrdude: Recv: . [03] . [00] . [00]
avrdude: Sent: . [03] . [91]
avrdude: Recv: . [03] . [00] . [01]
avrdude: Sent: . [03] . [92]
avrdude: Recv: . [03] . [00] . [0d]
Hardware Version: 0
Firmware Version: 1.13
avrdude: Sent: . [03] . [94]
avrdude: Recv: . [03] . [00] 0 [30]
Vtarget : 4.8 V
avrdude: Sent: . [03] . [98]
avrdude: Recv: . [03] . [00] . [06]
SCK period : 8.00 us
avrdude: Sent: . [10] . [c8] d [64] . [19] [20] . [00] S [53] . [03] . [ac] S [53] . [06] . [08]
avrdude: Recv: . [10] . [c0]
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: Sent: . [11] . [01] . [01]
avrdude: Recv: . [11] . [00]
avrdude done. Thank you.
Koenntet Ihr meinen Schltplan (siehe Anhang) kontrollieren?
Die Verbindungen habe ich alle auf Durchgang geprueft.
Habt ihr noch Ideen woran es liegen koennte?
P.S. ich habe es unter windows und linux versucht. Jeweils die selbe Ausgabe.
ich bin gerade dabei meinen Mega16 (http://www.reichelt.de/Atmel-ATMega-AVRs/ATMEGA-16-16-DIP/index.html?ACTION=3&GROUPID=2959&ARTICLE=45028&SHOW=1&START=0&OFFSET=500&) zu Programmieren. Dies versuche ich mit dem Diamex Programmer (http://www.reichelt.de/Programmer-Entwicklungstools/DIAMEX-ALL-AVR/index.html?ACTION=3&GROUPID=5100&ARTICLE=110345&SHOW=1&START=0&OFFSET=500& ).
Nachdem ich den ISP in meiner komplexen Schaltung verwendet habe und nichts ging habe ich schnell einen Testaufbau zum Programmieren (siehe Anhang) gebaut. Das Ergebniss war das gleiche => nichts...
avrdude -P usb -p m16 -c avrispmkII -vvvv
avrdude: Version 5.5, compiled on Oct 24 2009 at 12:36:57
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/opt/cross/etc/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skippi ng
Using Port : usb
Using Programmer : avrispmkII
avrdude: usbdev_open(): Found ERFOS AVRISP MkII Clone, serno: 0000A00128255
avrdude: Sent: . [01]
avrdude: Recv: . [01] . [00] . [0a] A [41] V [56] R [52] I [49] S [53] P [50] _ [5f] M [4d] K [4b] 2 [32]
avrdude: stk500v2_getsync(): found AVRISP mkII programmer
AVR Part : ATMEGA16
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
eeprom 4 10 128 0 no 512 4 0 9000 90 00 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
flash 33 6 128 0 yes 16384 128 128 4500 45 00 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
lock 0 0 0 0 no 1 0 0 9000 90 00 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
lfuse 0 0 0 0 no 1 0 0 9000 90 00 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
hfuse 0 0 0 0 no 1 0 0 9000 90 00 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel AVR ISP mkII
Programmer Model: AVRISP mkII
avrdude: Sent: . [03] . [90]
avrdude: Recv: . [03] . [00] . [00]
avrdude: Sent: . [03] . [91]
avrdude: Recv: . [03] . [00] . [01]
avrdude: Sent: . [03] . [92]
avrdude: Recv: . [03] . [00] . [0d]
Hardware Version: 0
Firmware Version: 1.13
avrdude: Sent: . [03] . [94]
avrdude: Recv: . [03] . [00] 0 [30]
Vtarget : 4.8 V
avrdude: Sent: . [03] . [98]
avrdude: Recv: . [03] . [00] . [06]
SCK period : 8.00 us
avrdude: Sent: . [10] . [c8] d [64] . [19] [20] . [00] S [53] . [03] . [ac] S [53] . [06] . [08]
avrdude: Recv: . [10] . [c0]
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: Sent: . [11] . [01] . [01]
avrdude: Recv: . [11] . [00]
avrdude done. Thank you.
Koenntet Ihr meinen Schltplan (siehe Anhang) kontrollieren?
Die Verbindungen habe ich alle auf Durchgang geprueft.
Habt ihr noch Ideen woran es liegen koennte?
P.S. ich habe es unter windows und linux versucht. Jeweils die selbe Ausgabe.