AVRdragon.exe
Usage: avrdragon.exe [commands] [options] Commands: -h, -? Print this help. -he Print exit codes. -e[c|e|a|b|u] Chip erase (-e, -ec). Additional XMEGA commands: erase EEPROM (-ee), erase BOOT section (-eb), erase APP section (-ea), erase user signature (-eu). -f <fusebytes> Write high/low fuse bytes. The LSB of fusebytes will be written to the low fuse byte, and the MSB will be written to the high fuse byte. -j <ID> Read JTAG ID string. If an optional ID is specified, the program will terminate if the read ID differs. -l <lockbyte> Set the lock byte to the specified value. -p[a|f|e|b|u] Program ALL memories (-pa), FLASH (-pf), EEPROM (-pe), both FLASH and EEPROM (-pb) or user signature (-pu). Requires input files specified with the -ia (ALL), -if (FLASH), -ie (EEPROM) and/or -iu (user signature) options. -q Read fuse bytes. If the selected device has extended fuse, it will be also be read. -r[f|e|b|u|p] Read FLASH (-rf), EEPROM (-re), both FLASH and EEPROM (-rb), user signature (-ru) or production signature (-rp). Requires output files specified with the -of (FLASH), -oe (EEPROM), -ou (user signature) and/or -op (production signature) options. -s Read signature bytes. -v[a|f|e|b|u] Verify ALL memories (-va), FLASH (-vf), EEPROM (-ve), both FLASH and EEPROM (-vb) or user signature (-vu). Requires input files specified with the -ia (ALL), -if (FLASH), -ie (EEPROM) and/or -iu (user signature) options. -y Read lock byte. -E <ext.fuse> Write extended fuse byte. -F <fusebytes> Verify high/low fuse bytes. The LSB of fusebytes will be compared to the low fuse byte, and the MSB will be compared to the high fuse byte. -L <lockbyte> Verify the lock byte. -G <ext.fuse> Verify the extended fuse byte against the given value. -O <address> Read oscillator calibration byte. Address is location of byte as specified in the device's data sheet. -S[f|e] <address> Write oscillator calibration byte read with -O or -Z to given location in FLASH (-Sf) or EEPROM (-Se). -W Disable debugWIRE interface, enabling ISP mode. Only available for debugWIRE devices. -XE <fusebytes> Write XMEGA fuse bytes 4 and 5. The LSB of fusebytes will be written to byte 4, and the MSB will be written to byte 5. -XV <fusebytes> Verify XMEGA fuse bytes 4 and 5. The LSB of fusebytes will be compared to byte 4, and the MSB will be compared to byte 5. -Y Perform the oscillator calibration sequence. See appnote AVR053 for more information. -Z <address> Load value from address in EEPROM prior to erasing the device. This value can be written to FLASH or EEPROM again with the -S[f|e] command. Options: -ae <start>,<end> Specify address range for reading EEPROM memory. Default is entire memory. -af <start>,<end> Specify address range for reading FLASH memory. Default is entire memory. -c <port> Optional. Specify port to connect to. Can only be USB with AVR Dragon serial number specified. Ex: -c USB:00A00000002C -d <device> [required] Specify the type of device. -ia <file> Specify input file (ELF) for programming ALL memories. -ie <file> Specify input file for programming EEPROM memory. -if <file> Specify input file for programming FLASH memory. -iu <file> Specify input file for programming user signature memory. -m[i|j|p] Programming mode: ISP (-mi), JTAG (-mj) (default), PARALLEL (-mp) or PDI (-mx). -oe <file> Specify output file for reading EEPROM memory. -of <file> Specify output file for reading FLASH memory. -ou <file> Specify output file for reading user signature memory. -op <file> Specify output file for reading production signature memory. -z No progress indicator. Useful when redirecting output to file. -D <devsbefore,devsafter,bitsbefore,bitsafter> Set daisy chain settings. Only available in JTAG mode. -I <speed> Specify ISP frequency (Hz). Only available for ISP mode. -J <speed> Specify device speed (Hz). Only available for JTAG mode. -R Apply external reset while programming. Only available in JTAG mode. -T Do NOT reset the emulator after the session. Example usage: avrdragon.exe -d ATmega128 -e -pf -if c:\tmp\test.hex Supported devices: ATmega128A, ATmega164A, ATmega164PA, ATmega165A, ATmega165PA, ATmega16A, ATmega169A, ATmega169PA, ATmega324A, ATmega324PA, ATmega3250PA, ATmega325A, ATmega325PA, ATmega32A, ATmega3290PA, ATmega329A, ATmega329PA, ATmega644A, ATmega644PA, ATmega6450A, ATmega645A, ATmega64A, ATmega6490A, ATmega649A, AT90USB1286, AT90USB1287, AT90USB646, AT90USB647, ATmega128, ATmega16, ATmega1280, ATmega1281, ATmega1284, ATmega1284P, ATmega128RFA1, ATmega162, ATmega165, ATmega164P, ATmega165P, ATmega169, ATmega169P, ATmega32, ATmega16U4, ATmega2560, ATmega2561, ATmega323, ATmega325, ATmega324P, ATmega3250, ATmega3250P, ATmega325P, ATmega329, ATmega3290, ATmega3290P, ATmega329P, ATmega406, ATmega32U4, ATmega32U6, ATmega64, ATmega640, ATmega644, ATmega645, ATmega644P, ATmega649, ATmega6450, ATmega6490, ATmega649P, AT90SCR100H, AT90CAN128, AT90CAN32, AT90CAN64, ATxmega128A1, ATxmega128A3, ATxmega128A3U, ATxmega192A3, ATxmega192A3U, ATxmega256A3, ATxmega256A3B, ATxmega256A3BU, ATxmega256A3U, ATxmega64A1, ATxmega64A3, ATxmega64A3U, ATxmega128D3, ATxmega16A4, ATxmega16A4U, ATxmega16D4, ATxmega192D3, ATxmega256D3, ATxmega32A4, ATxmega32A4U, ATxmega32D4, ATxmega64D3 Supported devices for ISP, PARALELL/SERIAL HV mode and oscillator cal. only: ATmega168A, ATmega168PA, ATmega16HVA, ATmega48A, ATmega48PA, ATmega88A, ATmega88PA, ATmega8HVA, ATtiny13A, ATtiny2313A, ATtiny24A, ATtiny261A, ATtiny44A, ATtiny461A, ATtiny84A, ATtiny861A, AT90PWM2B, ATtiny167, AT90PWM3, ATA6289, AT90PWM316, AT90PWM3B, AT90PWM81, AT90USB82, AT90USB162, ATmega168, ATmega168P, ATmega16HVA2, ATmega16HVB, ATmega16M1, ATmega16U2, ATmega328, ATmega328P, ATmega32C1, ATmega32HVB, ATmega32M1, ATmega32U2, ATmega48, ATmega48P, ATmega64C1, ATmega64HVE, ATmega64M1, ATmega88, ATmega88P, ATmega8U2, ATtiny13, ATtiny24, ATtiny2313, ATtiny25, ATtiny261, ATtiny43U, ATtiny4313, ATtiny44, ATtiny45, ATtiny461, ATtiny48, ATtiny84, ATtiny85, ATtiny861, ATtiny87, ATtiny88, AT90PWM1, AT90PWM2, AT90PWM216
-
- Спасибо. Это нужно студию ставить? - vllv(16.03.2017 11:18)
- Попробуй без студии (приложено) MBedder(16.03.2017 11:43 - 18:27)
- Спасибо. Это нужно студию ставить? - vllv(16.03.2017 11:18)