Ср янв 20, 2021 13:51:06
a168_16MHz.bootloader.tool=avrdude
a168_16MHz.name=atmega168 (16 MHz)
a168_16MHz.upload.protocol=arduino
a168_16MHz.upload.maximum_size=15872
a168_16MHz.upload.speed=57600
a168_16MHz.bootloader.low_fuses=0xff
a168_16MHz.bootloader.high_fuses=0xde
a168_16MHz.bootloader.extended_fuses=0x4
a168_16MHz.bootloader.unlock_bits=0x3F
a168_16MHz.bootloader.lock_bits=0x0F
a168_16MHz.bootloader.path=optiboot
a168_16MHz.bootloader.file=a168_16MHz_ff_de_4.hex
a168_16MHz.build.mcu=atmega168P
a168_16MHz.build.f_cpu=16000000L
a168_16MHz.build.core=arduino
a168_16MHz.build.variant=standard
Ср янв 20, 2021 14:59:36
Чт янв 21, 2021 12:58:53
Чт янв 21, 2021 13:57:59
Чт янв 21, 2021 15:55:04
Чт янв 21, 2021 16:11:35
Чт янв 21, 2021 16:19:03
Чт янв 21, 2021 16:46:05
собственно проблема то и в этом что ИДЕ ожидает сигнатуру avrdude: Expected signature for ATmega168P is 1E 94 0B
но она от 168 щас прописана потомучто сайт конструктор делает только для 168
Чт янв 21, 2021 23:19:05
Пт янв 22, 2021 06:51:39
Пт янв 22, 2021 08:19:22
Пт янв 22, 2021 08:43:01
Arduino: 1.8.13 (Windows 10), Плата:"atmega168 (16 MHz)"
D:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/bin/avrdude -CD:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf -v -patmega168P -cstk500v1 -PCOM3 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x4:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "D:\��������\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega168P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
---------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Ошибка при записи загрузчика.
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0xff00ff
avrdude: Expected signature for ATmega168P is 1E 94 0B
Double check chip, or use -F to override this check.
avrdude done. Thank you.
Пт янв 22, 2021 09:11:53
он точно рабочий но что бы его загрузить нужен был УСБАСП через аврдуде
и его бы я в приоритете хотел бы загрузить
но у меня только есть нано прошитая как програматор для заливки
Пт янв 22, 2021 09:18:50
Arduino: 1.8.13 (Windows 10), Плата:"atmega168 (16 MHz)"
D:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/bin/avrdude -CD:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf -v -patmega168P -cstk500v1 -PCOM3 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x4:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "D:\��������\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega168P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
---------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Ошибка при записи загрузчика.
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9406 (probably m168)
avrdude: Expected signature for ATmega168P is 1E 94 0B
Double check chip, or use -F to override this check.
avrdude done. Thank you.
Пт янв 22, 2021 09:41:20
Пт янв 22, 2021 10:59:11
Arduino: 1.8.13 (Windows 10), Плата:"atmega168 (16 MHz)"
D:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/bin/avrdude -CD:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf -v -patmega168 -cstk500v1 -PCOM3 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x4:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "D:\��������\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega168
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
---------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9406 (probably m168)
avrdude: erasing chip
avrdude: reading input file "0x3F"
avrdude: writing lock (1 bytes):
Ошибка при записи загрузчика.
Writing | ***failed;
################################################## | 100% 0.05s
avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0x3F:
avrdude: load data lock data from input file 0x3F:
avrdude: input file 0x3F contains 1 bytes
avrdude: reading on-chip lock data:
Reading | ################################################## | 100% 0.01s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x00 != 0x3f
avrdude: verification error; content mismatch
avrdude done. Thank you.
Пт янв 22, 2021 11:12:54
Пт янв 22, 2021 11:20:27
Arduino: 1.8.13 (Windows 10), Плата:"atmega168 (16 MHz)"
D:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/bin/avrdude -CD:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf -v -patmega168 -cstk500v1 -PCOM3 -b19200 -e -Ulock:w:{bootloader.unlock_bits}:m -Uefuse:w:0x4:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "D:\��������\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega168
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
---------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Ошибка при записи загрузчика.
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e940b (probably m168p)
avrdude: Expected signature for ATmega168 is 1E 94 06
Double check chip, or use -F to override this check.
avrdude done. Thank you.
Пт янв 22, 2021 11:26:30
cd D:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/bin
avrdude -CD:\загрузки\PortableFLProg_7-3-1_Win64\ideV6\hardware\tools\avr/etc/avrdude.conf -v -patmega168 -cstk500v1 -PCOM3 -b19200 -e -Uefuse:w:0x4:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m -Uflash:w:a168_16MHz_ff_de_4.hex:a
давайте попробуем с гитхаба приклееть optiboot_flash_atmega168p_UART0_19200_16000000L