Прошил ATMEGA8. В результате должен быть задействован внутренний кварц на 8 Мгц. На деле создаеться впечатление, что кварц так и не запустился, либо работает не на той частоте. После прошивания МК был вот такой отчет:
avreal/WIN32 - AVR controllers LPT programmer by Redchuk Alexandr
v1.26rev2 (Oct 3 2008 11:32:54) http://www.ln.ua/~real/avreal
bug-reports, suggestions and so on mail to avreal@real.kiev.ua
Command: -% +MEGA8 -ab -p1 -e -b -v -wp -c code.hex -fwdton=1,ckopt=1,eesave=1,bootsz=0,bootrst=1,bodlevel=0,boden=0,sut=1,cksel=B
% Fuse added: wdton=1
% Fuse added: ckopt=1
% Fuse added: eesave=1
% Fuse added: bootsz=0
% Fuse added: bootrst=1
% Fuse added: bodlevel=0
% Fuse added: boden=0
% Fuse added: sut=1
% Fuse added: cksel=B
% LPT port number 1
% LPT base address 0x378
% DLportIO.dll succesfully loaded, DLportIO.sys interface activated
% LPT write cycle 1.42us
% ByteBlaster found
% ByteBlaster mode
% osc = 800kHz -> setup=2, hold=2,1
% Reset
% PgmOn reply FF FF 53 00
% Synchronised after 1 try
% GetID reply 00 30 00 1E
% GetID reply 00 30 00 93
% GetID reply 00 30 00 07
% Read ID: 0x1E9307
Device connected, mega8 detected
% ReadLock command 58 00 00 00
% ReadLock reply 00 58 00 FF
Chip not locked
% ReadOsccal command 38 00 00 00
% ReadOsccal reply 00 38 00 B7
% ReadOsccal command 38 00 01 00
% ReadOsccal reply 00 38 00 B8
% ReadOsccal command 38 00 02 00
% ReadOsccal reply 00 38 00 B1
% ReadOsccal command 38 00 03 00
% ReadOsccal reply 00 38 00 B3
% Erase reply 00 AC 80 00
Device erased
% Reset
% PgmOn reply 00 00 53 00
% Synchronised after 1 try
% GetID reply 00 30 00 1E
% GetID reply 00 30 00 93
% GetID reply 00 30 00 07
% Read ID: 0x1E9307
Device connected, mega8 detected
% ReadLock command 58 00 00 00
% ReadLock reply 00 58 00 FF
% ReadFuses command 50 00 00 00
% ReadFuses reply 00 50 00 E1
% ReadFuses command 58 00 00 00
% ReadFuses reply 00 58 00 FF
% ReadFuses command 58 08 00 00
% ReadFuses reply 00 58 08 D9
Fuses
OSCCALs = B7 B8 B1 B3
BODLEVEL = 1
BODEN = 1
SUT = 2
CKSEL = 1
BLB1 = 3
BLB0 = 3
RSTDISBL = 1
WDTON = 1
CKOPT = 1
EESAVE = 1
BOOTSZ = 0
BOOTRST = 1
Blank check
Code: % IsBlank from 0x0 to 0x1FFF
................ done
blank
Data: % IsBlank from 0x0 to 0x1FF
................ done
blank
Programming CODE memory
.... done
Verifying CODE memory
.... passed
done
Programming fuses
% WriteFuses command AC A0 00 1B
% WriteFuses reply 00 AC A0 00
% WriteFuses command AC A8 00 F9
% WriteFuses reply 1B AC A8 00
% ReadFuses command 50 00 00 00
% ReadFuses reply F9 50 00 1B
% ReadFuses command 58 00 00 00
% ReadFuses reply 00 58 00 FF
% ReadFuses command 58 08 00 00
% ReadFuses reply 00 58 08 D9
New fuses value
OSCCALs = B7 B8 B1 B3
BODLEVEL = 0
BODEN = 0
SUT = 1
CKSEL = B
BLB1 = 3
BLB0 = 3
RSTDISBL = 1
WDTON = 1
CKOPT = 1
EESAVE = 1
BOOTSZ = 0
BOOTRST = 1
Verifying fuses
% ReadFuses command 50 00 00 00
% ReadFuses reply 00 50 00 1B
% ReadFuses command 58 00 00 00
% ReadFuses reply 00 58 00 FF
% ReadFuses command 58 08 00 00
% ReadFuses reply 00 58 08 D9
passed
Reset pin released
Adapter disabled
Текст батника был следующий: "avreal32 -%% +MEGA8 -ab -p1 -e -b -v -wp -c code.hex -fwdton=1,ckopt=1,eesave=1,bootsz=0,bootrst=1,bodlevel=0,boden=0,sut=1,cksel=B >write.output
pause"
Не мог ли кто-нибудь мне помочь найти причину?