не могу использовать вышеупомянутый программатор в Windows 7
под линуксом он работает отлично, а под виндой не хочет
выдает следующее
помогите советом а то с ног уже сбился
Если AVR Studio отлично его видит, значит беда в дудке. Я с ней не работал, а у нее нет вообще функции вывода списка всех программаторов которые подключены к компьютеру?FreshMan писал(а):оный программатор отлично работает в студии
согласен !!!ARV писал(а):Лучшее - враг хорошего!
как именно ?YS писал(а):использую stk500.exe, входящий в поставку AVR Studio
ок, даюFreshMan писал(а):согласен !!!ARV писал(а):Лучшее - враг хорошего!![]()
дайте совет, пожалуйста, в более развернутом виде
o_Oкак именно ?
Код: Выделить всё
C:\>stk500 -h
STK500 command line programmer, v 2.3 Atmel Corp (C) 2004-2009.
Command Line Switches:
[-d device name] [-m s|p|d] [-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] [-Y] [-Z address] [-c port] [-ut value]
[-Wt value] [-ua value] [-wt] [-wa] [-b h|s] [-! freq] [-t] [-I freq]
[-J] [-h] [-?]
Examples:
STK500.EXE -dATmega128 -e -ifFlash.hex -pf -vf
STK500.EXE -dATmega128 -fF73A -FF73A -EFF -GFF
STK500.EXE -dATmega128 -e -ipmyfile.elf -pa -va
STK500.EXE -dATmega128 -s -cUSB
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. For a list of supported devices use STK500.EXE -?
m Select programming mode; serial (s), parallel/high-voltage (p),
pdi (d) or tpi (t).
Serial mode is the default mode if this parameter is ommitted.
ip Name of ELF input file. Required for programming or verification
of ALL memory types. The file format is AVR-8 bit ELF.
if Name of FLASH or user signature input file. Required for programming or
verification of the FLASH or user signature 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 or user/production signature output file. Required for
readout of the FLASH or user/production signature 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; ALL memory types (a), FLASH (f), EEPROM (e), both (b) or
user signature (u). Corresponding input files are required.
r Read out device; FLASH (f), EEPROM (e), both (b), user signature (u) or
production signature (p). Corresponding output files are required
v Verify device; ALL memory types (a), FLASH (f), EEPROM (e) or both (b).
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.
XE Set xmega fuse bytes 4 and 5. 'value' is a 16-bit hex. value describing the
settings for last 2 xmega fuses.
XV Verify xmega fuse bytes 4 and 5. 'value' is a 16-bit hex value to verify
against.
XU Erase user signature. If applied with user signature programming parameter,
the user signature will be erased before programming takes place.
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.
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' for STK500 or AVRISP, 'USB'
or 'USB:<sernum>' for AVRISP mkII. If this parameter is ommitted the
program will scan the COM ports for STK500/AVRISP only.
ut Set target voltage VTARGET in Volts. 'value' is a floating point
value between 0.0 and 6.0, describing the new voltage.
ua Set adjustable voltage AREF in Volts. 'value' is a floating point
value between 0.0 and 6.0, describing the new voltage.
wt Get current target voltage VTARGET.
wa Get current adjustable voltage AREF.
Wt Verify that VTARGET is within 5% of the given value. 'value' is a
floating point value between 0.0 and 6.0.
b Get revisions; hardware revision (h) and software revision (s).
! Set oscillator frequency; 'freq' can be whole Hz, or kHz or MHz
t Get oscillator frequency.
I Set ISP frequency; 'freq' can be whole Hz, or kHz or MHz
J Get ISP frequency.
g Silent operation.
z Not used. Supported for backwards compability.
h Help information (overrides all other settings)
Supported devices:
To display supported devices type "STK500.EXE -?"Спасибо, добрый человек, в мои времена радиолюбительства всё решалось аппаратно, на старости лет занялся поделками на МК, замучился с дудкой без оболочки, выручил меня твой файликFreshMan писал(а):проблемму с дудкой удалось решить !![]()
вот рабочий вариант для семерки