AT90PWM316

Diskuze a poradna o programátorech a programování různých obvodů

Moderátor: Moderátoři

Zpráva
Autor
Uživatelský avatar
david69
Příspěvky: 420
Registrován: 04 led 2007, 00:00

#31 Příspěvek od david69 »

uz jsem uspesny, da se rict ze chip nahravam

david22:~# avr-gcc -g -Os -mmcu=at90pwm316 -c pwmka.c
david22:~# avr-gcc -g -mmcu=at90pwm316 -o pwmka.elf pwmka.o
david22:~# avrdude -p pwm316 -c stk500v2 -U pwmka.elf

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e9483 (probably pwm216)
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 "pwmka.elf"
avrdude: input file pwmka.elf auto detected as ELF
avrdude: writing flash (588 bytes):

Writing | ################################################## | 100% 1.55s

avrdude: 588 bytes of flash written
avrdude: verifying flash memory against pwmka.elf:
avrdude: load data flash data from input file pwmka.elf:
avrdude: input file pwmka.elf auto detected as ELF
avrdude: input file pwmka.elf contains 588 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.60s

avrdude: verifying ...
avrdude: 588 bytes of flash verified

avrdude: safemode: Fuses OK (E:E9, H:DF, L:4F)

avrdude done. Thank you.

david22:~#

diky vsem, david
Uživatelský avatar
david69
Příspěvky: 420
Registrován: 04 led 2007, 00:00

#32 Příspěvek od david69 »

david22:~# avr-gcc -g -Os -mmcu=at90pwm316 -c pwmka.c
david22:~# avr-gcc -g -mmcu=at90pwm316 -o pwmka.elf pwmka.o
david22:~# avrdude -p pwm316 -c stk500v2 -U pwmka.elf
david22:~#avrdude -p pwm316 -c stk500v2 -U lfuse:w:0xdf:m -U hfuse:w:0xdf:m -U efuse:w:0xf9:m

Funguje pekne! avrdude programuje co se od neho zada!
Diky za help
Odpovědět

Zpět na „Programování PIC, ATMEL, EEPROM a dalších obvodů“