ATtiny: Hinzufügen von Fuses durch anpassen der boards.txt??


moin,

ich nutze arduinoisp um tinys direkt über das arudino zu programmieren. nun möchte ich gerne einen tiny84 mit einem externen 8mhz quarz betreiben, finde aber nur einen core in denen dieser auf 16mhz gestellt werden kann. jetzt dachte ich mir, dass man doch einfach die boards.txt anpassen kann, in der schließlich alle einstellungen definiert sind. hier mal der auszug für den 'attiny84 @ 16 mhz  (external crystal; 4.3 v bod)'

code: [select]
attiny84at16.name=attiny84 @ 16 mhz  (external crystal; 4.3 v bod)

# following not work...
# attiny84at16.upload.using=avrispv2
# attiny84at16.upload.using=pololu usb avr programmer

# following work (pick one)...
attiny84at16.upload.using=arduino:arduinoisp
# attiny84at16.upload.protocol=avrispv2
# attiny84at16.upload.using=pololu

attiny84at16.upload.maximum_size=8192

# frequency 8.0- mhz; start-up time pwrdwn/reset: 16k ck/14 ck + 65 ms; [cksel=1111 sut=11]
# brown-out detection level @ vcc=4.3 v; [bodlevel=100]
# preserve eeprom memory through chip erase cycle; [eesave=0]
# serial program downloading (spi) enabled; [spien=0]

attiny84at16.bootloader.low_fuses=0xff
attiny84at16.bootloader.high_fuses=0xd4
attiny84at16.bootloader.extended_fuses=0xff
attiny84at16.bootloader.path=empty
attiny84at16.bootloader.file=empty84at16.hex

attiny84at16.build.mcu=attiny84
attiny84at16.build.f_cpu=16000000l
attiny84at16.build.core=tiny


hat da jemand ahnung von oder hat soetwas schon mal gemacht? ich habe hier einen fuse-calculator gefunden, habe aber keine ahnung genau ich da auswählen muss...

viele grüße
dennis



Arduino Forum > International > Deutsch (Moderator: uwefed) > ATtiny: Hinzufügen von Fuses durch anpassen der boards.txt??


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62