Re: AVR fuses

DavPra DavPra@seznam.cz
Čtvrtek Květen 29 15:27:24 CEST 2008


Mam tam LS. No musim rici ze je to asi takova ducharina. Zkusil sem odpojit napajeni notasu a ejhle:

avrdude -p t2313 -c stk200 -U flash:w:pokus.hex -U lfuse:w:0x64:m -U hfuse:w:0xDF:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "pokus.hex"
avrdude: input file pokus.hex auto detected as Intel Hex
avrdude: writing flash (176 bytes):

Writing | ################################################## | 100% 0.10s

avrdude: 176 bytes of flash written
avrdude: verifying flash memory against pokus.hex:
avrdude: load data flash data from input file pokus.hex:
avrdude: input file pokus.hex auto detected as Intel Hex
avrdude: input file pokus.hex contains 176 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.07s

avrdude: verifying ...
avrdude: 176 bytes of flash verified
avrdude: reading input file "0x64"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0x64:
avrdude: load data lfuse data from input file 0x64:
avrdude: input file 0x64 contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xDF"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xDF:
avrdude: load data hfuse data from input file 0xDF:
avrdude: input file 0xDF contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

Vypada, ze uz to chodi.. Sice asi bude jeste chyba v programu, protoze LEDka neblika, ale to snad uz nejak dokoumam.
Jinak osciloskop po ruce nemam :( Podle me co pouzivam je ISP, nebo se mylim?

> ------------ Původní zpráva ------------
> Od: Jan Waclawek <konfera@efton.sk>
> Předmět: Re: AVR fuses
> Datum: 29.5.2008 15:22:40
> ----------------------------------------
> Problem programatora typu "hrdzavy klinec" moze spocivat v asi tucte pricin,
> napr. presluchy na kabloch, odrazy na kabloch, nespravna kombinacia napajani,
> nespravna kombinacia urovni na LPT a typu toho oddelovaca (naozaj, co tam mate
> 'LS alebo 'HC?)
> 
> Mate poruke osciloskop?
> 
> Nemozete si niekde zohnat nejaky poriadny programator? Odporucam si co najskor
> zbastlit nieco ako biprog alebo niektory klon avrisp.
> 
> wek
> 
> 
> ----- Original Message ---------------
> >
> >Myslite, ze je to tim ze to zkousim na notasu a mohl by mit "slaby" LPT...?
> 
> _______________________________________________
> HW-list mailing list  -  sponsored by www.HW.cz
> Hw-list@list.hw.cz
> http://list.hw.cz/mailman/listinfo/hw-list
> 
> 
> 



Další informace o konferenci Hw-list