Цитата(LeshaL @ Jun 29 2006, 10:10)

Чем прошивать FUSE-биты через JTAG, если я работаю в ИАРе? Устанавливать AVR студию ради прошивок слишком шикарно...
Можно взять файл jtagice.exe из Студии и прошить из командной строки.
Ниже хелп к указанному файлу
Command Line Switches:
[-d device name] [-if infile] [-ie infile] [-of outfile]
[-oe outfile] [-s] [-O address] [-Sf addr] [-Seaddr] [-e] [-p f|e|b]
[-r f|e|b] [-v f|e|b] [-l value] [-L value] [-y] [-f value] [-E value]
[-F value] [-G value] [-q] [-af start,stop] [-ae start,stop] [-R] [-Y]
[-Z address] [-c port] [-B baudrate] [-J baudrate]
[-D devsBefore,devsAfter,bitsBefore,bitsAfter] [-h|?]
Examples:
JTAGICE.EXE -dATmega128 -e -ifFlash.hex -pf -vf
JTAGICE.EXE -dATmega128 -fF73A -FF73A -EFF -GFF
Note that there are no spaces between switches and their parameters
and that hexadecimal values do not have a '0x' prefix.
Parameters:
d Device name. Optional. See list of supported devices below.
if Name of FLASH input file. Required for programming or verification
of the FLASH memory. The file format is Intel Extended HEX.
ie Name of EEPROM input file. Required for programming or verification
of the EEPROM memory. The file format is Intel Extended HEX.
of Name of flash output file. Required for readout of the FLASH memory.
The file format is Intel Extended HEX.
oe Name of EEPROM output file. Required for readout of the EEPROM
memory. The file format is Intel Extended HEX.
s Read signature bytes.
O Read oscillator callibration byte. 'address' is the address of the
calibration byte as decribed in the data sheet of the device.
Sf Write oscillator call. byte to FLASH memory. 'addr' is byte address
Se Write oscillator call. byte to EEPROM memory. 'addr' is byte address
e Erase device. If applied with another programming parameter, the
device will be erased before any other programming takes place.
p Program device; FLASH (f), EEPROM (e) or both (

. Corresponding
input files are required.
r Read out device; FLASH (f), EEPROM (e) or both (

. Corresponding
output files are required
v Verify device; FLASH (f), EEPROM (e) or both (

. Can be used with
-p or stand alone. Corresponding input files are required.
l Set lock byte. 'value' is an 8-bit hex. value.
L Verify lock byte. 'value' is an 8-bit hex. value to verify against.
y Read back lock byte.
f Set fuse bytes. 'value' is a 16-bit hex. value describing the
settings for the upper and lower fuse.
E Set extended fuse byte. 'value' is an 8-bit hex. value describing the
extend fuse settings.
F Verify fuse bytes. 'value' is a 16-bit hex. value to verify against.
G Verify extended fuse byte. 'value' is an 8-bit hex. value describing
the extend fuse settings.
q Read back fuse bytes.
af FLASH address range. Specifies the address range of operations. The
default is the entire FLASH. Addresses are byte oriented.
ae EEPROM address range. Specifies the address range of operations.
The default is the entire EEPROM. Byte addresses.
R Activate external reset on target device while in programming mode.
Y Perform the oscillator calibration sequence. See appnote AVR053 for more
information.
Z Loads a value from an EEPROM location prior to chip erase which then
can be programmed into FLASH or EEPROM using the S option. Address is
a hex value. See appnote AVR053 for more information.
c Select communication port; 'com1' to 'com8'. If this parameter is
ommitted the program will scan the comm. ports for the JTAGICE
B COM port baudrate. 'baudrate' is 19200 or 115200. Default is 19200.
D Daisy chain options. 'devsBefore' and 'devsAfter' is the number of devices
before and after the target device in the daisy chain. 'bitsBefore' and
'bitsAfter' are the number of bits in the instruction scan chain before
and after the target device.
J JTAG port baudrate. Default is 250000.
h|? Help information (overrides all other settings)
Supported devices:
ATMEGA128, ATMEGA64, ATMEGA323, ATMEGA32, ATMEGA162, ATMEGA16, ATMEGA169