After reading various posts from people saying "but what are my fuses set at?" ... I thought it would be handy to be able to find out, preferably without having to hook the board up to a programmer.
The sketch I developed is similar to the one which detects what sort of chip you have by entering ICSP programming mode and querying the chip. The wiring is identical, and is described here:
http://www.gammon.com.au/forum/?id=11633
Basically you connect up the board with the sketch, to the target board, with 6 wires, along these lines:

Then the sketch finds the fuse settings and attempts to render them in a readable way:
Or for the ATmega16U2 on the Uno Rev 3:
And the Mega board:
Source on GitHub
The latest version will be available on GitHub:
https://github.com/nickgammon/arduino_sketches
You can see from that what recent changes were.
Use at your own risk. It is incredibly tedious keying in the fuse meanings, so if you find any errors please let me know.
Related sketches:
Web-based fuse calculator
A different way of evaluating fuses is presented at this web page:
The sketch I developed is similar to the one which detects what sort of chip you have by entering ICSP programming mode and querying the chip. The wiring is identical, and is described here:
http://www.gammon.com.au/forum/?id=11633
Basically you connect up the board with the sketch, to the target board, with 6 wires, along these lines:

Then the sketch finds the fuse settings and attempts to render them in a readable way:
Atmega fuse calculator.
Entered programming mode OK.
Signature = 0x1E 0x95 0x0F
Processor = ATmega328P
Flash memory size = 32768
LFuse = 0xFF
HFuse = 0xDE
EFuse = 0xFD
Lock byte = 0xCF
External Reset Disable.................. [ ]
Debug Wire Enable....................... [ ]
Enable Serial (ICSP) Programming........ [X]
Watchdog Timer Always On................ [ ]
Preserve EEPROM through chip erase...... [ ]
Boot into bootloader.................... [X]
Divide clock by 8....................... [ ]
Clock output............................ [ ]
Bootloader size: 512 bytes.
Start-up time: SUT0: [X] SUT1: [X] (see datasheet)
Clock source: low-power crystal.
Brownout detection at: 2.7V.
Or for the ATmega16U2 on the Uno Rev 3:
Atmega fuse calculator.
Entered programming mode OK.
Signature = 0x1E 0x94 0x89
Processor = ATmega16U2
Flash memory size = 16384
LFuse = 0xEF
HFuse = 0xD9
EFuse = 0xF4
Lock byte = 0xCF
Hardare Boot Enable..................... [X]
Debug Wire Enable....................... [ ]
External Reset Disable.................. [ ]
Enable Serial (ICSP) Programming........ [X]
Watchdog Timer Always On................ [ ]
Preserve EEPROM through chip erase...... [ ]
Boot into bootloader.................... [ ]
Divide clock by 8....................... [ ]
Clock output............................ [ ]
Bootloader size: 4096 bytes.
Start-up time: SUT0: [X] SUT1: [X] (see datasheet)
Clock source: low-power crystal.
Brownout detection at: 3.0V.
And the Mega board:
Atmega fuse calculator.
Entered programming mode OK.
Signature = 0x1E 0x98 0x01
Processor = ATmega2560
Flash memory size = 262144
LFuse = 0xFF
HFuse = 0xD8
EFuse = 0xFD
Lock byte = 0xCF
OCD Enable.............................. [ ]
JTAG Enable............................. [ ]
Enable Serial (ICSP) Programming........ [X]
Watchdog Timer Always On................ [ ]
Preserve EEPROM through chip erase...... [ ]
Boot into bootloader.................... [X]
Divide clock by 8....................... [ ]
Clock output............................ [ ]
Bootloader size: 8192 bytes.
Start-up time: SUT0: [X] SUT1: [X] (see datasheet)
Clock source: low-power crystal.
Brownout detection at: 2.7V.
Source on GitHub
The latest version will be available on GitHub:
https://github.com/nickgammon/arduino_sketches
You can see from that what recent changes were.
Use at your own risk. It is incredibly tedious keying in the fuse meanings, so if you find any errors please let me know.
Related sketches:
- Chip detector: http://www.gammon.com.au/forum/?id=11633
- Bootloader uploader: http://www.gammon.com.au/forum/?id=11635
- Hex file uploader: http://www.gammon.com.au/forum/?id=11638
Web-based fuse calculator
A different way of evaluating fuses is presented at this web page:
http://www.engbedded.com/fusecalc