Tema: Re: imanoma atgaivinti atmega8? usbasp bedos
Autorius: g..@home
Data: 2010-12-22 23:20:40
On 2010.12.22 23:08, Evaldas wrote:
> "Laimis"<wiela@centras.lt>  wrote in message news:ietl4o$31s$1@trimpas.omnitel.net...
>> Kai šioms atmega'oms
>> užlauži fuse bit'us, tai nureset'inti įmanoma tik parallel
>> programavimo režime.
>
> Nu tikrai ne visais atvejais, tikrai ne visais, tad kol nežinome ką pacientas ten su tais fuse bitais nustatė to tvirtinti tikrai negalima.
>
> Cia autoriui šiek tiek pasiskaitymui http://www.dreifas.net/mcu-taktiniai-generatoriai
sudejau kaip parasyta buvo faile:

# Fuse atmega8 high byte HFUSE:
# 0xc9 = 1 1 0 0   1 0 0 1 <-- BOOTRST (boot reset vector at 0x0000)
#        ^ ^ ^ ^   ^ ^ ^------ BOOTSZ0
#        | | | |   | +-------- BOOTSZ1
#        | | | |   + --------- EESAVE (don't preserve EEPROM over chip 
erase)
#        | | | +-------------- CKOPT (full output swing)
#        | | +---------------- SPIEN (allow serial programming)
#        | +------------------ WDTON (WDT not always on)
#        +-------------------- RSTDISBL (reset pin is enabled)
# Fuse atmega8 low byte LFUSE:
# 0x9f = 1 0 0 1   1 1 1 1
#        ^ ^ \ /   \--+--/
#        | |  |       +------- CKSEL 3..0 (external >8M crystal)
#        | |  +--------------- SUT 1..0 (crystal osc, BOD enabled)
#        | +------------------ BODEN (BrownOut Detector enabled)
#        +-------------------- BODLEVEL (2.7V)
#

kaip suprantu su ponyprogu tai kur TUSTI langeliai ten = 1