I just nitice a problem for letting my bootloader lock the fuse bit to BLB1 mode2.
on the Bootloader Support Utilities of avr-libc,
For example, to disallow the SPM instruction from writing to the Boot Loader memory section of flash, you would use this macro as such:
boot_lock_bits_set (_BV (BLB12));
then I tried this in my bootloader, after I download the code, I checked the lockbits setting in AVRStudio (my version is 4.12 SP2), but it shows it's in BLB1 mode 4, so then I tried:
then in AVRStudio, it shows BLB1 mode 2.
is this a small error or somthing is wrong in my code?