Tried with fuses:
lfuse:w:0xff:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
But according to the datasheet it should be:
lfuse:w:0xf0
After programming this value I got:
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
What is wrong ? (HW is ok because I can read or program other T45)
potzli:
Sorry the the autocorrector put dataset instead of datasheet!!!!
Would you mind specifying what part of the datasheet made you think 0xf0 is correct? Perhaps break your logic bit by bit.
potzli:
Yes of course because with lfuse = 0xFF it works.
Oh, I see what you're saying now. You mean that it doesn't work with the lfuse:w:0xf0. I thought you were saying that it didn't work with lfuse:w:0xff.
potzli:
But after check with the fuse calc with 0xF0 it say: "undefined preset 7". I used this one
Seems not impossible (with ceramic crystal) ... Probably I missed something !
Yes it works with 0xFF
The most curious think is why after programming 0xF0 I got:
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
I see the problem now. 1 means unprogrammed and 0 means programmed. So in the fuse calculator you need to uncheck the checkboxes for the bits that are set to 1 and check the checkboxes for the bits that are set to 0. You did just the opposite and that's how you got the 0xF0 value.