Sveiki
problema: su usbtinyISP v2.0 (usb) negaliu uzprogramuot Atmega32a- PU
Programatoriu Avrdude mato ir Win7(x32) ir ubuntu, todel sprendziu kad
problema pajungime:
1. Naudoju usb maitinima atmegai32
2. Internete pilnas komosas apie Avcc ir Aref pajungima (bandziau ir abu
sujungt i +, ir aref per kondika i pliusa, nifiga)
3. Kvarcas vidinis po defaultu turetu veikti su Atiny?
4. Reseta kazkodel kiti per varza i pliusa prijungia.
5. GiveIO draiveriai yra.
Atmega nauja, 5voltai maitinime yra. Niekaip nesuprantu kaip pajungt nauja
krakajoba prie programatoriaus.
Klausimas:
1. Kokia programuojamos dalies schema?
2. Gal spjauti i ta programatoriu ir pasidaryti kita?
3. Kas gali uzprograminti atmega32A U?
klausiu del to kad avrdude neranda programuojamo cipo, AVR STudio kiek zinau
palaiko si programatoriu su kazkokiais fintais, nesigilinau.
dekui uz mintis.
t
cia avrdudo(win32) informacija:
C:\WinAVR\bin>avrdude -c usbtiny -p m32 -P usb -U
lfuse:w:0b11101111:m -F -vvvv
avrdude: Version 5.11-Patch#7610, compiled on Aug 31 2011 at 08:02:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\WinAVR\bin\avrdude.conf"
Using Port : usb
Using Programmer : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device:
bus-0:\\.\libusb0-0001--0x
1781-0x0c9f
AVR Part : ATMEGA32
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 64 0 no 1024 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 64 0 yes 32768 128 256 4500
45
00 0xff 0xff
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 2000
20
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 2000
20
00 0x00 0x00
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 2000
20
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 : USBtiny
Description : USBtiny simple USB programmer,
http://www.ladyada.net
/make/usbtinyisp/
avrdude: programmer operation not supported
avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [00 00 00 00]
CMD: [ac 53 00 00] [00 00 00 00]
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA32 is 1E 95 02
avrdude done. Thank you.
C:\WinAVR\bin>