I am getting this error on my 1.8.8 IDE while trying to burn an ATTiny85 BootLoader for 16MHz (Internal) operation:
avrdude: invalid byte value ({bootloader.high_fuses}) specified for immediate mode
I got to this point after adding the 16MHz enablers as proposed in this link: ATtiny @ 16MHz - Hackster.io, which in summary adds the following into my boards.txt file.
attiny.menu.clock.internal16=16 MHz (internal)
attiny.menu.clock.internal16.bootloader.low_fuses=0xf1
attiny.menu.clock.internal16.bootloader.high_fuses=0xdf
attiny.menu.clock.internal16.bootloader.extended_fuses=0xff
attiny.menu.clock.internal16.build.f_cpu=16000000L
From my understanding of the ATTiny specification what this should be doing is clearing the CKDIV8 fuse and as I understand the inverse logic involved the low_fuses=0xf1 statement should do this. On the other hand the high_fuses=0xdf statement, which is where the error is reported is also correct and is identical in all the other clock-speed option settings in the boards.txt file. Selecting another speed option for the bootloader (say 8MHz) does not produce an error.
So where am I going wrong? Stupidly I must be missing something simple because the hackster reference above gave me the impression that adding a 16MHz (Internal) capability is pretty straightforward. Nothing has jumped out at me from a google search so any help is gratefully received.
I have attached the full error message content and my boards.txt file.
AVRDude_Error.txt (5.94 KB)
boards.txt (2.51 KB)