проблема при программировании atmega8a

Обсуждаем контроллеры компании Atmel.
Ответить
Родился
Аватара пользователя
Сообщения: 2
Зарегистрирован: Вс июн 29, 2014 21:53:38

Сообщение awerty »

добрый вечер. возникла недавно проблема в прошивке МК atmega8a через arduino isp в avrdude выдает
СпойлерC:\avr\avrdude.exe -C C:\avr\avrdude.conf -p m8 -P com7 -c arduino -b 19200 -F -v -v -v -v -U flash:w: C:\avr\USBProgrammer.hex:a

avrdude.exe: Version 6.1-svn-20131205, compiled on Dec 5 2013 at 17:34:22
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\avr\avrdude.conf"

Using Port : com7
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude.exe: Send: 0 [30] [20]
avrdude.exe: Send: 0 [30] [20]
avrdude.exe: Send: 0 [30] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
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
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : Arduino
Description : Arduino
avrdude.exe: Send: A [41] . [80] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [02]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [81] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [01]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [82] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [12]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [98] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
avrdude.exe: Recv: . [10]
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
avrdude.exe: Send: A [41] . [84] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [85] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [86] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [87] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [89] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
avrdude.exe: Recv: . [10]
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude.exe: Send: A [41] . [81] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [01]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [82] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [12]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: B [42] p [70] . [00] . [00] . [01] . [01] . [01] . [01] . [02] . [ff] . [00] . [ff] . [ff] . [00] @ [40] . [02] . [00] . [00] . [00] [20] . [00] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: E [45] . [05] . [04] . [d7] . [c2] . [00] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: P [50] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | avrdude.exe: Send: u [75] [20]
avrdude.exe: Recv: . [14] . [00] . [00] . [00] . [10]
################################################## | 100% 0.03s

avrdude.exe: Device signature = 0x000000 (retrying)

Reading | avrdude.exe: Send: u [75] [20]
avrdude.exe: Recv: . [14] . [00] . [00] . [00] . [10]
################################################## | 100% 0.02s

avrdude.exe: Device signature = 0x000000 (retrying)

Reading | avrdude.exe: Send: u [75] [20]
avrdude.exe: Recv: . [14] . [00] . [00] . [00] . [10]
################################################## | 100% 0.00s

avrdude.exe: Device signature = 0x000000
avrdude.exe: Yikes! Invalid device signature.
avrdude.exe: Expected signature for ATmega8 is 1E 93 07
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: Send: V [56] . [ac] . [80] . [00] . [00] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [81] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [01]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: A [41] . [82] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [12]
..................
..................
..................
..................
avrdude.exe: Recv: . [10]
avrdude.exe: Send: t [74] . [00] @ [40] F [46] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: U [55] . [a0] . [0f] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: t [74] . [00] @ [40] F [46] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude.exe: Recv: . [10]
#avrdude.exe: Send: U [55] . [c0] . [0f] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: t [74] . [00] @ [40] F [46] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: U [55] . [e0] . [0f] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: t [74] . [00] @ [40] F [46] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude.exe: Recv: . [10]
# | 100% 9.94s

avrdude.exe: verifying ...
avrdude.exe: 8192 bytes of flash verified
avrdude.exe: Send: Q [51] [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]

avrdude.exe done. Thank you.
фюзы считываются только каким то образом они там все запрограммированы. Воспользовался фьюз доктором поидее должен был все фьюзы сбросить но после повторного чтения ничего не изменилось потом пробывал прошить atmega8l-8pu все проходило отлично без каких либо проблем. в чем может быть причина ?
Реклама
Это не хвост, это антенна
Аватара пользователя
Сообщения: 1368
Зарегистрирован: Вс мар 28, 2010 12:52:22
Откуда: Беларусь

Сообщение dr.doc »

signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
- Это что, не понятая дудкой сигнатура? Может дело в ней? У меня одна ATtiny2313 с убитой сигнатурой. Доктор (который по UART данные выдает) писал про убитую сигнатуру, хотя светики мигали "как положено". Прошить сей камень получилось из 6-й студии (с матюками) при помощи STK500.
«Еще я хотел бы, чтобы наши ученые изобрели какой-то новый источник энергии, чтобы мы на коленях не ползали даже перед нашими братьями, умоляя их и выпрашивая тонну нефти или кубометр газа», — рассказал белорусский президент.
Реклама
Родился
Аватара пользователя
Сообщения: 2
Зарегистрирован: Вс июн 29, 2014 21:53:38

Сообщение awerty »

да сигнатуру он не определяет, но когда перезагружаю программатор и сразу шью прошивается с неопределенной сигнатурой и в конце еще и появляется сообщение об успешной верификации
после прошивки 6й студией тинька стабильно работала считывалась\ записывалась?
Последний раз редактировалось ibiza11 Ср июл 09, 2014 09:43:39, всего редактировалось 1 раз.
Причина: 2.2 Запрещается создание нескольких сообщений подряд в одной теме. Если вы хотите что-то добавить к своему, уже написанному сообщению, воспользуйтесь кнопкой "Правка".
Ответить

Вернуться в «AVR»